Changeset View
Changeset View
Standalone View
Standalone View
src/client/plasmawindowmanagement.h
Show First 20 Lines • Show All 216 Lines • ▼ Show 20 Line(s) | 174 | public: | |||
---|---|---|---|---|---|
217 | bool isOnAllDesktops() const; | 217 | bool isOnAllDesktops() const; | ||
218 | bool isDemandingAttention() const; | 218 | bool isDemandingAttention() const; | ||
219 | bool isCloseable() const; | 219 | bool isCloseable() const; | ||
220 | bool isMaximizeable() const; | 220 | bool isMaximizeable() const; | ||
221 | bool isMinimizeable() const; | 221 | bool isMinimizeable() const; | ||
222 | bool isFullscreenable() const; | 222 | bool isFullscreenable() const; | ||
223 | bool skipTaskbar() const; | 223 | bool skipTaskbar() const; | ||
224 | QIcon icon() const; | 224 | QIcon icon() const; | ||
225 | /** | ||||
226 | * @since 5.7 | ||||
227 | */ | ||||
228 | bool isShadable() const; | ||||
229 | /** | ||||
230 | * @since 5.7 | ||||
231 | */ | ||||
232 | bool isShaded() const; | ||||
225 | 233 | | |||
226 | void requestActivate(); | 234 | void requestActivate(); | ||
227 | void requestClose(); | 235 | void requestClose(); | ||
228 | void requestVirtualDesktop(quint32 desktop); | 236 | void requestVirtualDesktop(quint32 desktop); | ||
229 | /** | 237 | /** | ||
230 | * Requests the window at this model row index have its minimized state toggled. | 238 | * Requests the window at this model row index have its minimized state toggled. | ||
231 | */ | 239 | */ | ||
232 | void requestToggleMinimized(); | 240 | void requestToggleMinimized(); | ||
Show All 12 Lines | |||||
245 | 253 | | |||
246 | /** | 254 | /** | ||
247 | * Remove the task geometry information for a particular panel | 255 | * Remove the task geometry information for a particular panel | ||
248 | * @since 5.5 | 256 | * @since 5.5 | ||
249 | */ | 257 | */ | ||
250 | void unsetMinimizedGeometry(Surface *panel); | 258 | void unsetMinimizedGeometry(Surface *panel); | ||
251 | 259 | | |||
252 | /** | 260 | /** | ||
261 | * Requests the window at this model row index have its maximized state toggled. | ||||
sebas: maximized? Should be shaded, no? | |||||
262 | * @since 5.7 | ||||
263 | */ | ||||
264 | void requestToggleShaded(); | ||||
265 | | ||||
266 | /** | ||||
253 | * An internal window identifier. | 267 | * An internal window identifier. | ||
254 | * This is not a global window identifier. | 268 | * This is not a global window identifier. | ||
255 | * This identifier does not correspond to QWindow::winId in any way. | 269 | * This identifier does not correspond to QWindow::winId in any way. | ||
256 | **/ | 270 | **/ | ||
257 | quint32 internalId() const; | 271 | quint32 internalId() const; | ||
258 | 272 | | |||
259 | Q_SIGNALS: | 273 | Q_SIGNALS: | ||
260 | void titleChanged(); | 274 | void titleChanged(); | ||
261 | void appIdChanged(); | 275 | void appIdChanged(); | ||
262 | void virtualDesktopChanged(); | 276 | void virtualDesktopChanged(); | ||
263 | void activeChanged(); | 277 | void activeChanged(); | ||
264 | void fullscreenChanged(); | 278 | void fullscreenChanged(); | ||
265 | void keepAboveChanged(); | 279 | void keepAboveChanged(); | ||
266 | void keepBelowChanged(); | 280 | void keepBelowChanged(); | ||
267 | void minimizedChanged(); | 281 | void minimizedChanged(); | ||
268 | void maximizedChanged(); | 282 | void maximizedChanged(); | ||
269 | void onAllDesktopsChanged(); | 283 | void onAllDesktopsChanged(); | ||
270 | void demandsAttentionChanged(); | 284 | void demandsAttentionChanged(); | ||
271 | void closeableChanged(); | 285 | void closeableChanged(); | ||
272 | void minimizeableChanged(); | 286 | void minimizeableChanged(); | ||
273 | void maximizeableChanged(); | 287 | void maximizeableChanged(); | ||
274 | void fullscreenableChanged(); | 288 | void fullscreenableChanged(); | ||
275 | void skipTaskbarChanged(); | 289 | void skipTaskbarChanged(); | ||
276 | void iconChanged(); | 290 | void iconChanged(); | ||
291 | void shadableChanged(); | ||||
292 | void shadedChanged(); | ||||
graesslin: please add:
@since 5.7 | |||||
277 | void unmapped(); | 293 | void unmapped(); | ||
278 | 294 | | |||
279 | private: | 295 | private: | ||
280 | friend class PlasmaWindowManagement; | 296 | friend class PlasmaWindowManagement; | ||
281 | explicit PlasmaWindow(PlasmaWindowManagement *parent, org_kde_plasma_window *dataOffer, quint32 internalId); | 297 | explicit PlasmaWindow(PlasmaWindowManagement *parent, org_kde_plasma_window *dataOffer, quint32 internalId); | ||
282 | class Private; | 298 | class Private; | ||
283 | QScopedPointer<Private> d; | 299 | QScopedPointer<Private> d; | ||
284 | }; | 300 | }; | ||
285 | 301 | | |||
286 | } | 302 | } | ||
287 | } | 303 | } | ||
288 | 304 | | |||
289 | Q_DECLARE_METATYPE(KWayland::Client::PlasmaWindow*) | 305 | Q_DECLARE_METATYPE(KWayland::Client::PlasmaWindow*) | ||
290 | 306 | | |||
291 | #endif | 307 | #endif |
maximized? Should be shaded, no?