Changeset View
Changeset View
Standalone View
Standalone View
shell/panelshadows_p.h
Show All 34 Lines | 32 | public: | |||
---|---|---|---|---|---|
35 | 35 | | |||
36 | static PanelShadows *self(); | 36 | static PanelShadows *self(); | ||
37 | 37 | | |||
38 | void addWindow(const QWindow *window, Plasma::FrameSvg::EnabledBorders enabledBorders = Plasma::FrameSvg::AllBorders); | 38 | void addWindow(const QWindow *window, Plasma::FrameSvg::EnabledBorders enabledBorders = Plasma::FrameSvg::AllBorders); | ||
39 | void removeWindow(const QWindow *window); | 39 | void removeWindow(const QWindow *window); | ||
40 | 40 | | |||
41 | void setEnabledBorders(const QWindow *window, Plasma::FrameSvg::EnabledBorders enabledBorders = Plasma::FrameSvg::AllBorders); | 41 | void setEnabledBorders(const QWindow *window, Plasma::FrameSvg::EnabledBorders enabledBorders = Plasma::FrameSvg::AllBorders); | ||
42 | 42 | | |||
43 | bool enabled() const; | | |||
44 | | ||||
45 | private: | 43 | private: | ||
46 | class Private; | 44 | class Private; | ||
47 | Private * const d; | 45 | Private * const d; | ||
48 | 46 | | |||
49 | Q_PRIVATE_SLOT(d, void updateShadows()) | 47 | Q_PRIVATE_SLOT(d, void updateShadows()) | ||
50 | Q_PRIVATE_SLOT(d, void windowDestroyed(QObject *deletedObject)) | 48 | Q_PRIVATE_SLOT(d, void windowDestroyed(QObject *deletedObject)) | ||
51 | }; | 49 | }; | ||
52 | 50 | | |||
53 | #endif | 51 | #endif | ||
54 | 52 | |