Changeset View
Changeset View
Standalone View
Standalone View
decorations/decoratedclient.h
Show All 13 Lines | |||||
14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
15 | GNU General Public License for more details. | 15 | GNU General Public License for more details. | ||
16 | 16 | | |||
17 | You should have received a copy of the GNU General Public License | 17 | You should have received a copy of the GNU General Public License | ||
18 | along with this program. If not, see <http://www.gnu.org/licenses/>. | 18 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
19 | *********************************************************************/ | 19 | *********************************************************************/ | ||
20 | #ifndef KWIN_DECORATED_CLIENT_H | 20 | #ifndef KWIN_DECORATED_CLIENT_H | ||
21 | #define KWIN_DECORATED_CLIENT_H | 21 | #define KWIN_DECORATED_CLIENT_H | ||
22 | #include "options.h" | ||||
22 | 23 | | |||
23 | #include <KDecoration2/Private/DecoratedClientPrivate> | 24 | #include <KDecoration2/Private/DecoratedClientPrivate> | ||
24 | 25 | | |||
25 | #include <QObject> | 26 | #include <QObject> | ||
26 | 27 | | |||
27 | namespace KWin | 28 | namespace KWin | ||
28 | { | 29 | { | ||
29 | 30 | | |||
▲ Show 20 Lines • Show All 56 Lines • ▼ Show 20 Line(s) | 41 | public: | |||
86 | } | 87 | } | ||
87 | void destroyRenderer(); | 88 | void destroyRenderer(); | ||
88 | KDecoration2::DecoratedClient *decoratedClient() { | 89 | KDecoration2::DecoratedClient *decoratedClient() { | ||
89 | return KDecoration2::DecoratedClientPrivate::client(); | 90 | return KDecoration2::DecoratedClientPrivate::client(); | ||
90 | } | 91 | } | ||
91 | 92 | | |||
92 | void signalShadeChange(); | 93 | void signalShadeChange(); | ||
93 | 94 | | |||
95 | private Q_SLOTS: | ||||
96 | void delayedRequestToggleMaximization(Options::WindowOperation operation); | ||||
97 | | ||||
94 | private: | 98 | private: | ||
95 | void createRenderer(); | 99 | void createRenderer(); | ||
96 | AbstractClient *m_client; | 100 | AbstractClient *m_client; | ||
97 | Renderer *m_renderer; | 101 | Renderer *m_renderer; | ||
98 | }; | 102 | }; | ||
99 | 103 | | |||
100 | } | 104 | } | ||
101 | } | 105 | } | ||
102 | 106 | | |||
103 | #endif | 107 | #endif |