diff options
Diffstat (limited to 'src/dolphinpart.h')
| -rw-r--r-- | src/dolphinpart.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/dolphinpart.h b/src/dolphinpart.h index 48aff5602..845d84365 100644 --- a/src/dolphinpart.h +++ b/src/dolphinpart.h @@ -54,7 +54,7 @@ class DolphinPart : public KParts::ReadOnlyPart public: explicit DolphinPart(QWidget* parentWidget, QObject* parent, const QVariantList& args); - ~DolphinPart(); + ~DolphinPart() override; static KAboutData* createAboutData(); @@ -62,7 +62,7 @@ public: * Standard KParts::ReadOnlyPart openUrl method. * Called by Konqueror to view a directory in DolphinPart. */ - virtual bool openUrl(const QUrl& url) Q_DECL_OVERRIDE; + bool openUrl(const QUrl& url) override; /// see the supportsUndo property bool supportsUndo() const { return true; } @@ -98,7 +98,7 @@ protected: /** * We reimplement openUrl so no need to implement openFile. */ - virtual bool openFile() override { return true; } + bool openFile() override { return true; } Q_SIGNALS: /** @@ -223,7 +223,7 @@ private Q_SLOTS: void setFilesToSelect(const QList<QUrl> &files); QList<QUrl> filesToSelect() const { return QList<QUrl>(); } // silence moc - virtual bool eventFilter(QObject*, QEvent*) Q_DECL_OVERRIDE; + bool eventFilter(QObject*, QEvent*) override; private: void createActions(); |
