Changeset View
Changeset View
Standalone View
Standalone View
libkwineffects/kwineffects.cpp
Show First 20 Lines • Show All 91 Lines • ▼ Show 20 Line(s) | |||||
868 | WINDOW_HELPER_DEFAULT(QRect, iconGeometry, "iconGeometry", QRect()) | 868 | WINDOW_HELPER_DEFAULT(QRect, iconGeometry, "iconGeometry", QRect()) | ||
869 | WINDOW_HELPER_DEFAULT(bool, isSpecialWindow, "specialWindow", true) | 869 | WINDOW_HELPER_DEFAULT(bool, isSpecialWindow, "specialWindow", true) | ||
870 | WINDOW_HELPER_DEFAULT(bool, acceptsFocus, "wantsInput", true) // We don't actually know... | 870 | WINDOW_HELPER_DEFAULT(bool, acceptsFocus, "wantsInput", true) // We don't actually know... | ||
871 | WINDOW_HELPER_DEFAULT(QIcon, icon, "icon", QIcon()) | 871 | WINDOW_HELPER_DEFAULT(QIcon, icon, "icon", QIcon()) | ||
872 | WINDOW_HELPER_DEFAULT(bool, isSkipSwitcher, "skipSwitcher", false) | 872 | WINDOW_HELPER_DEFAULT(bool, isSkipSwitcher, "skipSwitcher", false) | ||
873 | WINDOW_HELPER_DEFAULT(bool, isCurrentTab, "isCurrentTab", true) | 873 | WINDOW_HELPER_DEFAULT(bool, isCurrentTab, "isCurrentTab", true) | ||
874 | WINDOW_HELPER_DEFAULT(bool, decorationHasAlpha, "decorationHasAlpha", false) | 874 | WINDOW_HELPER_DEFAULT(bool, decorationHasAlpha, "decorationHasAlpha", false) | ||
875 | WINDOW_HELPER_DEFAULT(bool, isFullScreen, "fullScreen", false) | 875 | WINDOW_HELPER_DEFAULT(bool, isFullScreen, "fullScreen", false) | ||
876 | WINDOW_HELPER_DEFAULT(bool, isUnresponsive, "unresponsive", false) | ||||
876 | 877 | | |||
877 | #undef WINDOW_HELPER_DEFAULT | 878 | #undef WINDOW_HELPER_DEFAULT | ||
878 | 879 | | |||
879 | #define WINDOW_HELPER_SETTER( prototype, propertyname, args, value ) \ | 880 | #define WINDOW_HELPER_SETTER( prototype, propertyname, args, value ) \ | ||
880 | void EffectWindow::prototype ( args ) \ | 881 | void EffectWindow::prototype ( args ) \ | ||
881 | {\ | 882 | {\ | ||
882 | const QVariant variant = parent()->property( propertyname ); \ | 883 | const QVariant variant = parent()->property( propertyname ); \ | ||
883 | if (variant.isValid()) { \ | 884 | if (variant.isValid()) { \ | ||
▲ Show 20 Lines • Show All 91 Lines • Show Last 20 Lines |