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