Add modified signal for database.

This commit is contained in:
Florian Geyer 2012-04-11 13:52:12 +02:00 committed by Felix Geyer
parent 2f58b854ed
commit 1d23ed46e5
2 changed files with 2 additions and 0 deletions

View File

@ -162,6 +162,7 @@ void Database::setKey(const CompositeKey& key, const QByteArray& transformSeed)
{
m_transformSeed = transformSeed;
m_transformedMasterKey = key.transform(transformSeed, transformRounds());
Q_EMIT modified();
}
void Database::setKey(const CompositeKey& key)

View File

@ -88,6 +88,7 @@ Q_SIGNALS:
void groupAdded();
void groupAboutToRemove(Group* group);
void groupRemoved();
void modified();
private:
Entry* recFindEntry(const Uuid& uuid, Group* group);