From 8cb674aa75e39a8681c6dcf7c8a1b0bf95043237 Mon Sep 17 00:00:00 2001 From: Matthias Kretz Date: Mon, 27 Aug 2007 20:48:55 +0000 Subject: [PATCH] compile using KDE3_SUPPORT for KCModule; fix forward decl. svn path=/trunk/KDE/kdebase/workspace/; revision=705387 --- effects/presentwindows_config.h | 2 ++ effects/shadow_config.h | 2 ++ kcmkwin/kwincompositing/main.h | 2 ++ kcmkwin/kwindecoration/kwindecoration.h | 2 ++ kcmkwin/kwineffects/main.h | 2 ++ kcmkwin/kwinoptions/main.h | 2 ++ kcmkwin/kwinrules/kcm.h | 2 ++ 7 files changed, 14 insertions(+) diff --git a/effects/presentwindows_config.h b/effects/presentwindows_config.h index 147ceed70e..faae21c500 100644 --- a/effects/presentwindows_config.h +++ b/effects/presentwindows_config.h @@ -11,7 +11,9 @@ License. See the file "COPYING" for the exact licensing terms. #ifndef KWIN_PRESENTWINDOWS_CONFIG_H #define KWIN_PRESENTWINDOWS_CONFIG_H +#define KDE3_SUPPORT #include +#undef KDE3_SUPPORT class QComboBox; diff --git a/effects/shadow_config.h b/effects/shadow_config.h index 379ae364ab..4a82cf45b4 100644 --- a/effects/shadow_config.h +++ b/effects/shadow_config.h @@ -11,7 +11,9 @@ License. See the file "COPYING" for the exact licensing terms. #ifndef KWIN_SHADOW_CONFIG_H #define KWIN_SHADOW_CONFIG_H +#define KDE3_SUPPORT #include +#undef KDE3_SUPPORT class QSpinBox; diff --git a/kcmkwin/kwincompositing/main.h b/kcmkwin/kwincompositing/main.h index d3e59fa2d1..535a8950de 100644 --- a/kcmkwin/kwincompositing/main.h +++ b/kcmkwin/kwincompositing/main.h @@ -12,7 +12,9 @@ License. See the file "COPYING" for the exact licensing terms. #ifndef __MAIN_H__ #define __MAIN_H__ +#define KDE3_SUPPORT #include +#undef KDE3_SUPPORT #include diff --git a/kcmkwin/kwindecoration/kwindecoration.h b/kcmkwin/kwindecoration/kwindecoration.h index 3e0bbc07e0..bd1bf23e5d 100644 --- a/kcmkwin/kwindecoration/kwindecoration.h +++ b/kcmkwin/kwindecoration/kwindecoration.h @@ -30,7 +30,9 @@ #ifndef KWINDECORATION_H #define KWINDECORATION_H +#define KDE3_SUPPORT #include +#undef KDE3_SUPPORT #include "buttons.h" #include #include diff --git a/kcmkwin/kwineffects/main.h b/kcmkwin/kwineffects/main.h index 22074051ec..79dd058720 100644 --- a/kcmkwin/kwineffects/main.h +++ b/kcmkwin/kwineffects/main.h @@ -12,7 +12,9 @@ License. See the file "COPYING" for the exact licensing terms. #ifndef __MAIN_H__ #define __MAIN_H__ +#define KDE3_SUPPORT #include +#undef KDE3_SUPPORT #include #include diff --git a/kcmkwin/kwinoptions/main.h b/kcmkwin/kwinoptions/main.h index cd3213559a..dc6272dc37 100644 --- a/kcmkwin/kwinoptions/main.h +++ b/kcmkwin/kwinoptions/main.h @@ -26,7 +26,9 @@ #define __MAIN_H__ #include +#define KDE3_SUPPORT #include +#undef KDE3_SUPPORT class KConfig; class KFocusConfig; diff --git a/kcmkwin/kwinrules/kcm.h b/kcmkwin/kwinrules/kcm.h index c263e4dd98..d9f1a36814 100644 --- a/kcmkwin/kwinrules/kcm.h +++ b/kcmkwin/kwinrules/kcm.h @@ -20,7 +20,9 @@ #ifndef __KCM_H__ #define __KCM_H__ +#define KDE3_SUPPORT #include +#undef KDE3_SUPPORT #include class KConfig;