mirror of
https://invent.kde.org/system/dolphin
synced 2024-10-28 03:21:56 +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);
|
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;
|
||||||
|
|
|
@ -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.
|
||||||
|
|
|
@ -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:
|
||||||
|
|
|
@ -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:
|
||||||
|
|
|
@ -35,7 +35,7 @@ private:
|
||||||
KDirLister *m_trashDirLister;
|
KDirLister *m_trashDirLister;
|
||||||
|
|
||||||
Trash();
|
Trash();
|
||||||
~Trash();
|
~Trash() override;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // DOLPHINTRASH_H
|
#endif // DOLPHINTRASH_H
|
||||||
|
|
Loading…
Reference in a new issue