Changeset View
Changeset View
Standalone View
Standalone View
autotests/test_window_paint_data.cpp
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 | 20 | | |||
21 | #include <kwineffects.h> | 21 | #include <kwineffects.h> | ||
22 | #include "../virtualdesktops.h" | ||||
22 | 23 | | |||
23 | #include <QVector2D> | 24 | #include <QVector2D> | ||
24 | #include <QGraphicsRotation> | 25 | #include <QGraphicsRotation> | ||
25 | #include <QGraphicsScale> | 26 | #include <QGraphicsScale> | ||
26 | 27 | | |||
27 | #include <QtTest> | 28 | #include <QtTest> | ||
28 | 29 | | |||
29 | using namespace KWin; | 30 | using namespace KWin; | ||
Show All 37 Lines | 57 | public: | |||
67 | virtual EffectWindowList mainWindows() const; | 68 | virtual EffectWindowList mainWindows() const; | ||
68 | virtual QByteArray readProperty(long int atom, long int type, int format) const; | 69 | virtual QByteArray readProperty(long int atom, long int type, int format) const; | ||
69 | virtual void refWindow(); | 70 | virtual void refWindow(); | ||
70 | virtual void unrefWindow(); | 71 | virtual void unrefWindow(); | ||
71 | virtual QRegion shape() const; | 72 | virtual QRegion shape() const; | ||
72 | virtual void setData(int role, const QVariant &data); | 73 | virtual void setData(int role, const QVariant &data); | ||
73 | virtual void referencePreviousWindowPixmap() {} | 74 | virtual void referencePreviousWindowPixmap() {} | ||
74 | virtual void unreferencePreviousWindowPixmap() {} | 75 | virtual void unreferencePreviousWindowPixmap() {} | ||
76 | QList<int> desktops() const { return {};} | ||||
zzagUnsubmitted Not Done zzag: ```lang=cpp
return {};
``` | |||||
75 | }; | 77 | }; | ||
76 | 78 | | |||
77 | MockEffectWindow::MockEffectWindow(QObject *parent) | 79 | MockEffectWindow::MockEffectWindow(QObject *parent) | ||
78 | : EffectWindow(parent) | 80 | : EffectWindow(parent) | ||
79 | { | 81 | { | ||
80 | } | 82 | } | ||
81 | 83 | | |||
82 | WindowQuadList MockEffectWindow::buildQuads(bool force) const | 84 | WindowQuadList MockEffectWindow::buildQuads(bool force) const | ||
▲ Show 20 Lines • Show All 251 Lines • Show Last 20 Lines |