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 "showfps/showfps.h" | 38 | #include "showfps/showfps.h" | ||
| 40 | #include "showpaint/showpaint.h" | 39 | #include "showpaint/showpaint.h" | ||
| 41 | #include "slide/slide.h" | 40 | #include "slide/slide.h" | ||
| 42 | #include "slideback/slideback.h" | 41 | #include "slideback/slideback.h" | ||
| ▲ Show 20 Lines • Show All 171 Lines • ▼ Show 20 Line(s) | 205 | }, { | |||
| 214 | false, | 213 | false, | ||
| 215 | #ifdef EFFECT_BUILTINS | 214 | #ifdef EFFECT_BUILTINS | ||
| 216 | &createHelper<DimInactiveEffect>, | 215 | &createHelper<DimInactiveEffect>, | ||
| 217 | nullptr, | 216 | nullptr, | ||
| 218 | nullptr | 217 | nullptr | ||
| 219 | #endif | 218 | #endif | ||
| 220 | EFFECT_FALLBACK | 219 | EFFECT_FALLBACK | ||
| 221 | }, { | 220 | }, { | ||
| 222 | QStringLiteral("dimscreen"), | | |||
| 223 | i18ndc("kwin_effects", "Name of a KWin Effect", "Dim Screen for Administrator Mode"), | | |||
| 224 | i18ndc("kwin_effects", "Comment describing the KWin Effect", "Darkens the entire screen when requesting root privileges"), | | |||
| 225 | QStringLiteral("Focus"), | | |||
| 226 | QString(), | | |||
| 227 | QUrl(QStringLiteral("http://files.kde.org/plasma/kwin/effect-videos/dim_administration.mp4")), | | |||
| 228 | false, | | |||
| 229 | false, | | |||
| 230 | #ifdef EFFECT_BUILTINS | | |||
| 231 | &createHelper<DimScreenEffect>, | | |||
| 232 | nullptr, | | |||
| 233 | nullptr | | |||
| 234 | #endif | | |||
| 235 | EFFECT_FALLBACK | | |||
| 236 | }, { | | |||
| 237 | QStringLiteral("fallapart"), | 221 | QStringLiteral("fallapart"), | ||
| 238 | i18ndc("kwin_effects", "Name of a KWin Effect", "Fall Apart"), | 222 | i18ndc("kwin_effects", "Name of a KWin Effect", "Fall Apart"), | ||
| 239 | i18ndc("kwin_effects", "Comment describing the KWin Effect", "Closed windows fall into pieces"), | 223 | i18ndc("kwin_effects", "Comment describing the KWin Effect", "Closed windows fall into pieces"), | ||
| 240 | QStringLiteral("Candy"), | 224 | QStringLiteral("Candy"), | ||
| 241 | QString(), | 225 | QString(), | ||
| 242 | QUrl(), | 226 | QUrl(), | ||
| 243 | false, | 227 | false, | ||
| 244 | false, | 228 | false, | ||
| ▲ Show 20 Lines • Show All 531 Lines • Show Last 20 Lines | |||||