mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-05-07 00:56:45 -04: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
|
@ -147,7 +147,7 @@ void EntryAttributesModel::attributeChange(const QString& key)
|
|||
{
|
||||
int row = m_attributes.indexOf(key);
|
||||
Q_ASSERT(row != -1);
|
||||
Q_EMIT dataChanged(index(row, 0), index(row, columnCount()-1));
|
||||
emit dataChanged(index(row, 0), index(row, columnCount()-1));
|
||||
}
|
||||
|
||||
void EntryAttributesModel::attributeAboutToAdd(const QString& key)
|
||||
|
@ -213,7 +213,7 @@ void EntryAttributesModel::attributeRename(const QString& oldKey, const QString&
|
|||
m_nextRenameDataChange = false;
|
||||
|
||||
QModelIndex keyIndex = index(m_attributes.indexOf(newKey), 0);
|
||||
Q_EMIT dataChanged(keyIndex, keyIndex);
|
||||
emit dataChanged(keyIndex, keyIndex);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue