Changeset View
Changeset View
Standalone View
Standalone View
autotests/fakeeffectplugin.cpp
Show All 21 Lines | |||||
22 | namespace KWin | 22 | namespace KWin | ||
23 | { | 23 | { | ||
24 | 24 | | |||
25 | class FakeEffect : public Effect | 25 | class FakeEffect : public Effect | ||
26 | { | 26 | { | ||
27 | Q_OBJECT | 27 | Q_OBJECT | ||
28 | public: | 28 | public: | ||
29 | FakeEffect() {} | 29 | FakeEffect() {} | ||
30 | virtual ~FakeEffect() {} | 30 | ~FakeEffect() override {} | ||
31 | 31 | | |||
32 | static bool supported() { | 32 | static bool supported() { | ||
33 | return effects->isOpenGLCompositing(); | 33 | return effects->isOpenGLCompositing(); | ||
34 | } | 34 | } | ||
35 | 35 | | |||
36 | static bool enabledByDefault() { | 36 | static bool enabledByDefault() { | ||
37 | return effects->property("testEnabledByDefault").toBool(); | 37 | return effects->property("testEnabledByDefault").toBool(); | ||
38 | } | 38 | } | ||
Show All 11 Lines |