Changeset View
Changeset View
Standalone View
Standalone View
toplevel.h
Show First 20 Lines • Show All 93 Lines • ▼ Show 20 Line(s) | 74 | { | |||
---|---|---|---|---|---|
94 | Q_PROPERTY(QRect rect READ rect) | 94 | Q_PROPERTY(QRect rect READ rect) | ||
95 | Q_PROPERTY(QPoint clientPos READ clientPos) | 95 | Q_PROPERTY(QPoint clientPos READ clientPos) | ||
96 | Q_PROPERTY(QSize clientSize READ clientSize) | 96 | Q_PROPERTY(QSize clientSize READ clientSize) | ||
97 | Q_PROPERTY(QByteArray resourceName READ resourceName NOTIFY windowClassChanged) | 97 | Q_PROPERTY(QByteArray resourceName READ resourceName NOTIFY windowClassChanged) | ||
98 | Q_PROPERTY(QByteArray resourceClass READ resourceClass NOTIFY windowClassChanged) | 98 | Q_PROPERTY(QByteArray resourceClass READ resourceClass NOTIFY windowClassChanged) | ||
99 | Q_PROPERTY(QByteArray windowRole READ windowRole NOTIFY windowRoleChanged) | 99 | Q_PROPERTY(QByteArray windowRole READ windowRole NOTIFY windowRoleChanged) | ||
100 | /** | 100 | /** | ||
101 | * Returns whether the window is a desktop background window (the one with wallpaper). | 101 | * Returns whether the window is a desktop background window (the one with wallpaper). | ||
102 | * See _NET_WM_WINDOW_TYPE_DESKTOP at http://standards.freedesktop.org/wm-spec/wm-spec-latest.html . | 102 | * See _NET_WM_WINDOW_TYPE_DESKTOP at https://standards.freedesktop.org/wm-spec/wm-spec-latest.html . | ||
103 | **/ | 103 | **/ | ||
104 | Q_PROPERTY(bool desktopWindow READ isDesktop) | 104 | Q_PROPERTY(bool desktopWindow READ isDesktop) | ||
105 | /** | 105 | /** | ||
106 | * Returns whether the window is a dock (i.e. a panel). | 106 | * Returns whether the window is a dock (i.e. a panel). | ||
107 | * See _NET_WM_WINDOW_TYPE_DOCK at http://standards.freedesktop.org/wm-spec/wm-spec-latest.html . | 107 | * See _NET_WM_WINDOW_TYPE_DOCK at https://standards.freedesktop.org/wm-spec/wm-spec-latest.html . | ||
108 | **/ | 108 | **/ | ||
109 | Q_PROPERTY(bool dock READ isDock) | 109 | Q_PROPERTY(bool dock READ isDock) | ||
110 | /** | 110 | /** | ||
111 | * Returns whether the window is a standalone (detached) toolbar window. | 111 | * Returns whether the window is a standalone (detached) toolbar window. | ||
112 | * See _NET_WM_WINDOW_TYPE_TOOLBAR at http://standards.freedesktop.org/wm-spec/wm-spec-latest.html . | 112 | * See _NET_WM_WINDOW_TYPE_TOOLBAR at https://standards.freedesktop.org/wm-spec/wm-spec-latest.html . | ||
113 | **/ | 113 | **/ | ||
114 | Q_PROPERTY(bool toolbar READ isToolbar) | 114 | Q_PROPERTY(bool toolbar READ isToolbar) | ||
115 | /** | 115 | /** | ||
116 | * Returns whether the window is a torn-off menu. | 116 | * Returns whether the window is a torn-off menu. | ||
117 | * See _NET_WM_WINDOW_TYPE_MENU at http://standards.freedesktop.org/wm-spec/wm-spec-latest.html . | 117 | * See _NET_WM_WINDOW_TYPE_MENU at https://standards.freedesktop.org/wm-spec/wm-spec-latest.html . | ||
118 | **/ | 118 | **/ | ||
119 | Q_PROPERTY(bool menu READ isMenu) | 119 | Q_PROPERTY(bool menu READ isMenu) | ||
120 | /** | 120 | /** | ||
121 | * Returns whether the window is a "normal" window, i.e. an application or any other window | 121 | * Returns whether the window is a "normal" window, i.e. an application or any other window | ||
122 | * for which none of the specialized window types fit. | 122 | * for which none of the specialized window types fit. | ||
123 | * See _NET_WM_WINDOW_TYPE_NORMAL at http://standards.freedesktop.org/wm-spec/wm-spec-latest.html . | 123 | * See _NET_WM_WINDOW_TYPE_NORMAL at https://standards.freedesktop.org/wm-spec/wm-spec-latest.html . | ||
124 | **/ | 124 | **/ | ||
125 | Q_PROPERTY(bool normalWindow READ isNormalWindow) | 125 | Q_PROPERTY(bool normalWindow READ isNormalWindow) | ||
126 | /** | 126 | /** | ||
127 | * Returns whether the window is a dialog window. | 127 | * Returns whether the window is a dialog window. | ||
128 | * See _NET_WM_WINDOW_TYPE_DIALOG at http://standards.freedesktop.org/wm-spec/wm-spec-latest.html . | 128 | * See _NET_WM_WINDOW_TYPE_DIALOG at https://standards.freedesktop.org/wm-spec/wm-spec-latest.html . | ||
129 | **/ | 129 | **/ | ||
130 | Q_PROPERTY(bool dialog READ isDialog) | 130 | Q_PROPERTY(bool dialog READ isDialog) | ||
131 | /** | 131 | /** | ||
132 | * Returns whether the window is a splashscreen. Note that many (especially older) applications | 132 | * Returns whether the window is a splashscreen. Note that many (especially older) applications | ||
133 | * do not support marking their splash windows with this type. | 133 | * do not support marking their splash windows with this type. | ||
134 | * See _NET_WM_WINDOW_TYPE_SPLASH at http://standards.freedesktop.org/wm-spec/wm-spec-latest.html . | 134 | * See _NET_WM_WINDOW_TYPE_SPLASH at https://standards.freedesktop.org/wm-spec/wm-spec-latest.html . | ||
135 | **/ | 135 | **/ | ||
136 | Q_PROPERTY(bool splash READ isSplash) | 136 | Q_PROPERTY(bool splash READ isSplash) | ||
137 | /** | 137 | /** | ||
138 | * Returns whether the window is a utility window, such as a tool window. | 138 | * Returns whether the window is a utility window, such as a tool window. | ||
139 | * See _NET_WM_WINDOW_TYPE_UTILITY at http://standards.freedesktop.org/wm-spec/wm-spec-latest.html . | 139 | * See _NET_WM_WINDOW_TYPE_UTILITY at https://standards.freedesktop.org/wm-spec/wm-spec-latest.html . | ||
140 | **/ | 140 | **/ | ||
141 | Q_PROPERTY(bool utility READ isUtility) | 141 | Q_PROPERTY(bool utility READ isUtility) | ||
142 | /** | 142 | /** | ||
143 | * Returns whether the window is a dropdown menu (i.e. a popup directly or indirectly open | 143 | * Returns whether the window is a dropdown menu (i.e. a popup directly or indirectly open | ||
144 | * from the applications menubar). | 144 | * from the applications menubar). | ||
145 | * See _NET_WM_WINDOW_TYPE_DROPDOWN_MENU at http://standards.freedesktop.org/wm-spec/wm-spec-latest.html . | 145 | * See _NET_WM_WINDOW_TYPE_DROPDOWN_MENU at https://standards.freedesktop.org/wm-spec/wm-spec-latest.html . | ||
146 | **/ | 146 | **/ | ||
147 | Q_PROPERTY(bool dropdownMenu READ isDropdownMenu) | 147 | Q_PROPERTY(bool dropdownMenu READ isDropdownMenu) | ||
148 | /** | 148 | /** | ||
149 | * Returns whether the window is a popup menu (that is not a torn-off or dropdown menu). | 149 | * Returns whether the window is a popup menu (that is not a torn-off or dropdown menu). | ||
150 | * See _NET_WM_WINDOW_TYPE_POPUP_MENU at http://standards.freedesktop.org/wm-spec/wm-spec-latest.html . | 150 | * See _NET_WM_WINDOW_TYPE_POPUP_MENU at https://standards.freedesktop.org/wm-spec/wm-spec-latest.html . | ||
151 | **/ | 151 | **/ | ||
152 | Q_PROPERTY(bool popupMenu READ isPopupMenu) | 152 | Q_PROPERTY(bool popupMenu READ isPopupMenu) | ||
153 | /** | 153 | /** | ||
154 | * Returns whether the window is a tooltip. | 154 | * Returns whether the window is a tooltip. | ||
155 | * See _NET_WM_WINDOW_TYPE_TOOLTIP at http://standards.freedesktop.org/wm-spec/wm-spec-latest.html . | 155 | * See _NET_WM_WINDOW_TYPE_TOOLTIP at https://standards.freedesktop.org/wm-spec/wm-spec-latest.html . | ||
156 | **/ | 156 | **/ | ||
157 | Q_PROPERTY(bool tooltip READ isTooltip) | 157 | Q_PROPERTY(bool tooltip READ isTooltip) | ||
158 | /** | 158 | /** | ||
159 | * Returns whether the window is a window with a notification. | 159 | * Returns whether the window is a window with a notification. | ||
160 | * See _NET_WM_WINDOW_TYPE_NOTIFICATION at http://standards.freedesktop.org/wm-spec/wm-spec-latest.html . | 160 | * See _NET_WM_WINDOW_TYPE_NOTIFICATION at https://standards.freedesktop.org/wm-spec/wm-spec-latest.html . | ||
161 | **/ | 161 | **/ | ||
162 | Q_PROPERTY(bool notification READ isNotification) | 162 | Q_PROPERTY(bool notification READ isNotification) | ||
163 | /** | 163 | /** | ||
164 | * Returns whether the window is an On Screen Display. | 164 | * Returns whether the window is an On Screen Display. | ||
165 | **/ | 165 | **/ | ||
166 | Q_PROPERTY(bool onScreenDisplay READ isOnScreenDisplay) | 166 | Q_PROPERTY(bool onScreenDisplay READ isOnScreenDisplay) | ||
167 | /** | 167 | /** | ||
168 | * Returns whether the window is a combobox popup. | 168 | * Returns whether the window is a combobox popup. | ||
169 | * See _NET_WM_WINDOW_TYPE_COMBO at http://standards.freedesktop.org/wm-spec/wm-spec-latest.html . | 169 | * See _NET_WM_WINDOW_TYPE_COMBO at https://standards.freedesktop.org/wm-spec/wm-spec-latest.html . | ||
170 | **/ | 170 | **/ | ||
171 | Q_PROPERTY(bool comboBox READ isComboBox) | 171 | Q_PROPERTY(bool comboBox READ isComboBox) | ||
172 | /** | 172 | /** | ||
173 | * Returns whether the window is a Drag&Drop icon. | 173 | * Returns whether the window is a Drag&Drop icon. | ||
174 | * See _NET_WM_WINDOW_TYPE_DND at http://standards.freedesktop.org/wm-spec/wm-spec-latest.html . | 174 | * See _NET_WM_WINDOW_TYPE_DND at https://standards.freedesktop.org/wm-spec/wm-spec-latest.html . | ||
175 | **/ | 175 | **/ | ||
176 | Q_PROPERTY(bool dndIcon READ isDNDIcon) | 176 | Q_PROPERTY(bool dndIcon READ isDNDIcon) | ||
177 | /** | 177 | /** | ||
178 | * Returns the NETWM window type | 178 | * Returns the NETWM window type | ||
179 | * See http://standards.freedesktop.org/wm-spec/wm-spec-latest.html . | 179 | * See https://standards.freedesktop.org/wm-spec/wm-spec-latest.html . | ||
180 | **/ | 180 | **/ | ||
181 | Q_PROPERTY(int windowType READ windowType) | 181 | Q_PROPERTY(int windowType READ windowType) | ||
182 | Q_PROPERTY(QStringList activities READ activities NOTIFY activitiesChanged) | 182 | Q_PROPERTY(QStringList activities READ activities NOTIFY activitiesChanged) | ||
183 | /** | 183 | /** | ||
184 | * Whether this Toplevel is managed by KWin (it has control over its placement and other | 184 | * Whether this Toplevel is managed by KWin (it has control over its placement and other | ||
185 | * aspects, as opposed to override-redirect windows that are entirely handled by the application). | 185 | * aspects, as opposed to override-redirect windows that are entirely handled by the application). | ||
186 | **/ | 186 | **/ | ||
187 | Q_PROPERTY(bool managed READ isClient CONSTANT) | 187 | Q_PROPERTY(bool managed READ isClient CONSTANT) | ||
▲ Show 20 Lines • Show All 723 Lines • Show Last 20 Lines |