Changeset View
Changeset View
Standalone View
Standalone View
libkwineffects/kwineffects.h
Show First 20 Lines • Show All 2092 Lines • ▼ Show 20 Line(s) | 2092 | enum { | |||
---|---|---|---|---|---|
2093 | /** Window will not be painted */ | 2093 | /** Window will not be painted */ | ||
2094 | PAINT_DISABLED = 1 << 0, | 2094 | PAINT_DISABLED = 1 << 0, | ||
2095 | /** Window will not be painted because it is deleted */ | 2095 | /** Window will not be painted because it is deleted */ | ||
2096 | PAINT_DISABLED_BY_DELETE = 1 << 1, | 2096 | PAINT_DISABLED_BY_DELETE = 1 << 1, | ||
2097 | /** Window will not be painted because of which desktop it's on */ | 2097 | /** Window will not be painted because of which desktop it's on */ | ||
2098 | PAINT_DISABLED_BY_DESKTOP = 1 << 2, | 2098 | PAINT_DISABLED_BY_DESKTOP = 1 << 2, | ||
2099 | /** Window will not be painted because it is minimized */ | 2099 | /** Window will not be painted because it is minimized */ | ||
2100 | PAINT_DISABLED_BY_MINIMIZE = 1 << 3, | 2100 | PAINT_DISABLED_BY_MINIMIZE = 1 << 3, | ||
2101 | /** Window will not be painted because it is not the active window in a client group */ | 2101 | /** Deprecated, tab groups have been removed: Window will not be painted because it is not the active window in a client group */ | ||
2102 | PAINT_DISABLED_BY_TAB_GROUP = 1 << 4, | 2102 | PAINT_DISABLED_BY_TAB_GROUP = 1 << 4, | ||
2103 | /** Window will not be painted because it's not on the current activity */ | 2103 | /** Window will not be painted because it's not on the current activity */ | ||
2104 | PAINT_DISABLED_BY_ACTIVITY = 1 << 5 | 2104 | PAINT_DISABLED_BY_ACTIVITY = 1 << 5 | ||
2105 | }; | 2105 | }; | ||
2106 | 2106 | | |||
2107 | explicit EffectWindow(QObject *parent = nullptr); | 2107 | explicit EffectWindow(QObject *parent = nullptr); | ||
2108 | ~EffectWindow() override; | 2108 | ~EffectWindow() override; | ||
2109 | 2109 | | |||
▲ Show 20 Lines • Show All 218 Lines • ▼ Show 20 Line(s) | 2146 | #endif | |||
2328 | */ | 2328 | */ | ||
2329 | virtual WindowQuadList buildQuads(bool force = false) const = 0; | 2329 | virtual WindowQuadList buildQuads(bool force = false) const = 0; | ||
2330 | 2330 | | |||
2331 | void setMinimized(bool minimize); | 2331 | void setMinimized(bool minimize); | ||
2332 | virtual void minimize() = 0; | 2332 | virtual void minimize() = 0; | ||
2333 | virtual void unminimize() = 0; | 2333 | virtual void unminimize() = 0; | ||
2334 | Q_SCRIPTABLE virtual void closeWindow() = 0; | 2334 | Q_SCRIPTABLE virtual void closeWindow() = 0; | ||
2335 | 2335 | | |||
2336 | /// deprecated | ||||
2336 | virtual bool isCurrentTab() const = 0; | 2337 | virtual bool isCurrentTab() const = 0; | ||
2337 | 2338 | | |||
2338 | /** | 2339 | /** | ||
2339 | * @since 4.11 | 2340 | * @since 4.11 | ||
2340 | */ | 2341 | */ | ||
2341 | bool isVisible() const; | 2342 | bool isVisible() const; | ||
2342 | 2343 | | |||
2343 | /** | 2344 | /** | ||
▲ Show 20 Lines • Show All 1610 Lines • Show Last 20 Lines |