Replace EntryAttachments and EntryAttributes operator=() with copyDataFrom().

QObjects are not supposed to have assignment operators.
This commit is contained in:
Felix Geyer
2012-07-20 12:13:26 +02:00
parent c7107de2a7
commit a50d2709e7
6 changed files with 24 additions and 28 deletions

View File

@@ -35,9 +35,9 @@ public:
void set(const QString& key, const QByteArray& value);
void remove(const QString& key);
void clear();
void copyDataFrom(const EntryAttachments* other);
bool operator==(const EntryAttachments& other) const;
bool operator!=(const EntryAttachments& other) const;
EntryAttachments& operator=(const EntryAttachments& other);
Q_SIGNALS:
void modified();