Changeset View
Changeset View
Standalone View
Standalone View
libkwineffects/kwineffects.h
Show First 20 Lines • Show All 1973 Lines • ▼ Show 20 Line(s) | 1746 | { | |||
---|---|---|---|---|---|
1974 | * Whether this client is unresponsive. | 1974 | * Whether this client is unresponsive. | ||
1975 | * | 1975 | * | ||
1976 | * When an application failed to react on a ping request in time, it is | 1976 | * When an application failed to react on a ping request in time, it is | ||
1977 | * considered unresponsive. This usually indicates that the application froze or crashed. | 1977 | * considered unresponsive. This usually indicates that the application froze or crashed. | ||
1978 | * | 1978 | * | ||
1979 | * @since 5.10 | 1979 | * @since 5.10 | ||
1980 | */ | 1980 | */ | ||
1981 | Q_PROPERTY(bool unresponsive READ isUnresponsive) | 1981 | Q_PROPERTY(bool unresponsive READ isUnresponsive) | ||
1982 | | ||||
1983 | /** | ||||
1984 | * Whether the window is a popup. | ||||
1985 | * | ||||
1986 | * A popup is a window that can be used to implement tooltips, combo box popups, | ||||
1987 | * popup menus and other similar user interface concepts. | ||||
1988 | * | ||||
1989 | * @since 5.XX | ||||
1990 | **/ | ||||
1991 | Q_PROPERTY(bool popupWindow READ isPopupWindow CONSTANT) | ||||
1992 | | ||||
1982 | public: | 1993 | public: | ||
1983 | /** Flags explaining why painting should be disabled */ | 1994 | /** Flags explaining why painting should be disabled */ | ||
1984 | enum { | 1995 | enum { | ||
1985 | /** Window will not be painted */ | 1996 | /** Window will not be painted */ | ||
1986 | PAINT_DISABLED = 1 << 0, | 1997 | PAINT_DISABLED = 1 << 0, | ||
1987 | /** Window will not be painted because it is deleted */ | 1998 | /** Window will not be painted because it is deleted */ | ||
1988 | PAINT_DISABLED_BY_DELETE = 1 << 1, | 1999 | PAINT_DISABLED_BY_DELETE = 1 << 1, | ||
1989 | /** Window will not be painted because of which desktop it's on */ | 2000 | /** Window will not be painted because of which desktop it's on */ | ||
▲ Show 20 Lines • Show All 236 Lines • ▼ Show 20 Line(s) | |||||
2226 | bool isFullScreen() const; | 2237 | bool isFullScreen() const; | ||
2227 | 2238 | | |||
2228 | /** | 2239 | /** | ||
2229 | * @since 5.10 | 2240 | * @since 5.10 | ||
2230 | */ | 2241 | */ | ||
2231 | bool isUnresponsive() const; | 2242 | bool isUnresponsive() const; | ||
2232 | 2243 | | |||
2233 | /** | 2244 | /** | ||
2245 | * @since 5.XX | ||||
2246 | **/ | ||||
2247 | bool isPopupWindow() const; | ||||
2248 | | ||||
2249 | /** | ||||
2234 | * Can be used to by effects to store arbitrary data in the EffectWindow. | 2250 | * Can be used to by effects to store arbitrary data in the EffectWindow. | ||
2235 | * | 2251 | * | ||
2236 | * Invoking this method will emit the signal EffectsHandler::windowDataChanged. | 2252 | * Invoking this method will emit the signal EffectsHandler::windowDataChanged. | ||
2237 | * @see EffectsHandler::windowDataChanged | 2253 | * @see EffectsHandler::windowDataChanged | ||
2238 | */ | 2254 | */ | ||
2239 | Q_SCRIPTABLE virtual void setData(int role, const QVariant &data) = 0; | 2255 | Q_SCRIPTABLE virtual void setData(int role, const QVariant &data) = 0; | ||
2240 | Q_SCRIPTABLE virtual QVariant data(int role) const = 0; | 2256 | Q_SCRIPTABLE virtual QVariant data(int role) const = 0; | ||
2241 | 2257 | | |||
▲ Show 20 Lines • Show All 1497 Lines • Show Last 20 Lines |