Changeset View
Changeset View
Standalone View
Standalone View
tabbox/tabboxconfig.h
Show All 23 Lines | |||||
24 | #include <QString> | 24 | #include <QString> | ||
25 | 25 | | |||
26 | /** | 26 | /** | ||
27 | * @file | 27 | * @file | ||
28 | * This file defines the class TabBoxConfig. | 28 | * This file defines the class TabBoxConfig. | ||
29 | * | 29 | * | ||
30 | * @author Martin Gräßlin <mgraesslin@kde.org> | 30 | * @author Martin Gräßlin <mgraesslin@kde.org> | ||
31 | * @since 4.4 | 31 | * @since 4.4 | ||
32 | */ | 32 | **/ | ||
33 | 33 | | |||
34 | namespace KWin | 34 | namespace KWin | ||
35 | { | 35 | { | ||
36 | namespace TabBox | 36 | namespace TabBox | ||
37 | { | 37 | { | ||
38 | class TabBoxConfigPrivate; | 38 | class TabBoxConfigPrivate; | ||
39 | 39 | | |||
40 | /** | 40 | /** | ||
41 | * The TabBoxConfig class holds all configuration options for the TabBox. | 41 | * The TabBoxConfig class holds all configuration options for the TabBox. | ||
42 | * The TabBoxHandler contains a pointer to an object of this class and is | 42 | * The TabBoxHandler contains a pointer to an object of this class and is | ||
43 | * used by all classes of TabBox. The config defines what kind of data the | 43 | * used by all classes of TabBox. The config defines what kind of data the | ||
44 | * TabBox is displaying and how the layout looks like. There can be different | 44 | * TabBox is displaying and how the layout looks like. There can be different | ||
45 | * Config sets and by setting a new config in the TabBoxHandler the behaviour | 45 | * Config sets and by setting a new config in the TabBoxHandler the behaviour | ||
46 | * of the TabBox is changed immediately. | 46 | * of the TabBox is changed immediately. | ||
47 | * | 47 | * | ||
48 | * @author Martin Gräßlin <mgraesslin@kde.org> | 48 | * @author Martin Gräßlin <mgraesslin@kde.org> | ||
49 | * @since 4.4 | 49 | * @since 4.4 | ||
50 | */ | 50 | **/ | ||
51 | class TabBoxConfig | 51 | class TabBoxConfig | ||
52 | { | 52 | { | ||
53 | public: | 53 | public: | ||
54 | /** | 54 | /** | ||
55 | * ClientDesktopMode defines whether windows from the current desktop or from all | 55 | * ClientDesktopMode defines whether windows from the current desktop or from all | ||
56 | * desktops are included in the TabBoxClient List in the TabBoxClientModel | 56 | * desktops are included in the TabBoxClient List in the TabBoxClientModel | ||
57 | */ | 57 | **/ | ||
58 | enum ClientDesktopMode { | 58 | enum ClientDesktopMode { | ||
59 | AllDesktopsClients, ///< TabBoxClients from all desktops are included. | 59 | AllDesktopsClients, ///< TabBoxClients from all desktops are included. | ||
60 | OnlyCurrentDesktopClients, ///< Only TabBoxClients on current desktop are included | 60 | OnlyCurrentDesktopClients, ///< Only TabBoxClients on current desktop are included | ||
61 | ExcludeCurrentDesktopClients ///< Exclude TabBoxClients on current desktop | 61 | ExcludeCurrentDesktopClients ///< Exclude TabBoxClients on current desktop | ||
62 | }; | 62 | }; | ||
63 | /** | 63 | /** | ||
64 | * ClientActivitiesMode defines whether windows from the current activity or from all | 64 | * ClientActivitiesMode defines whether windows from the current activity or from all | ||
65 | * activities are included in the TabBoxClient List in the TabBoxClientModel | 65 | * activities are included in the TabBoxClient List in the TabBoxClientModel | ||
66 | */ | 66 | **/ | ||
67 | enum ClientActivitiesMode { | 67 | enum ClientActivitiesMode { | ||
68 | AllActivitiesClients, ///< TabBoxClients from all Activities are included. | 68 | AllActivitiesClients, ///< TabBoxClients from all Activities are included. | ||
69 | OnlyCurrentActivityClients, ///< Only TabBoxClients on current activity are included | 69 | OnlyCurrentActivityClients, ///< Only TabBoxClients on current activity are included | ||
70 | ExcludeCurrentActivityClients ///< Exclude TabBoxClients on current activity | 70 | ExcludeCurrentActivityClients ///< Exclude TabBoxClients on current activity | ||
71 | }; | 71 | }; | ||
72 | /** | 72 | /** | ||
73 | * ClientApplicationsMode defines which windows from the current application or from all | 73 | * ClientApplicationsMode defines which windows from the current application or from all | ||
74 | * applications are included in the TabBoxClient List in the TabBoxClientModel | 74 | * applications are included in the TabBoxClient List in the TabBoxClientModel | ||
75 | */ | 75 | **/ | ||
76 | enum ClientApplicationsMode { | 76 | enum ClientApplicationsMode { | ||
77 | AllWindowsAllApplications, ///< TabBoxClients from all applications are included | 77 | AllWindowsAllApplications, ///< TabBoxClients from all applications are included | ||
78 | OneWindowPerApplication, ///< Only one TabBoxClient for each application is included | 78 | OneWindowPerApplication, ///< Only one TabBoxClient for each application is included | ||
79 | AllWindowsCurrentApplication ///< Only TabBoxClients for the current application are included | 79 | AllWindowsCurrentApplication ///< Only TabBoxClients for the current application are included | ||
80 | }; | 80 | }; | ||
81 | /** | 81 | /** | ||
82 | * ClientMinimizedMode defines which windows are included in the TabBoxClient List | 82 | * ClientMinimizedMode defines which windows are included in the TabBoxClient List | ||
83 | * in the TabBoxClientModel based on whether they are minimized or not | 83 | * in the TabBoxClientModel based on whether they are minimized or not | ||
84 | */ | 84 | **/ | ||
85 | enum ClientMinimizedMode { | 85 | enum ClientMinimizedMode { | ||
86 | IgnoreMinimizedStatus, ///< TabBoxClients are included no matter they are minimized or not | 86 | IgnoreMinimizedStatus, ///< TabBoxClients are included no matter they are minimized or not | ||
87 | ExcludeMinimizedClients, ///< Exclude minimized TabBoxClients | 87 | ExcludeMinimizedClients, ///< Exclude minimized TabBoxClients | ||
88 | OnlyMinimizedClients ///< Only minimized TabBoxClients are included | 88 | OnlyMinimizedClients ///< Only minimized TabBoxClients are included | ||
89 | }; | 89 | }; | ||
90 | /** | 90 | /** | ||
91 | * ShowDesktopMode defines whether a TabBoxClient representing the desktop | 91 | * ShowDesktopMode defines whether a TabBoxClient representing the desktop | ||
92 | * is included in the TabBoxClient List in the TabBoxClientModel | 92 | * is included in the TabBoxClient List in the TabBoxClientModel | ||
93 | */ | 93 | **/ | ||
94 | enum ShowDesktopMode { | 94 | enum ShowDesktopMode { | ||
95 | DoNotShowDesktopClient, ///< A TabBoxClient representing the desktop is not included | 95 | DoNotShowDesktopClient, ///< A TabBoxClient representing the desktop is not included | ||
96 | ShowDesktopClient ///< A TabBoxClient representing the desktop is included | 96 | ShowDesktopClient ///< A TabBoxClient representing the desktop is included | ||
97 | }; | 97 | }; | ||
98 | /** | 98 | /** | ||
99 | * ClientActivitiesMode defines whether windows from the current activity or from all | 99 | * ClientActivitiesMode defines whether windows from the current activity or from all | ||
100 | * activities are included in the TabBoxClient List in the TabBoxClientModel | 100 | * activities are included in the TabBoxClient List in the TabBoxClientModel | ||
101 | */ | 101 | **/ | ||
102 | enum ClientMultiScreenMode { | 102 | enum ClientMultiScreenMode { | ||
103 | IgnoreMultiScreen, ///< TabBoxClients are included independently of the screen they are on | 103 | IgnoreMultiScreen, ///< TabBoxClients are included independently of the screen they are on | ||
104 | OnlyCurrentScreenClients, ///< Only TabBoxClients on current screen are included | 104 | OnlyCurrentScreenClients, ///< Only TabBoxClients on current screen are included | ||
105 | ExcludeCurrentScreenClients ///< Exclude TabBoxClients from the current screen | 105 | ExcludeCurrentScreenClients ///< Exclude TabBoxClients from the current screen | ||
106 | }; | 106 | }; | ||
107 | /** | 107 | /** | ||
108 | * ClientSwitchingMode defines the sorting of the TabBoxClients in the | 108 | * ClientSwitchingMode defines the sorting of the TabBoxClients in the | ||
109 | * TabBoxClientModel. | 109 | * TabBoxClientModel. | ||
110 | */ | 110 | **/ | ||
111 | enum ClientSwitchingMode { | 111 | enum ClientSwitchingMode { | ||
112 | FocusChainSwitching, ///< Sort by recently used. Most recently used TabBoxClient is the first | 112 | FocusChainSwitching, ///< Sort by recently used. Most recently used TabBoxClient is the first | ||
113 | StackingOrderSwitching ///< Sort by current stacking order | 113 | StackingOrderSwitching ///< Sort by current stacking order | ||
114 | }; | 114 | }; | ||
115 | /** | 115 | /** | ||
116 | * DesktopSwitchingMode defines the sorting of the desktops in the | 116 | * DesktopSwitchingMode defines the sorting of the desktops in the | ||
117 | * TabBoxDesktopModel. | 117 | * TabBoxDesktopModel. | ||
118 | */ | 118 | **/ | ||
119 | enum DesktopSwitchingMode { | 119 | enum DesktopSwitchingMode { | ||
120 | MostRecentlyUsedDesktopSwitching,///< Sort by recently used. Most recently used desktop is the first | 120 | MostRecentlyUsedDesktopSwitching,///< Sort by recently used. Most recently used desktop is the first | ||
121 | StaticDesktopSwitching///< Static sorting in numerical ascending order | 121 | StaticDesktopSwitching///< Static sorting in numerical ascending order | ||
122 | }; | 122 | }; | ||
123 | /** | 123 | /** | ||
124 | * TabBoxMode defines what kind of items the TabBox is displaying and which | 124 | * TabBoxMode defines what kind of items the TabBox is displaying and which | ||
125 | * Model is used | 125 | * Model is used | ||
126 | */ | 126 | **/ | ||
127 | enum TabBoxMode { | 127 | enum TabBoxMode { | ||
128 | ClientTabBox,///< TabBox uses TabBoxClientModel | 128 | ClientTabBox,///< TabBox uses TabBoxClientModel | ||
129 | DesktopTabBox///< TabBox uses TabBoxDesktopModel | 129 | DesktopTabBox///< TabBox uses TabBoxDesktopModel | ||
130 | }; | 130 | }; | ||
131 | TabBoxConfig(); | 131 | TabBoxConfig(); | ||
132 | ~TabBoxConfig(); | 132 | ~TabBoxConfig(); | ||
133 | TabBoxConfig& operator=(const TabBoxConfig& object); | 133 | TabBoxConfig& operator=(const TabBoxConfig& object); | ||
134 | 134 | | |||
135 | // getters | 135 | // getters | ||
136 | /** | 136 | /** | ||
137 | * @return If the TabBox should be shown or not | 137 | * @return If the TabBox should be shown or not | ||
138 | * This option does not apply for TabBoxMode DesktopTabBox. | 138 | * This option does not apply for TabBoxMode DesktopTabBox. | ||
139 | * @see setShowTabBox | 139 | * @see setShowTabBox | ||
140 | * @see defaultShowTabBox | 140 | * @see defaultShowTabBox | ||
141 | */ | 141 | **/ | ||
142 | bool isShowTabBox() const; | 142 | bool isShowTabBox() const; | ||
143 | /** | 143 | /** | ||
144 | * @return If Highlight Window effect should be used. | 144 | * @return If Highlight Window effect should be used. | ||
145 | * This option does not apply for TabBoxMode DesktopTabBox. | 145 | * This option does not apply for TabBoxMode DesktopTabBox. | ||
146 | * @see setHighlightWindows | 146 | * @see setHighlightWindows | ||
147 | * @see defaultHighlightWindows | 147 | * @see defaultHighlightWindows | ||
148 | */ | 148 | **/ | ||
149 | bool isHighlightWindows() const; | 149 | bool isHighlightWindows() const; | ||
150 | /** | 150 | /** | ||
151 | * @return The current TabBoxMode | 151 | * @return The current TabBoxMode | ||
152 | * @see setTabBoxMode | 152 | * @see setTabBoxMode | ||
153 | */ | 153 | **/ | ||
154 | TabBoxMode tabBoxMode() const; | 154 | TabBoxMode tabBoxMode() const; | ||
155 | /** | 155 | /** | ||
156 | * @return The current ClientDesktopMode | 156 | * @return The current ClientDesktopMode | ||
157 | * This option only applies for TabBoxMode ClientTabBox. | 157 | * This option only applies for TabBoxMode ClientTabBox. | ||
158 | * @see setClientDesktopMode | 158 | * @see setClientDesktopMode | ||
159 | * @see defaultDesktopMode | 159 | * @see defaultDesktopMode | ||
160 | */ | 160 | **/ | ||
161 | ClientDesktopMode clientDesktopMode() const; | 161 | ClientDesktopMode clientDesktopMode() const; | ||
162 | /** | 162 | /** | ||
163 | * @return The current ClientActivitiesMode | 163 | * @return The current ClientActivitiesMode | ||
164 | * This option only applies for TabBoxMode ClientTabBox. | 164 | * This option only applies for TabBoxMode ClientTabBox. | ||
165 | * @see setClientActivitiesMode | 165 | * @see setClientActivitiesMode | ||
166 | * @see defaultActivitiesMode | 166 | * @see defaultActivitiesMode | ||
167 | */ | 167 | **/ | ||
168 | ClientActivitiesMode clientActivitiesMode() const; | 168 | ClientActivitiesMode clientActivitiesMode() const; | ||
169 | /** | 169 | /** | ||
170 | * @return The current ClientApplicationsMode | 170 | * @return The current ClientApplicationsMode | ||
171 | * This option only applies for TabBoxMode ClientTabBox. | 171 | * This option only applies for TabBoxMode ClientTabBox. | ||
172 | * @see setClientApplicationsMode | 172 | * @see setClientApplicationsMode | ||
173 | * @see defaultApplicationsMode | 173 | * @see defaultApplicationsMode | ||
174 | */ | 174 | **/ | ||
175 | ClientApplicationsMode clientApplicationsMode() const; | 175 | ClientApplicationsMode clientApplicationsMode() const; | ||
176 | /** | 176 | /** | ||
177 | * @return The current ClientMinimizedMode | 177 | * @return The current ClientMinimizedMode | ||
178 | * This option only applies for TabBoxMode ClientTabBox. | 178 | * This option only applies for TabBoxMode ClientTabBox. | ||
179 | * @see setClientMinimizedMode | 179 | * @see setClientMinimizedMode | ||
180 | * @see defaultMinimizedMode | 180 | * @see defaultMinimizedMode | ||
181 | */ | 181 | **/ | ||
182 | ClientMinimizedMode clientMinimizedMode() const; | 182 | ClientMinimizedMode clientMinimizedMode() const; | ||
183 | /** | 183 | /** | ||
184 | * @return The current ShowDesktopMode | 184 | * @return The current ShowDesktopMode | ||
185 | * This option only applies for TabBoxMode ClientTabBox. | 185 | * This option only applies for TabBoxMode ClientTabBox. | ||
186 | * @see setShowDesktopMode | 186 | * @see setShowDesktopMode | ||
187 | * @see defaultShowDesktopMode | 187 | * @see defaultShowDesktopMode | ||
188 | */ | 188 | **/ | ||
189 | ShowDesktopMode showDesktopMode() const; | 189 | ShowDesktopMode showDesktopMode() const; | ||
190 | /** | 190 | /** | ||
191 | * @return The current ClientMultiScreenMode | 191 | * @return The current ClientMultiScreenMode | ||
192 | * This option only applies for TabBoxMode ClientTabBox. | 192 | * This option only applies for TabBoxMode ClientTabBox. | ||
193 | * @see setClientMultiScreenMode | 193 | * @see setClientMultiScreenMode | ||
194 | * @see defaultMultiScreenMode | 194 | * @see defaultMultiScreenMode | ||
195 | */ | 195 | **/ | ||
196 | ClientMultiScreenMode clientMultiScreenMode() const; | 196 | ClientMultiScreenMode clientMultiScreenMode() const; | ||
197 | /** | 197 | /** | ||
198 | * @return The current ClientSwitchingMode. | 198 | * @return The current ClientSwitchingMode. | ||
199 | * This option only applies for TabBoxMode ClientTabBox. | 199 | * This option only applies for TabBoxMode ClientTabBox. | ||
200 | * @see setClientSwitchingMode | 200 | * @see setClientSwitchingMode | ||
201 | * @see defaultSwitchingMode | 201 | * @see defaultSwitchingMode | ||
202 | */ | 202 | **/ | ||
203 | ClientSwitchingMode clientSwitchingMode() const; | 203 | ClientSwitchingMode clientSwitchingMode() const; | ||
204 | /** | 204 | /** | ||
205 | * @return The current DesktopSwitchingMode | 205 | * @return The current DesktopSwitchingMode | ||
206 | * This option only applies for TabBoxMode DesktopTabBox. | 206 | * This option only applies for TabBoxMode DesktopTabBox. | ||
207 | * @see setDesktopSwitchingMode | 207 | * @see setDesktopSwitchingMode | ||
208 | */ | 208 | **/ | ||
209 | DesktopSwitchingMode desktopSwitchingMode() const; | 209 | DesktopSwitchingMode desktopSwitchingMode() const; | ||
210 | /** | 210 | /** | ||
211 | * @return Then name of the current ItemLayout | 211 | * @return Then name of the current ItemLayout | ||
212 | * @see setlayoutName | 212 | * @see setlayoutName | ||
213 | */ | 213 | **/ | ||
214 | QString& layoutName() const; | 214 | QString& layoutName() const; | ||
215 | 215 | | |||
216 | // setters | 216 | // setters | ||
217 | /** | 217 | /** | ||
218 | * @param show The tabbox should be shown or not. | 218 | * @param show The tabbox should be shown or not. | ||
219 | * This option does not apply for TabBoxMode DesktopTabBox. | 219 | * This option does not apply for TabBoxMode DesktopTabBox. | ||
220 | * @see isShowTabBox | 220 | * @see isShowTabBox | ||
221 | */ | 221 | **/ | ||
222 | void setShowTabBox(bool show); | 222 | void setShowTabBox(bool show); | ||
223 | /** | 223 | /** | ||
224 | * @param highlight Highlight Windows effect should be used or not. | 224 | * @param highlight Highlight Windows effect should be used or not. | ||
225 | * This option does not apply for TabBoxMode DesktopTabBox. | 225 | * This option does not apply for TabBoxMode DesktopTabBox. | ||
226 | * @see isHighlightWindows | 226 | * @see isHighlightWindows | ||
227 | */ | 227 | **/ | ||
228 | void setHighlightWindows(bool highlight); | 228 | void setHighlightWindows(bool highlight); | ||
229 | /** | 229 | /** | ||
230 | * @param mode The new TabBoxMode to be used. | 230 | * @param mode The new TabBoxMode to be used. | ||
231 | * @see tabBoxMode | 231 | * @see tabBoxMode | ||
232 | */ | 232 | **/ | ||
233 | void setTabBoxMode(TabBoxMode mode); | 233 | void setTabBoxMode(TabBoxMode mode); | ||
234 | /** | 234 | /** | ||
235 | * @param desktopMode The new ClientDesktopMode to be used. | 235 | * @param desktopMode The new ClientDesktopMode to be used. | ||
236 | * This option only applies for TabBoxMode ClientTabBox. | 236 | * This option only applies for TabBoxMode ClientTabBox. | ||
237 | * @see clientDesktopMode | 237 | * @see clientDesktopMode | ||
238 | */ | 238 | **/ | ||
239 | void setClientDesktopMode(ClientDesktopMode desktopMode); | 239 | void setClientDesktopMode(ClientDesktopMode desktopMode); | ||
240 | /** | 240 | /** | ||
241 | * @param activitiesMode The new ClientActivitiesMode to be used. | 241 | * @param activitiesMode The new ClientActivitiesMode to be used. | ||
242 | * This option only applies for TabBoxMode ClientTabBox. | 242 | * This option only applies for TabBoxMode ClientTabBox. | ||
243 | * @see clientActivitiesMode | 243 | * @see clientActivitiesMode | ||
244 | */ | 244 | **/ | ||
245 | void setClientActivitiesMode(ClientActivitiesMode activitiesMode); | 245 | void setClientActivitiesMode(ClientActivitiesMode activitiesMode); | ||
246 | /** | 246 | /** | ||
247 | * @param applicationsMode The new ClientApplicationsMode to be used. | 247 | * @param applicationsMode The new ClientApplicationsMode to be used. | ||
248 | * This option only applies for TabBoxMode ClientTabBox. | 248 | * This option only applies for TabBoxMode ClientTabBox. | ||
249 | * @see clientApplicationsMode | 249 | * @see clientApplicationsMode | ||
250 | */ | 250 | **/ | ||
251 | void setClientApplicationsMode(ClientApplicationsMode applicationsMode); | 251 | void setClientApplicationsMode(ClientApplicationsMode applicationsMode); | ||
252 | /** | 252 | /** | ||
253 | * @param minimizedMode The new ClientMinimizedMode to be used. | 253 | * @param minimizedMode The new ClientMinimizedMode to be used. | ||
254 | * This option only applies for TabBoxMode ClientTabBox. | 254 | * This option only applies for TabBoxMode ClientTabBox. | ||
255 | * @see clientMinimizedMode | 255 | * @see clientMinimizedMode | ||
256 | */ | 256 | **/ | ||
257 | void setClientMinimizedMode(ClientMinimizedMode minimizedMode); | 257 | void setClientMinimizedMode(ClientMinimizedMode minimizedMode); | ||
258 | /** | 258 | /** | ||
259 | * @param showDesktopMode The new ShowDesktopMode to be used. | 259 | * @param showDesktopMode The new ShowDesktopMode to be used. | ||
260 | * This option only applies for TabBoxMode ClientTabBox. | 260 | * This option only applies for TabBoxMode ClientTabBox. | ||
261 | * @see showDesktopMode | 261 | * @see showDesktopMode | ||
262 | */ | 262 | **/ | ||
263 | void setShowDesktopMode(ShowDesktopMode showDesktopMode); | 263 | void setShowDesktopMode(ShowDesktopMode showDesktopMode); | ||
264 | /** | 264 | /** | ||
265 | * @param multiScreenMode The new ClientMultiScreenMode to be used. | 265 | * @param multiScreenMode The new ClientMultiScreenMode to be used. | ||
266 | * This option only applies for TabBoxMode ClientTabBox. | 266 | * This option only applies for TabBoxMode ClientTabBox. | ||
267 | * @see clientMultiScreenMode | 267 | * @see clientMultiScreenMode | ||
268 | */ | 268 | **/ | ||
269 | void setClientMultiScreenMode(ClientMultiScreenMode multiScreenMode); | 269 | void setClientMultiScreenMode(ClientMultiScreenMode multiScreenMode); | ||
270 | /** | 270 | /** | ||
271 | * @param switchingMode The new ClientSwitchingMode to be used. | 271 | * @param switchingMode The new ClientSwitchingMode to be used. | ||
272 | * This option only applies for TabBoxMode ClientTabBox. | 272 | * This option only applies for TabBoxMode ClientTabBox. | ||
273 | * @see clientSwitchingMode | 273 | * @see clientSwitchingMode | ||
274 | */ | 274 | **/ | ||
275 | void setClientSwitchingMode(ClientSwitchingMode switchingMode); | 275 | void setClientSwitchingMode(ClientSwitchingMode switchingMode); | ||
276 | /** | 276 | /** | ||
277 | * @param switchingMode The new DesktopSwitchingMode to be used. | 277 | * @param switchingMode The new DesktopSwitchingMode to be used. | ||
278 | * This option only applies for TabBoxMode DesktopTabBox. | 278 | * This option only applies for TabBoxMode DesktopTabBox. | ||
279 | * @see desktopSwitchingMode | 279 | * @see desktopSwitchingMode | ||
280 | */ | 280 | **/ | ||
281 | void setDesktopSwitchingMode(DesktopSwitchingMode switchingMode); | 281 | void setDesktopSwitchingMode(DesktopSwitchingMode switchingMode); | ||
282 | /** | 282 | /** | ||
283 | * @param name The new ItemLayout config name | 283 | * @param name The new ItemLayout config name | ||
284 | * @see layoutName | 284 | * @see layoutName | ||
285 | */ | 285 | **/ | ||
286 | void setLayoutName(const QString& name); | 286 | void setLayoutName(const QString& name); | ||
287 | 287 | | |||
288 | // some static methods to access default values | 288 | // some static methods to access default values | ||
289 | static ClientDesktopMode defaultDesktopMode() { | 289 | static ClientDesktopMode defaultDesktopMode() { | ||
290 | return OnlyCurrentDesktopClients; | 290 | return OnlyCurrentDesktopClients; | ||
291 | } | 291 | } | ||
292 | static ClientActivitiesMode defaultActivitiesMode() { | 292 | static ClientActivitiesMode defaultActivitiesMode() { | ||
293 | return OnlyCurrentActivityClients; | 293 | return OnlyCurrentActivityClients; | ||
Show All 33 Lines |