Commit b40bc3bd authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Use Q_DECL_OVERRIDE

parent abece6e3
......@@ -134,13 +134,13 @@ public:
void setKeepFormat(bool keep);
// Reimplemented from Attribute
virtual QByteArray type() const;
virtual QByteArray type() const Q_DECL_OVERRIDE;
// Reimplemented from Attribute
virtual CollectionAttribute *clone() const;
virtual CollectionAttribute *clone() const Q_DECL_OVERRIDE;
// Reimplemented from Attribute
virtual QByteArray serialized() const;
virtual QByteArray serialized() const Q_DECL_OVERRIDE;
// Reimplemented from Attribute
virtual void deserialize(const QByteArray &data);
virtual void deserialize(const QByteArray &data) Q_DECL_OVERRIDE;
/** Return the attribute name. */
static QByteArray name();
......
......@@ -75,13 +75,13 @@ public:
void setVersion(int v);
// Reimplemented from Attribute
virtual QByteArray type() const;
virtual QByteArray type() const Q_DECL_OVERRIDE;
// Reimplemented from Attribute
virtual CompatibilityAttribute *clone() const;
virtual CompatibilityAttribute *clone() const Q_DECL_OVERRIDE;
// Reimplemented from Attribute
virtual QByteArray serialized() const;
virtual QByteArray serialized() const Q_DECL_OVERRIDE;
// Reimplemented from Attribute
virtual void deserialize(const QByteArray &data);
virtual void deserialize(const QByteArray &data) Q_DECL_OVERRIDE;
/** Return the attribute name. */
static QByteArray name();
......
......@@ -64,13 +64,13 @@ public:
void setCommandError(KAEvent::CmdErrType err);
// Reimplemented from Attribute
virtual QByteArray type() const;
virtual QByteArray type() const Q_DECL_OVERRIDE;
// Reimplemented from Attribute
virtual EventAttribute *clone() const;
virtual EventAttribute *clone() const Q_DECL_OVERRIDE;
// Reimplemented from Attribute
virtual QByteArray serialized() const;
virtual QByteArray serialized() const Q_DECL_OVERRIDE;
// Reimplemented from Attribute
virtual void deserialize(const QByteArray &data);
virtual void deserialize(const QByteArray &data) Q_DECL_OVERRIDE;
private:
//@cond PRIVATE
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment