Changeset View
Changeset View
Standalone View
Standalone View
autotests/mock_abstract_client.h
Show All 32 Lines | 32 | public: | |||
---|---|---|---|---|---|
33 | explicit AbstractClient(QObject *parent); | 33 | explicit AbstractClient(QObject *parent); | ||
34 | ~AbstractClient() override; | 34 | ~AbstractClient() override; | ||
35 | 35 | | |||
36 | int screen() const; | 36 | int screen() const; | ||
37 | bool isOnScreen(int screen) const; | 37 | bool isOnScreen(int screen) const; | ||
38 | bool isActive() const; | 38 | bool isActive() const; | ||
39 | bool isFullScreen() const; | 39 | bool isFullScreen() const; | ||
40 | bool isHiddenInternal() const; | 40 | bool isHiddenInternal() const; | ||
41 | QRect geometry() const; | 41 | QRect frameGeometry() const; | ||
42 | bool keepBelow() const; | 42 | bool keepBelow() const; | ||
43 | 43 | | |||
44 | void setActive(bool active); | 44 | void setActive(bool active); | ||
45 | void setScreen(int screen); | 45 | void setScreen(int screen); | ||
46 | void setFullScreen(bool set); | 46 | void setFullScreen(bool set); | ||
47 | void setHiddenInternal(bool set); | 47 | void setHiddenInternal(bool set); | ||
48 | void setGeometry(const QRect &rect); | 48 | void setFrameGeometry(const QRect &rect); | ||
49 | void setKeepBelow(bool); | 49 | void setKeepBelow(bool); | ||
50 | bool isResize() const; | 50 | bool isResize() const; | ||
51 | void setResize(bool set); | 51 | void setResize(bool set); | ||
52 | virtual void showOnScreenEdge() = 0; | 52 | virtual void showOnScreenEdge() = 0; | ||
53 | 53 | | |||
54 | Q_SIGNALS: | 54 | Q_SIGNALS: | ||
55 | void geometryChanged(); | 55 | void geometryChanged(); | ||
56 | void keepBelowChanged(); | 56 | void keepBelowChanged(); | ||
57 | 57 | | |||
58 | private: | 58 | private: | ||
59 | bool m_active; | 59 | bool m_active; | ||
60 | int m_screen; | 60 | int m_screen; | ||
61 | bool m_fullscreen; | 61 | bool m_fullscreen; | ||
62 | bool m_hiddenInternal; | 62 | bool m_hiddenInternal; | ||
63 | bool m_keepBelow; | 63 | bool m_keepBelow; | ||
64 | QRect m_geometry; | 64 | QRect m_frameGeometry; | ||
65 | bool m_resize; | 65 | bool m_resize; | ||
66 | }; | 66 | }; | ||
67 | 67 | | |||
68 | } | 68 | } | ||
69 | 69 | | |||
70 | #endif | 70 | #endif |