mirror of
https://invent.kde.org/system/dolphin
synced 2024-07-15 18:01:11 +00:00
GIT_SILENT: add missing override keyword
This commit is contained in:
parent
b497dc9cbd
commit
3f76d92402
|
@ -36,7 +36,7 @@ public:
|
|||
*/
|
||||
DolphinUrlNavigator(const QUrl &url, QWidget *parent = nullptr);
|
||||
|
||||
virtual ~DolphinUrlNavigator();
|
||||
~DolphinUrlNavigator() override;
|
||||
|
||||
// TODO: Fix KUrlNavigator::sizeHint() instead.
|
||||
QSize sizeHint() const override;
|
||||
|
|
|
@ -31,7 +31,7 @@ public:
|
|||
explicit KStandardItem(KStandardItem* parent = nullptr);
|
||||
explicit KStandardItem(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.
|
||||
|
|
|
@ -21,7 +21,7 @@ class DOLPHIN_EXPORT KTwoFingerSwipe : public QGesture
|
|||
Q_PROPERTY(qreal swipeAngle READ swipeAngle WRITE setSwipeAngle)
|
||||
public:
|
||||
explicit KTwoFingerSwipe(QObject* parent = nullptr);
|
||||
~KTwoFingerSwipe();
|
||||
~KTwoFingerSwipe() override;
|
||||
QPointF pos() const;
|
||||
void setPos(QPointF pos);
|
||||
QPointF screenPos() const;
|
||||
|
@ -41,7 +41,7 @@ class DOLPHIN_EXPORT KTwoFingerSwipeRecognizer : public QGestureRecognizer
|
|||
{
|
||||
public:
|
||||
explicit KTwoFingerSwipeRecognizer();
|
||||
~KTwoFingerSwipeRecognizer();
|
||||
~KTwoFingerSwipeRecognizer() override;
|
||||
QGesture* create(QObject*) override;
|
||||
Result recognize(QGesture*, QObject*, QEvent*) override;
|
||||
private:
|
||||
|
|
|
@ -20,7 +20,7 @@ class DOLPHIN_EXPORT KTwoFingerTap : public QGesture
|
|||
Q_PROPERTY(QPointF scenePos READ scenePos WRITE setScenePos)
|
||||
public:
|
||||
explicit KTwoFingerTap(QObject* parent = nullptr);
|
||||
~KTwoFingerTap();
|
||||
~KTwoFingerTap() override;
|
||||
QPointF pos() const;
|
||||
void setPos(QPointF pos);
|
||||
QPointF screenPos() const;
|
||||
|
@ -37,7 +37,7 @@ class DOLPHIN_EXPORT KTwoFingerTapRecognizer : public QGestureRecognizer
|
|||
{
|
||||
public:
|
||||
explicit KTwoFingerTapRecognizer();
|
||||
~KTwoFingerTapRecognizer();
|
||||
~KTwoFingerTapRecognizer() override;
|
||||
QGesture* create(QObject*) override;
|
||||
Result recognize(QGesture*, QObject*, QEvent*) override;
|
||||
private:
|
||||
|
|
|
@ -35,7 +35,7 @@ private:
|
|||
KDirLister *m_trashDirLister;
|
||||
|
||||
Trash();
|
||||
~Trash();
|
||||
~Trash() override;
|
||||
};
|
||||
|
||||
#endif // DOLPHINTRASH_H
|
||||
|
|
Loading…
Reference in a new issue