Changeset View
Changeset View
Standalone View
Standalone View
deleted.h
Show First 20 Lines • Show All 171 Lines • ▼ Show 20 Line(s) | 41 | public: | |||
---|---|---|---|---|---|
172 | * @returns @c true if the client was a popup, @c false otherwise. | 172 | * @returns @c true if the client was a popup, @c false otherwise. | ||
173 | **/ | 173 | **/ | ||
174 | bool isPopupWindow() const override { | 174 | bool isPopupWindow() const override { | ||
175 | return m_wasPopupWindow; | 175 | return m_wasPopupWindow; | ||
176 | } | 176 | } | ||
177 | 177 | | |||
178 | QVector<uint> x11DesktopIds() const; | 178 | QVector<uint> x11DesktopIds() const; | ||
179 | 179 | | |||
180 | /** | ||||
181 | * Whether this Deleted represents the outline. | ||||
182 | **/ | ||||
183 | bool isOutline() const override { | ||||
184 | return m_wasOutline; | ||||
185 | } | ||||
186 | | ||||
180 | protected: | 187 | protected: | ||
181 | virtual void debug(QDebug& stream) const; | 188 | virtual void debug(QDebug& stream) const; | ||
182 | 189 | | |||
183 | private Q_SLOTS: | 190 | private Q_SLOTS: | ||
184 | void mainClientClosed(KWin::Toplevel *client); | 191 | void mainClientClosed(KWin::Toplevel *client); | ||
185 | void transientForClosed(Toplevel *toplevel, Deleted *deleted); | 192 | void transientForClosed(Toplevel *toplevel, Deleted *deleted); | ||
186 | 193 | | |||
187 | private: | 194 | private: | ||
Show All 36 Lines | |||||
224 | QString m_caption; | 231 | QString m_caption; | ||
225 | bool m_wasActive; | 232 | bool m_wasActive; | ||
226 | bool m_wasX11Client; | 233 | bool m_wasX11Client; | ||
227 | bool m_wasWaylandClient; | 234 | bool m_wasWaylandClient; | ||
228 | bool m_wasGroupTransient; | 235 | bool m_wasGroupTransient; | ||
229 | ToplevelList m_transientFor; | 236 | ToplevelList m_transientFor; | ||
230 | DeletedList m_transients; | 237 | DeletedList m_transients; | ||
231 | bool m_wasPopupWindow; | 238 | bool m_wasPopupWindow; | ||
239 | bool m_wasOutline; | ||||
232 | }; | 240 | }; | ||
233 | 241 | | |||
234 | inline void Deleted::refWindow() | 242 | inline void Deleted::refWindow() | ||
235 | { | 243 | { | ||
236 | ++delete_refcount; | 244 | ++delete_refcount; | ||
237 | } | 245 | } | ||
238 | 246 | | |||
239 | } // namespace | 247 | } // namespace | ||
240 | 248 | | |||
241 | Q_DECLARE_METATYPE(KWin::Deleted*) | 249 | Q_DECLARE_METATYPE(KWin::Deleted*) | ||
242 | 250 | | |||
243 | #endif | 251 | #endif |