From 3d414b908a62ba9b2dd89ac88b94d6300ca21d64 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= Date: Tue, 6 Aug 2013 10:27:49 +0200 Subject: [PATCH] Remove kapplication.h include from sm.h Not needed in sm.h and pollutes the includes of most header files. --- scripting/workspace_wrapper.cpp | 1 + sm.cpp | 1 + sm.h | 1 - tabbox/declarative.cpp | 1 + workspace.cpp | 1 + workspace.h | 1 + 6 files changed, 5 insertions(+), 1 deletion(-) diff --git a/scripting/workspace_wrapper.cpp b/scripting/workspace_wrapper.cpp index fb73711906..b452249fbd 100644 --- a/scripting/workspace_wrapper.cpp +++ b/scripting/workspace_wrapper.cpp @@ -30,6 +30,7 @@ along with this program. If not, see . #endif #include +#include namespace KWin { diff --git a/sm.cpp b/sm.cpp index 1b399429d5..632b365283 100644 --- a/sm.cpp +++ b/sm.cpp @@ -33,6 +33,7 @@ along with this program. If not, see . #include #include #include +#include namespace KWin { diff --git a/sm.h b/sm.h index a0f6e3c7bd..2aee595dca 100644 --- a/sm.h +++ b/sm.h @@ -23,7 +23,6 @@ along with this program. If not, see . #define KWIN_SM_H #include -#include #include #include #include diff --git a/tabbox/declarative.cpp b/tabbox/declarative.cpp index 4d87c8f8cd..a7482bfae7 100644 --- a/tabbox/declarative.cpp +++ b/tabbox/declarative.cpp @@ -22,6 +22,7 @@ along with this program. If not, see . #include "tabboxhandler.h" #include "clientmodel.h" // Qt +#include #include #include #include diff --git a/workspace.cpp b/workspace.cpp index b7b68d8c16..c0126411ca 100644 --- a/workspace.cpp +++ b/workspace.cpp @@ -61,6 +61,7 @@ along with this program. If not, see . #include "xcbutils.h" // KDE #include +#include #include #include #include diff --git a/workspace.h b/workspace.h index fb87e00db7..6b67070506 100644 --- a/workspace.h +++ b/workspace.h @@ -39,6 +39,7 @@ along with this program. If not, see . class QStringList; class KConfig; +class KConfigGroup; class KActionCollection; class KShortcut; class KStartupInfo;