mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-11-26 01:26:42 -05:00
Replace Q_EMIT, Q_SIGNALS and Q_SLOTS macros with MOC keywords
This commit is contained in:
parent
4c0e2af6e3
commit
8d487d31a4
109 changed files with 274 additions and 274 deletions
|
|
@ -212,7 +212,7 @@ void EditEntryWidget::emitHistoryEntryActivated(const QModelIndex& index)
|
|||
Q_ASSERT(!m_history);
|
||||
|
||||
Entry* entry = m_historyModel->entryFromIndex(index);
|
||||
Q_EMIT historyEntryActivated(entry);
|
||||
emit historyEntryActivated(entry);
|
||||
}
|
||||
|
||||
void EditEntryWidget::histEntryActivated(const QModelIndex& index)
|
||||
|
|
@ -407,7 +407,7 @@ void EditEntryWidget::saveEntry()
|
|||
if (m_history) {
|
||||
clear();
|
||||
hideMessage();
|
||||
Q_EMIT editFinished(false);
|
||||
emit editFinished(false);
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
@ -442,7 +442,7 @@ void EditEntryWidget::saveEntry()
|
|||
|
||||
clear();
|
||||
|
||||
Q_EMIT editFinished(true);
|
||||
emit editFinished(true);
|
||||
}
|
||||
|
||||
void EditEntryWidget::updateEntryData(Entry* entry) const
|
||||
|
|
@ -487,7 +487,7 @@ void EditEntryWidget::cancel()
|
|||
if (m_history) {
|
||||
clear();
|
||||
hideMessage();
|
||||
Q_EMIT editFinished(false);
|
||||
emit editFinished(false);
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
@ -498,7 +498,7 @@ void EditEntryWidget::cancel()
|
|||
|
||||
clear();
|
||||
|
||||
Q_EMIT editFinished(false);
|
||||
emit editFinished(false);
|
||||
}
|
||||
|
||||
void EditEntryWidget::clear()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue