Changeset View
Changeset View
Standalone View
Standalone View
kcmkwin/kwindesktop/virtualdesktops.h
Show All 16 Lines | |||||
17 | */ | 17 | */ | ||
18 | 18 | | |||
19 | #ifndef VIRTUALDESKTOPS_H | 19 | #ifndef VIRTUALDESKTOPS_H | ||
20 | #define VIRTUALDESKTOPS_H | 20 | #define VIRTUALDESKTOPS_H | ||
21 | 21 | | |||
22 | #include <KQuickAddons/ConfigModule> | 22 | #include <KQuickAddons/ConfigModule> | ||
23 | #include <KSharedConfig> | 23 | #include <KSharedConfig> | ||
24 | 24 | | |||
25 | class VirtualDesktopsSettings; | ||||
26 | | ||||
25 | namespace KWin | 27 | namespace KWin | ||
26 | { | 28 | { | ||
27 | 29 | | |||
28 | class AnimationsModel; | 30 | class AnimationsModel; | ||
29 | class DesktopsModel; | 31 | class DesktopsModel; | ||
30 | 32 | | |||
31 | class VirtualDesktops : public KQuickAddons::ConfigModule | 33 | class VirtualDesktops : public KQuickAddons::ConfigModule | ||
32 | { | 34 | { | ||
Show All 39 Lines | 70 | public Q_SLOTS: | |||
72 | 74 | | |||
73 | void configureAnimation(); | 75 | void configureAnimation(); | ||
74 | void showAboutAnimation(); | 76 | void showAboutAnimation(); | ||
75 | 77 | | |||
76 | private Q_SLOTS: | 78 | private Q_SLOTS: | ||
77 | void updateNeedsSave(); | 79 | void updateNeedsSave(); | ||
78 | 80 | | |||
79 | private: | 81 | private: | ||
80 | KSharedConfigPtr m_kwinConfig; | 82 | VirtualDesktopsSettings *m_settings; | ||
81 | DesktopsModel *m_desktopsModel; | 83 | DesktopsModel *m_desktopsModel; | ||
82 | bool m_navWraps; | 84 | bool m_navWraps; | ||
83 | bool m_osdEnabled; | 85 | bool m_osdEnabled; | ||
84 | int m_osdDuration; | 86 | int m_osdDuration; | ||
85 | bool m_osdTextOnly; | 87 | bool m_osdTextOnly; | ||
86 | AnimationsModel *m_animationsModel; | 88 | AnimationsModel *m_animationsModel; | ||
87 | }; | 89 | }; | ||
88 | 90 | | |||
89 | } | 91 | } | ||
90 | 92 | | |||
91 | #endif | 93 | #endif |