Changeset View
Changeset View
Standalone View
Standalone View
src/plasmaquick/configview.h
Show All 15 Lines | |||||
16 | * Free Software Foundation, Inc., | 16 | * Free Software Foundation, Inc., | ||
17 | * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | 17 | * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | ||
18 | */ | 18 | */ | ||
19 | 19 | | |||
20 | #ifndef CONFIGVIEW_H | 20 | #ifndef CONFIGVIEW_H | ||
21 | #define CONFIGVIEW_H | 21 | #define CONFIGVIEW_H | ||
22 | 22 | | |||
23 | #include <QQuickView> | 23 | #include <QQuickView> | ||
24 | #include <QScopedPointer> | ||||
24 | 25 | | |||
25 | #include <plasmaquick/plasmaquick_export.h> | 26 | #include <plasmaquick/plasmaquick_export.h> | ||
26 | 27 | | |||
27 | // | 28 | // | ||
28 | // W A R N I N G | 29 | // W A R N I N G | ||
29 | // ------------- | 30 | // ------------- | ||
30 | // | 31 | // | ||
31 | // This file is not part of the public Plasma API. It exists purely as an | 32 | // This file is not part of the public Plasma API. It exists purely as an | ||
▲ Show 20 Lines • Show All 44 Lines • ▼ Show 20 Line(s) | |||||
76 | Q_SIGNALS: | 77 | Q_SIGNALS: | ||
77 | void appletGlobalShortcutChanged(); | 78 | void appletGlobalShortcutChanged(); | ||
78 | 79 | | |||
79 | protected: | 80 | protected: | ||
80 | void hideEvent(QHideEvent *ev) override; | 81 | void hideEvent(QHideEvent *ev) override; | ||
81 | void resizeEvent(QResizeEvent *re) override; | 82 | void resizeEvent(QResizeEvent *re) override; | ||
82 | 83 | | |||
83 | private: | 84 | private: | ||
84 | ConfigViewPrivate *const d; | 85 | const QScopedPointer<ConfigViewPrivate> const d; | ||
85 | 86 | | |||
86 | Q_PRIVATE_SLOT(d, void updateMinimumWidth()) | 87 | Q_PRIVATE_SLOT(d, void updateMinimumWidth()) | ||
87 | Q_PRIVATE_SLOT(d, void updateMinimumHeight()) | 88 | Q_PRIVATE_SLOT(d, void updateMinimumHeight()) | ||
88 | Q_PRIVATE_SLOT(d, void updateMaximumWidth()) | 89 | Q_PRIVATE_SLOT(d, void updateMaximumWidth()) | ||
89 | Q_PRIVATE_SLOT(d, void updateMaximumHeight()) | 90 | Q_PRIVATE_SLOT(d, void updateMaximumHeight()) | ||
90 | }; | 91 | }; | ||
91 | 92 | | |||
92 | } | 93 | } | ||
93 | 94 | | |||
94 | #endif // multiple inclusion guard | 95 | #endif // multiple inclusion guard |