┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphinpart.h
diff options
context:
space:
mode:
authorKevin Funk <[email protected]>2017-11-20 23:25:06 +0100
committerKevin Funk <[email protected]>2017-11-20 23:25:48 +0100
commit464b13f3828e5cdd03438d0881c3a62c7cda6333 (patch)
tree724c10c4e06ac3030666f2604066b6cbcc83ffd0 /src/dolphinpart.h
parent5bee1889e1682f1e7ffe55e49beaf4544eaf7157 (diff)
Modernize: Use override where possible
Also use override instead of Q_DECL_OVERRIDE
Diffstat (limited to 'src/dolphinpart.h')
-rw-r--r--src/dolphinpart.h8
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();