Changeset View
Changeset View
Standalone View
Standalone View
src/filewidgets/kurlnavigatordropdownbutton_p.h
Show All 32 Lines | |||||
33 | * too small to show the whole path. | 33 | * too small to show the whole path. | ||
34 | */ | 34 | */ | ||
35 | class KUrlNavigatorDropDownButton : public KUrlNavigatorButtonBase | 35 | class KUrlNavigatorDropDownButton : public KUrlNavigatorButtonBase | ||
36 | { | 36 | { | ||
37 | Q_OBJECT | 37 | Q_OBJECT | ||
38 | 38 | | |||
39 | public: | 39 | public: | ||
40 | explicit KUrlNavigatorDropDownButton(QWidget *parent); | 40 | explicit KUrlNavigatorDropDownButton(QWidget *parent); | ||
41 | virtual ~KUrlNavigatorDropDownButton(); | 41 | ~KUrlNavigatorDropDownButton() Q_DECL_OVERRIDE; | ||
42 | 42 | | |||
43 | /** @see QWidget::sizeHint() */ | 43 | /** @see QWidget::sizeHint() */ | ||
44 | QSize sizeHint() const Q_DECL_OVERRIDE; | 44 | QSize sizeHint() const Q_DECL_OVERRIDE; | ||
45 | 45 | | |||
46 | protected: | 46 | protected: | ||
47 | void keyPressEvent(QKeyEvent *event) Q_DECL_OVERRIDE; | 47 | void keyPressEvent(QKeyEvent *event) Q_DECL_OVERRIDE; | ||
48 | void paintEvent(QPaintEvent *event) Q_DECL_OVERRIDE; | 48 | void paintEvent(QPaintEvent *event) Q_DECL_OVERRIDE; | ||
49 | }; | 49 | }; | ||
50 | 50 | | |||
51 | } // namespace KDEPrivate | 51 | } // namespace KDEPrivate | ||
52 | 52 | | |||
53 | #endif | 53 | #endif |