diff options
Diffstat (limited to 'desktop-widgets/starwidget.h')
-rw-r--r-- | desktop-widgets/starwidget.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/desktop-widgets/starwidget.h b/desktop-widgets/starwidget.h index daa4ffbf5..187cfb0e4 100644 --- a/desktop-widgets/starwidget.h +++ b/desktop-widgets/starwidget.h @@ -14,7 +14,7 @@ public: explicit StarWidget(QWidget *parent = 0, Qt::WindowFlags f = 0); int currentStars() const; - QSize sizeHint() const override; + QSize sizeHint() const; static const QImage& starActive(); static const QImage& starInactive(); @@ -28,11 +28,11 @@ slots: void setReadOnly(bool readOnly); protected: - void mouseReleaseEvent(QMouseEvent *) override; - void paintEvent(QPaintEvent *) override; - void focusInEvent(QFocusEvent *) override; - void focusOutEvent(QFocusEvent *) override; - void keyPressEvent(QKeyEvent *) override; + void mouseReleaseEvent(QMouseEvent *); + void paintEvent(QPaintEvent *); + void focusInEvent(QFocusEvent *); + void focusOutEvent(QFocusEvent *); + void keyPressEvent(QKeyEvent *); private: int current; |