Changeset View
Changeset View
Standalone View
Standalone View
shell_client.h
Show First 20 Lines • Show All 53 Lines • ▼ Show 20 Line(s) | 53 | public: | |||
---|---|---|---|---|---|
54 | ShellClient(KWayland::Server::ShellSurfaceInterface *surface); | 54 | ShellClient(KWayland::Server::ShellSurfaceInterface *surface); | ||
55 | ShellClient(KWayland::Server::XdgShellSurfaceInterface *surface); | 55 | ShellClient(KWayland::Server::XdgShellSurfaceInterface *surface); | ||
56 | ShellClient(KWayland::Server::XdgShellPopupInterface *surface); | 56 | ShellClient(KWayland::Server::XdgShellPopupInterface *surface); | ||
57 | virtual ~ShellClient(); | 57 | virtual ~ShellClient(); | ||
58 | 58 | | |||
59 | bool eventFilter(QObject *watched, QEvent *event) override; | 59 | bool eventFilter(QObject *watched, QEvent *event) override; | ||
60 | 60 | | |||
61 | QStringList activities() const override; | 61 | QStringList activities() const override; | ||
62 | QStringList plasmaDesktops() const override; | ||||
63 | void unSetDesktop(int desktop) override; | ||||
62 | QPoint clientContentPos() const override; | 64 | QPoint clientContentPos() const override; | ||
63 | QSize clientSize() const override; | 65 | QSize clientSize() const override; | ||
64 | QRect transparentRect() const override; | 66 | QRect transparentRect() const override; | ||
65 | NET::WindowType windowType(bool direct = false, int supported_types = 0) const override; | 67 | NET::WindowType windowType(bool direct = false, int supported_types = 0) const override; | ||
66 | void debug(QDebug &stream) const override; | 68 | void debug(QDebug &stream) const override; | ||
67 | double opacity() const override; | 69 | double opacity() const override; | ||
68 | void setOpacity(double opacity) override; | 70 | void setOpacity(double opacity) override; | ||
69 | QByteArray windowRole() const override; | 71 | QByteArray windowRole() const override; | ||
▲ Show 20 Lines • Show All 92 Lines • ▼ Show 20 Line(s) | |||||
162 | void popupDone() override; | 164 | void popupDone() override; | ||
163 | 165 | | |||
164 | void updateColorScheme() override; | 166 | void updateColorScheme() override; | ||
165 | 167 | | |||
166 | protected: | 168 | protected: | ||
167 | void addDamage(const QRegion &damage) override; | 169 | void addDamage(const QRegion &damage) override; | ||
168 | bool belongsToSameApplication(const AbstractClient *other, SameApplicationChecks checks) const override; | 170 | bool belongsToSameApplication(const AbstractClient *other, SameApplicationChecks checks) const override; | ||
169 | void doSetActive() override; | 171 | void doSetActive() override; | ||
172 | void doSetDesktop(int desktop, int was_desk) override; | ||||
170 | Layer layerForDock() const override; | 173 | Layer layerForDock() const override; | ||
171 | void changeMaximize(bool horizontal, bool vertical, bool adjust) override; | 174 | void changeMaximize(bool horizontal, bool vertical, bool adjust) override; | ||
172 | void setGeometryRestore(const QRect &geo) override { | 175 | void setGeometryRestore(const QRect &geo) override { | ||
173 | m_geomMaximizeRestore = geo; | 176 | m_geomMaximizeRestore = geo; | ||
174 | } | 177 | } | ||
175 | void doResizeSync() override; | 178 | void doResizeSync() override; | ||
176 | bool isWaitingForMoveResizeSync() const override; | 179 | bool isWaitingForMoveResizeSync() const override; | ||
177 | bool acceptsFocus() const override; | 180 | bool acceptsFocus() const override; | ||
▲ Show 20 Lines • Show All 93 Lines • Show Last 20 Lines |