Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit 22dab63f authored by Laurent Montel's avatar Laurent Montel 😁

Use override, remove not necessary virtual keyword

parent 3c04c430
......@@ -34,9 +34,9 @@ public:
QString applicationName() const;
virtual void mouseDoubleClickEvent(QMouseEvent * event) override;
virtual void mousePressEvent(QMouseEvent * event) override;
virtual void mouseReleaseEvent(QMouseEvent * event) override;
void mouseDoubleClickEvent(QMouseEvent * event) override;
void mousePressEvent(QMouseEvent * event) override;
void mouseReleaseEvent(QMouseEvent * event) override;
Q_SIGNALS:
void doubleClicked(const QString &applicationName);
......
......@@ -29,10 +29,10 @@ class Request : public QDBusVirtualObject
Q_OBJECT
public:
explicit Request(QObject *parent = nullptr, const QString &portalName = QString(), const QVariant &data = QVariant());
~Request() Q_DECL_OVERRIDE;
~Request() override;
bool handleMessage(const QDBusMessage &message, const QDBusConnection &connection) Q_DECL_OVERRIDE;
QString introspect(const QString &path) const Q_DECL_OVERRIDE;
bool handleMessage(const QDBusMessage &message, const QDBusConnection &connection) override;
QString introspect(const QString &path) const override;
Q_SIGNALS:
void closeRequested();
......
......@@ -31,8 +31,8 @@ public:
explicit Session(QObject *parent = nullptr, const QString &appId = QString(), const QString &path = QString());
~Session();
bool handleMessage(const QDBusMessage &message, const QDBusConnection &connection) Q_DECL_OVERRIDE;
QString introspect(const QString &path) const Q_DECL_OVERRIDE;
bool handleMessage(const QDBusMessage &message, const QDBusConnection &connection) override;
QString introspect(const QString &path) const override;
bool close();
......
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