Allow passing entry cloning flags to Group::clone().

This commit is contained in:
Felix Geyer
2013-11-22 13:34:34 +01:00
parent f2dfef8c41
commit a992c76d6a
2 changed files with 3 additions and 3 deletions

View File

@@ -107,7 +107,7 @@ public:
* Note that you need to copy the custom icons manually when inserting the
* new group into another database.
*/
Group* clone() const;
Group* clone(Entry::CloneFlags entryFlags = Entry::CloneNewUuid | Entry::CloneResetTimeInfo) const;
void copyDataFrom(const Group* other);
QList<Entry*> search(const QString& searchTerm, Qt::CaseSensitivity caseSensitivity,