GIT_SILENT: add missing override keyword

This commit is contained in:
Laurent Montel 2021-10-25 13:34:22 +02:00
parent b497dc9cbd
commit 3f76d92402
5 changed files with 7 additions and 7 deletions

View file

@ -36,7 +36,7 @@ public:
*/ */
DolphinUrlNavigator(const QUrl &url, QWidget *parent = nullptr); DolphinUrlNavigator(const QUrl &url, QWidget *parent = nullptr);
virtual ~DolphinUrlNavigator(); ~DolphinUrlNavigator() override;
// TODO: Fix KUrlNavigator::sizeHint() instead. // TODO: Fix KUrlNavigator::sizeHint() instead.
QSize sizeHint() const override; QSize sizeHint() const override;

View file

@ -31,7 +31,7 @@ public:
explicit KStandardItem(KStandardItem* parent = nullptr); explicit KStandardItem(KStandardItem* parent = nullptr);
explicit KStandardItem(const QString& text, KStandardItem* parent = nullptr); explicit KStandardItem(const QString& text, KStandardItem* parent = nullptr);
KStandardItem(const QString& icon, const QString& text, KStandardItem* parent = nullptr); KStandardItem(const QString& icon, const QString& text, KStandardItem* parent = nullptr);
virtual ~KStandardItem(); ~KStandardItem() override;
/** /**
* Sets the text for the "text"-role. * Sets the text for the "text"-role.

View file

@ -21,7 +21,7 @@ class DOLPHIN_EXPORT KTwoFingerSwipe : public QGesture
Q_PROPERTY(qreal swipeAngle READ swipeAngle WRITE setSwipeAngle) Q_PROPERTY(qreal swipeAngle READ swipeAngle WRITE setSwipeAngle)
public: public:
explicit KTwoFingerSwipe(QObject* parent = nullptr); explicit KTwoFingerSwipe(QObject* parent = nullptr);
~KTwoFingerSwipe(); ~KTwoFingerSwipe() override;
QPointF pos() const; QPointF pos() const;
void setPos(QPointF pos); void setPos(QPointF pos);
QPointF screenPos() const; QPointF screenPos() const;
@ -41,7 +41,7 @@ class DOLPHIN_EXPORT KTwoFingerSwipeRecognizer : public QGestureRecognizer
{ {
public: public:
explicit KTwoFingerSwipeRecognizer(); explicit KTwoFingerSwipeRecognizer();
~KTwoFingerSwipeRecognizer(); ~KTwoFingerSwipeRecognizer() override;
QGesture* create(QObject*) override; QGesture* create(QObject*) override;
Result recognize(QGesture*, QObject*, QEvent*) override; Result recognize(QGesture*, QObject*, QEvent*) override;
private: private:

View file

@ -20,7 +20,7 @@ class DOLPHIN_EXPORT KTwoFingerTap : public QGesture
Q_PROPERTY(QPointF scenePos READ scenePos WRITE setScenePos) Q_PROPERTY(QPointF scenePos READ scenePos WRITE setScenePos)
public: public:
explicit KTwoFingerTap(QObject* parent = nullptr); explicit KTwoFingerTap(QObject* parent = nullptr);
~KTwoFingerTap(); ~KTwoFingerTap() override;
QPointF pos() const; QPointF pos() const;
void setPos(QPointF pos); void setPos(QPointF pos);
QPointF screenPos() const; QPointF screenPos() const;
@ -37,7 +37,7 @@ class DOLPHIN_EXPORT KTwoFingerTapRecognizer : public QGestureRecognizer
{ {
public: public:
explicit KTwoFingerTapRecognizer(); explicit KTwoFingerTapRecognizer();
~KTwoFingerTapRecognizer(); ~KTwoFingerTapRecognizer() override;
QGesture* create(QObject*) override; QGesture* create(QObject*) override;
Result recognize(QGesture*, QObject*, QEvent*) override; Result recognize(QGesture*, QObject*, QEvent*) override;
private: private:

View file

@ -35,7 +35,7 @@ private:
KDirLister *m_trashDirLister; KDirLister *m_trashDirLister;
Trash(); Trash();
~Trash(); ~Trash() override;
}; };
#endif // DOLPHINTRASH_H #endif // DOLPHINTRASH_H