Changeset View
Changeset View
Standalone View
Standalone View
shell_client.h
Show First 20 Lines • Show All 157 Lines • ▼ Show 20 Line(s) | 152 | protected: | |||
---|---|---|---|---|---|
158 | void setGeometryRestore(const QRect &geo) override { | 158 | void setGeometryRestore(const QRect &geo) override { | ||
159 | m_geomMaximizeRestore = geo; | 159 | m_geomMaximizeRestore = geo; | ||
160 | } | 160 | } | ||
161 | void doResizeSync() override; | 161 | void doResizeSync() override; | ||
162 | bool isWaitingForMoveResizeSync() const override; | 162 | bool isWaitingForMoveResizeSync() const override; | ||
163 | bool acceptsFocus() const override; | 163 | bool acceptsFocus() const override; | ||
164 | void doMinimize() override; | 164 | void doMinimize() override; | ||
165 | void doMove(int x, int y) override; | 165 | void doMove(int x, int y) override; | ||
166 | void updateCaption() override; | ||||
166 | 167 | | |||
167 | private Q_SLOTS: | 168 | private Q_SLOTS: | ||
168 | void clientFullScreenChanged(bool fullScreen); | 169 | void clientFullScreenChanged(bool fullScreen); | ||
169 | 170 | | |||
170 | private: | 171 | private: | ||
171 | void init(); | 172 | void init(); | ||
172 | template <class T> | 173 | template <class T> | ||
173 | void initSurface(T *shellSurface); | 174 | void initSurface(T *shellSurface); | ||
▲ Show 20 Lines • Show All 57 Lines • ▼ Show 20 Line(s) | 218 | public: | |||
231 | } | 232 | } | ||
232 | private: | 233 | private: | ||
233 | ShellClient *m_client; | 234 | ShellClient *m_client; | ||
234 | }; | 235 | }; | ||
235 | friend class RequestGeometryBlocker; | 236 | friend class RequestGeometryBlocker; | ||
236 | int m_requestGeometryBlockCounter = 0; | 237 | int m_requestGeometryBlockCounter = 0; | ||
237 | QRect m_blockedRequestGeometry; | 238 | QRect m_blockedRequestGeometry; | ||
238 | QString m_caption; | 239 | QString m_caption; | ||
240 | QString m_captionSuffix; | ||||
239 | 241 | | |||
240 | bool m_compositingSetup = false; | 242 | bool m_compositingSetup = false; | ||
241 | }; | 243 | }; | ||
242 | 244 | | |||
243 | } | 245 | } | ||
244 | 246 | | |||
245 | Q_DECLARE_METATYPE(KWin::ShellClient*) | 247 | Q_DECLARE_METATYPE(KWin::ShellClient*) | ||
246 | 248 | | |||
247 | #endif | 249 | #endif |