Changeset View
Changeset View
Standalone View
Standalone View
libkwineffects/kwineffects.h
Show First 20 Lines • Show All 2060 Lines • ▼ Show 20 Line(s) | 1802 | { | |||
---|---|---|---|---|---|
2061 | /** | 2061 | /** | ||
2062 | * KWin internal window. Specific to Wayland platform. | 2062 | * KWin internal window. Specific to Wayland platform. | ||
2063 | * | 2063 | * | ||
2064 | * If the EffectWindow does not reference an internal window, this property is @c null. | 2064 | * If the EffectWindow does not reference an internal window, this property is @c null. | ||
2065 | * @since 5.16 | 2065 | * @since 5.16 | ||
2066 | **/ | 2066 | **/ | ||
2067 | Q_PROPERTY(QWindow *internalWindow READ internalWindow CONSTANT) | 2067 | Q_PROPERTY(QWindow *internalWindow READ internalWindow CONSTANT) | ||
2068 | 2068 | | |||
2069 | /** | ||||
2070 | * Whether this is composited outline visual. | ||||
2071 | * | ||||
2072 | * @since 5.16 | ||||
2073 | **/ | ||||
2074 | Q_PROPERTY(bool outline READ isOutline CONSTANT) | ||||
2075 | | ||||
2069 | public: | 2076 | public: | ||
2070 | /** Flags explaining why painting should be disabled */ | 2077 | /** Flags explaining why painting should be disabled */ | ||
2071 | enum { | 2078 | enum { | ||
2072 | /** Window will not be painted */ | 2079 | /** Window will not be painted */ | ||
2073 | PAINT_DISABLED = 1 << 0, | 2080 | PAINT_DISABLED = 1 << 0, | ||
2074 | /** Window will not be painted because it is deleted */ | 2081 | /** Window will not be painted because it is deleted */ | ||
2075 | PAINT_DISABLED_BY_DELETE = 1 << 1, | 2082 | PAINT_DISABLED_BY_DELETE = 1 << 1, | ||
2076 | /** Window will not be painted because of which desktop it's on */ | 2083 | /** Window will not be painted because of which desktop it's on */ | ||
▲ Show 20 Lines • Show All 273 Lines • ▼ Show 20 Line(s) | 2132 | #endif | |||
2350 | virtual bool isPopupWindow() const = 0; | 2357 | virtual bool isPopupWindow() const = 0; | ||
2351 | 2358 | | |||
2352 | /** | 2359 | /** | ||
2353 | * @since 5.16 | 2360 | * @since 5.16 | ||
2354 | **/ | 2361 | **/ | ||
2355 | virtual QWindow *internalWindow() const = 0; | 2362 | virtual QWindow *internalWindow() const = 0; | ||
2356 | 2363 | | |||
2357 | /** | 2364 | /** | ||
2365 | * @since 5.16 | ||||
2366 | **/ | ||||
2367 | virtual bool isOutline() const = 0; | ||||
2368 | | ||||
2369 | /** | ||||
2358 | * Can be used to by effects to store arbitrary data in the EffectWindow. | 2370 | * Can be used to by effects to store arbitrary data in the EffectWindow. | ||
2359 | * | 2371 | * | ||
2360 | * Invoking this method will emit the signal EffectsHandler::windowDataChanged. | 2372 | * Invoking this method will emit the signal EffectsHandler::windowDataChanged. | ||
2361 | * @see EffectsHandler::windowDataChanged | 2373 | * @see EffectsHandler::windowDataChanged | ||
2362 | **/ | 2374 | **/ | ||
2363 | Q_SCRIPTABLE virtual void setData(int role, const QVariant &data) = 0; | 2375 | Q_SCRIPTABLE virtual void setData(int role, const QVariant &data) = 0; | ||
2364 | Q_SCRIPTABLE virtual QVariant data(int role) const = 0; | 2376 | Q_SCRIPTABLE virtual QVariant data(int role) const = 0; | ||
2365 | 2377 | | |||
▲ Show 20 Lines • Show All 1557 Lines • Show Last 20 Lines |