From 214d575aa3bc4ce8c3cfc4e3a50e23134186f765 Mon Sep 17 00:00:00 2001 From: Adriaan de Groot Date: Sat, 2 Feb 2008 20:54:19 +0000 Subject: [PATCH] Qt3 -> Qt4 style includes. qdrawutil.h doesn't seem to have a purely Qt4-style equivalent, so including the directory there disambiguates it from the Qt3 header. svn path=/trunk/KDE/kdebase/workspace/; revision=770116 --- client.h | 2 +- clients/modernsystem/modernsys.cpp | 2 +- clients/oxygen/oxygenclient.cpp | 10 +++++----- clients/plastik/plastikclient.cpp | 2 +- clients/redmond/redmond.cpp | 2 +- effects/desktopgrid.cpp | 3 ++- effects/desktopgrid.h | 2 +- effects/presentwindows.cpp | 2 +- effects/showfps.h | 2 +- kcmkwin/kwinoptions/windows.cpp | 8 ++++---- popupinfo.cpp | 2 +- scene.h | 2 +- sm.cpp | 2 +- sm.h | 2 +- tabbox.cpp | 2 +- toplevel.h | 2 +- workspace.h | 2 +- 17 files changed, 25 insertions(+), 24 deletions(-) diff --git a/client.h b/client.h index 50ca579b3c..cc1201f167 100644 --- a/client.h +++ b/client.h @@ -24,7 +24,7 @@ along with this program. If not, see . #include -#include +#include #include #include #include diff --git a/clients/modernsystem/modernsys.cpp b/clients/modernsystem/modernsys.cpp index 7b3e3b0a19..fb42420ea2 100644 --- a/clients/modernsystem/modernsys.cpp +++ b/clients/modernsystem/modernsys.cpp @@ -24,7 +24,7 @@ #include #include #include -#include +#include //Added by qt3to4: #include #include diff --git a/clients/oxygen/oxygenclient.cpp b/clients/oxygen/oxygenclient.cpp index 7d5fcfc4f8..f0329f5a88 100644 --- a/clients/oxygen/oxygenclient.cpp +++ b/clients/oxygen/oxygenclient.cpp @@ -33,11 +33,11 @@ #include #include -#include -#include -#include -#include -#include +#include +#include +#include +#include +#include //Added by qt3to4: #include #include diff --git a/clients/plastik/plastikclient.cpp b/clients/plastik/plastikclient.cpp index 8fb894784c..53a6fc43db 100644 --- a/clients/plastik/plastikclient.cpp +++ b/clients/plastik/plastikclient.cpp @@ -30,7 +30,7 @@ #include #include #include -#include +#include #include "plastikclient.h" #include "plastikbutton.h" diff --git a/clients/redmond/redmond.cpp b/clients/redmond/redmond.cpp index c0904dd17d..7ac5dad37c 100644 --- a/clients/redmond/redmond.cpp +++ b/clients/redmond/redmond.cpp @@ -26,7 +26,7 @@ along with this program. If not, see . #include "redmond.h" -#include +#include #include //Added by qt3to4: #include diff --git a/effects/desktopgrid.cpp b/effects/desktopgrid.cpp index 6d9dd01ade..8bddc442c0 100644 --- a/effects/desktopgrid.cpp +++ b/effects/desktopgrid.cpp @@ -27,7 +27,8 @@ along with this program. If not, see . #include #include #include -#include +#include +#include namespace KWin { diff --git a/effects/desktopgrid.h b/effects/desktopgrid.h index dade2a3633..9f5b4fb7f2 100644 --- a/effects/desktopgrid.h +++ b/effects/desktopgrid.h @@ -22,7 +22,7 @@ along with this program. If not, see . #define KWIN_DESKTOPGRID_H #include -#include +#include namespace KWin { diff --git a/effects/presentwindows.cpp b/effects/presentwindows.cpp index 811f3b7808..3665d1b361 100644 --- a/effects/presentwindows.cpp +++ b/effects/presentwindows.cpp @@ -28,7 +28,7 @@ along with this program. If not, see . #include #include -#include +#include #include #include diff --git a/effects/showfps.h b/effects/showfps.h index 64de1a2606..e5742b1100 100644 --- a/effects/showfps.h +++ b/effects/showfps.h @@ -23,7 +23,7 @@ along with this program. If not, see . #include -#include +#include namespace KWin { diff --git a/kcmkwin/kwinoptions/windows.cpp b/kcmkwin/kwinoptions/windows.cpp index 4e8417e032..6dd535f1fc 100644 --- a/kcmkwin/kwinoptions/windows.cpp +++ b/kcmkwin/kwinoptions/windows.cpp @@ -33,14 +33,16 @@ #include #include #include -#include +#include //Added by qt3to4: #include #include #include #include -#include +#include +#include +#include #include #include #include @@ -49,8 +51,6 @@ #include #include #include -#include -#include #include #include diff --git a/popupinfo.cpp b/popupinfo.cpp index c3fa41c31d..883b5375f4 100644 --- a/popupinfo.cpp +++ b/popupinfo.cpp @@ -35,7 +35,7 @@ along with this program. If not, see . #include #include #include -#include +#include #include #include #include diff --git a/scene.h b/scene.h index ff0b51028e..a5b0c70d6f 100644 --- a/scene.h +++ b/scene.h @@ -21,7 +21,7 @@ along with this program. If not, see . #ifndef KWIN_SCENE_H #define KWIN_SCENE_H -#include +#include #include "toplevel.h" #include "utils.h" diff --git a/sm.cpp b/sm.cpp index 772d625934..95c51b8e44 100644 --- a/sm.cpp +++ b/sm.cpp @@ -31,7 +31,7 @@ along with this program. If not, see . #include "workspace.h" #include "client.h" #include -#include +#include #include namespace KWin diff --git a/sm.h b/sm.h index 4150b196d4..b93c2b6240 100644 --- a/sm.h +++ b/sm.h @@ -27,7 +27,7 @@ along with this program. If not, see . #include #include #include -#include +#include class QSocketNotifier; diff --git a/tabbox.cpp b/tabbox.cpp index b964101819..416f140e03 100644 --- a/tabbox.cpp +++ b/tabbox.cpp @@ -34,7 +34,7 @@ along with this program. If not, see . #include #include #include -#include +#include #include #include #include diff --git a/toplevel.h b/toplevel.h index 6df7e8fac9..9091b6a8e1 100644 --- a/toplevel.h +++ b/toplevel.h @@ -24,7 +24,7 @@ along with this program. If not, see . #include #include -#include +#include #include #include diff --git a/workspace.h b/workspace.h index 25ee03296f..0fa62776ff 100644 --- a/workspace.h +++ b/workspace.h @@ -28,7 +28,7 @@ along with this program. If not, see . #include #include #include -#include +#include #include #include "utils.h"