Changeset View
Changeset View
Standalone View
Standalone View
src/plasmaquick/dialog.h
Show All 18 Lines | |||||
19 | ***************************************************************************/ | 19 | ***************************************************************************/ | ||
20 | #ifndef DIALOG_PROXY_P | 20 | #ifndef DIALOG_PROXY_P | ||
21 | #define DIALOG_PROXY_P | 21 | #define DIALOG_PROXY_P | ||
22 | 22 | | |||
23 | #include <QQuickItem> | 23 | #include <QQuickItem> | ||
24 | #include <QQuickWindow> | 24 | #include <QQuickWindow> | ||
25 | #include <QPoint> | 25 | #include <QPoint> | ||
26 | #include <QQmlParserStatus> | 26 | #include <QQmlParserStatus> | ||
27 | #include <QScopedPointer> | ||||
27 | 28 | | |||
28 | #include <Plasma/Plasma> | 29 | #include <Plasma/Plasma> | ||
29 | #include <Plasma/Theme> | 30 | #include <Plasma/Theme> | ||
30 | 31 | | |||
31 | #include <netwm_def.h> | 32 | #include <netwm_def.h> | ||
32 | 33 | | |||
33 | #include <plasmaquick/plasmaquick_export.h> | 34 | #include <plasmaquick/plasmaquick_export.h> | ||
34 | 35 | | |||
▲ Show 20 Lines • Show All 201 Lines • ▼ Show 20 Line(s) | 227 | protected: | |||
236 | void focusInEvent(QFocusEvent *ev) override; | 237 | void focusInEvent(QFocusEvent *ev) override; | ||
237 | void focusOutEvent(QFocusEvent *ev) override; | 238 | void focusOutEvent(QFocusEvent *ev) override; | ||
238 | void showEvent(QShowEvent *event) override; | 239 | void showEvent(QShowEvent *event) override; | ||
239 | void hideEvent(QHideEvent *event) override; | 240 | void hideEvent(QHideEvent *event) override; | ||
240 | bool event(QEvent *event) override; | 241 | bool event(QEvent *event) override; | ||
241 | 242 | | |||
242 | private: | 243 | private: | ||
243 | friend class DialogPrivate; | 244 | friend class DialogPrivate; | ||
244 | DialogPrivate *const d; | 245 | const QScopedPointer<DialogPrivate> d; | ||
245 | 246 | | |||
246 | Q_PRIVATE_SLOT(d, void updateInputShape()) | 247 | Q_PRIVATE_SLOT(d, void updateInputShape()) | ||
247 | Q_PRIVATE_SLOT(d, void updateTheme()) | 248 | Q_PRIVATE_SLOT(d, void updateTheme()) | ||
248 | Q_PRIVATE_SLOT(d, void updateVisibility(bool visible)) | 249 | Q_PRIVATE_SLOT(d, void updateVisibility(bool visible)) | ||
249 | 250 | | |||
250 | Q_PRIVATE_SLOT(d, void updateMinimumWidth()) | 251 | Q_PRIVATE_SLOT(d, void updateMinimumWidth()) | ||
251 | Q_PRIVATE_SLOT(d, void updateMinimumHeight()) | 252 | Q_PRIVATE_SLOT(d, void updateMinimumHeight()) | ||
252 | Q_PRIVATE_SLOT(d, void updateMaximumWidth()) | 253 | Q_PRIVATE_SLOT(d, void updateMaximumWidth()) | ||
Show All 9 Lines |