Changeset View
Changeset View
Standalone View
Standalone View
effects/effect_builtins.cpp
Show All 25 Lines | |||||
26 | #include "kscreen/kscreen.h" | 26 | #include "kscreen/kscreen.h" | ||
27 | #include "presentwindows/presentwindows.h" | 27 | #include "presentwindows/presentwindows.h" | ||
28 | #include "screenedge/screenedgeeffect.h" | 28 | #include "screenedge/screenedgeeffect.h" | ||
29 | #include "screenshot/screenshot.h" | 29 | #include "screenshot/screenshot.h" | ||
30 | #include "slidingpopups/slidingpopups.h" | 30 | #include "slidingpopups/slidingpopups.h" | ||
31 | // Common effects only relevant to desktop | 31 | // Common effects only relevant to desktop | ||
32 | #include "desktopgrid/desktopgrid.h" | 32 | #include "desktopgrid/desktopgrid.h" | ||
33 | #include "diminactive/diminactive.h" | 33 | #include "diminactive/diminactive.h" | ||
34 | #include "dimscreen/dimscreen.h" | | |||
35 | #include "fallapart/fallapart.h" | 34 | #include "fallapart/fallapart.h" | ||
36 | #include "highlightwindow/highlightwindow.h" | 35 | #include "highlightwindow/highlightwindow.h" | ||
37 | #include "magiclamp/magiclamp.h" | 36 | #include "magiclamp/magiclamp.h" | ||
38 | #include "resize/resize.h" | 37 | #include "resize/resize.h" | ||
39 | #include "scale/scale.h" | 38 | #include "scale/scale.h" | ||
40 | #include "showfps/showfps.h" | 39 | #include "showfps/showfps.h" | ||
41 | #include "showpaint/showpaint.h" | 40 | #include "showpaint/showpaint.h" | ||
42 | #include "slide/slide.h" | 41 | #include "slide/slide.h" | ||
▲ Show 20 Lines • Show All 172 Lines • ▼ Show 20 Line(s) | 206 | }, { | |||
215 | false, | 214 | false, | ||
216 | #ifdef EFFECT_BUILTINS | 215 | #ifdef EFFECT_BUILTINS | ||
217 | &createHelper<DimInactiveEffect>, | 216 | &createHelper<DimInactiveEffect>, | ||
218 | nullptr, | 217 | nullptr, | ||
219 | nullptr | 218 | nullptr | ||
220 | #endif | 219 | #endif | ||
221 | EFFECT_FALLBACK | 220 | EFFECT_FALLBACK | ||
222 | }, { | 221 | }, { | ||
223 | QStringLiteral("dimscreen"), | | |||
224 | i18ndc("kwin_effects", "Name of a KWin Effect", "Dim Screen for Administrator Mode"), | | |||
225 | i18ndc("kwin_effects", "Comment describing the KWin Effect", "Darkens the entire screen when requesting root privileges"), | | |||
226 | QStringLiteral("Focus"), | | |||
227 | QString(), | | |||
228 | QUrl(QStringLiteral("http://files.kde.org/plasma/kwin/effect-videos/dim_administration.mp4")), | | |||
229 | false, | | |||
230 | false, | | |||
231 | #ifdef EFFECT_BUILTINS | | |||
232 | &createHelper<DimScreenEffect>, | | |||
233 | nullptr, | | |||
234 | nullptr | | |||
235 | #endif | | |||
236 | EFFECT_FALLBACK | | |||
237 | }, { | | |||
238 | QStringLiteral("fallapart"), | 222 | QStringLiteral("fallapart"), | ||
239 | i18ndc("kwin_effects", "Name of a KWin Effect", "Fall Apart"), | 223 | i18ndc("kwin_effects", "Name of a KWin Effect", "Fall Apart"), | ||
240 | i18ndc("kwin_effects", "Comment describing the KWin Effect", "Closed windows fall into pieces"), | 224 | i18ndc("kwin_effects", "Comment describing the KWin Effect", "Closed windows fall into pieces"), | ||
241 | QStringLiteral("Candy"), | 225 | QStringLiteral("Candy"), | ||
242 | QString(), | 226 | QString(), | ||
243 | QUrl(), | 227 | QUrl(), | ||
244 | false, | 228 | false, | ||
245 | false, | 229 | false, | ||
▲ Show 20 Lines • Show All 546 Lines • Show Last 20 Lines |