diff --git a/src/core/Database.h b/src/core/Database.h index d84ffa38a..780623bb5 100644 --- a/src/core/Database.h +++ b/src/core/Database.h @@ -34,6 +34,8 @@ struct DeletedObject QDateTime deletionTime; }; +Q_DECLARE_TYPEINFO(DeletedObject, Q_MOVABLE_TYPE); + class Database : public QObject { Q_OBJECT diff --git a/src/core/Entry.h b/src/core/Entry.h index cad1b262c..57769389c 100644 --- a/src/core/Entry.h +++ b/src/core/Entry.h @@ -41,6 +41,8 @@ struct AutoTypeAssociation QString sequence; }; +Q_DECLARE_TYPEINFO(AutoTypeAssociation, Q_MOVABLE_TYPE); + class Entry : public QObject { Q_OBJECT diff --git a/src/core/Uuid.h b/src/core/Uuid.h index 082594d79..3af28119c 100644 --- a/src/core/Uuid.h +++ b/src/core/Uuid.h @@ -39,6 +39,8 @@ private: QByteArray m_data; }; +Q_DECLARE_TYPEINFO(Uuid, Q_MOVABLE_TYPE); + uint qHash(const Uuid& key); #endif // KEEPASSX_UUID_H diff --git a/src/gui/DatabaseTabWidget.h b/src/gui/DatabaseTabWidget.h index a0bbbbf41..6ebc2d45b 100644 --- a/src/gui/DatabaseTabWidget.h +++ b/src/gui/DatabaseTabWidget.h @@ -40,6 +40,8 @@ struct DatabaseManagerStruct bool readOnly; }; +Q_DECLARE_TYPEINFO(DatabaseManagerStruct, Q_MOVABLE_TYPE); + class DatabaseTabWidget : public QTabWidget { Q_OBJECT