diff options
Diffstat (limited to 'src/core/Entry.h')
-rw-r--r-- | src/core/Entry.h | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/src/core/Entry.h b/src/core/Entry.h index cbaf3e2c0..27df86596 100644 --- a/src/core/Entry.h +++ b/src/core/Entry.h @@ -124,11 +124,6 @@ public: CustomData* customData(); const CustomData* customData() const; - static const int DefaultIconNumber; - static const int ResolveMaximumDepth; - static const QString AutoTypeSequenceUsername; - static const QString AutoTypeSequencePassword; - void setUuid(const QUuid& uuid); void setIcon(int iconNumber); void setIcon(const QUuid& uuid); @@ -209,13 +204,19 @@ public: DbDir }; + static const int DefaultIconNumber; + static const int ResolveMaximumDepth; + static const QString AutoTypeSequenceUsername; + static const QString AutoTypeSequencePassword; + static CloneFlags DefaultCloneFlags; + /** * Creates a duplicate of this entry except that the returned entry isn't * part of any group. * Note that you need to copy the custom icons manually when inserting the * new entry into another database. */ - Entry* clone(CloneFlags flags) const; + Entry* clone(CloneFlags flags = DefaultCloneFlags) const; void copyDataFrom(const Entry* other); QString maskPasswordPlaceholders(const QString& str) const; Entry* resolveReference(const QString& str) const; |