Changeset View
Changeset View
Standalone View
Standalone View
autotests/test_window_paint_data.cpp
Show All 14 Lines | |||||
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 | 22 | | |||
23 | #include <QtGui/QVector2D> | 23 | #include <QVector2D> | ||
24 | #include <QGraphicsRotation> | 24 | #include <QGraphicsRotation> | ||
25 | #include <QGraphicsScale> | 25 | #include <QGraphicsScale> | ||
26 | 26 | | |||
27 | #include <QtTest/QtTest> | 27 | #include <QtTest> | ||
28 | 28 | | |||
29 | using namespace KWin; | 29 | using namespace KWin; | ||
30 | 30 | | |||
31 | class MockEffectWindowHelper : public QObject | 31 | class MockEffectWindowHelper : public QObject | ||
32 | { | 32 | { | ||
33 | Q_OBJECT | 33 | Q_OBJECT | ||
34 | Q_PROPERTY(qreal opacity READ opacity WRITE setOpacity) | 34 | Q_PROPERTY(qreal opacity READ opacity WRITE setOpacity) | ||
35 | public: | 35 | public: | ||
▲ Show 20 Lines • Show All 298 Lines • Show Last 20 Lines |