Changeset View
Changeset View
Standalone View
Standalone View
effects/presentwindows/presentwindows.h
Show All 30 Lines | |||||
31 | class QQuickView; | 31 | class QQuickView; | ||
32 | 32 | | |||
33 | namespace KWin | 33 | namespace KWin | ||
34 | { | 34 | { | ||
35 | class CloseWindowView : public QObject | 35 | class CloseWindowView : public QObject | ||
36 | { | 36 | { | ||
37 | Q_OBJECT | 37 | Q_OBJECT | ||
38 | public: | 38 | public: | ||
39 | explicit CloseWindowView(QObject *parent = 0); | 39 | explicit CloseWindowView(QObject *parent = nullptr); | ||
40 | void windowInputMouseEvent(QMouseEvent* e); | 40 | void windowInputMouseEvent(QMouseEvent* e); | ||
41 | void disarm(); | 41 | void disarm(); | ||
42 | 42 | | |||
43 | void show(); | 43 | void show(); | ||
44 | void hide(); | 44 | void hide(); | ||
45 | bool isVisible() const; | 45 | bool isVisible() const; | ||
46 | 46 | | |||
47 | // delegate to QWindow | 47 | // delegate to QWindow | ||
▲ Show 20 Lines • Show All 305 Lines • Show Last 20 Lines |