Include KGlobal were needed

With KF5 some includes which used to include KGlobal, e.g. KStandardDirs
do no longer include KGlobal. So if we use KGlobal we should include it.
This commit is contained in:
Martin Gräßlin 2013-03-07 13:28:39 +01:00
parent 1f141a891e
commit 0ccc060218
14 changed files with 14 additions and 1 deletions

View file

@ -49,6 +49,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include <QDBusConnection> #include <QDBusConnection>
#include <kaction.h> #include <kaction.h>
#include <kactioncollection.h> #include <kactioncollection.h>
#include <KDE/KGlobal>
#include <KDE/KLocalizedString> #include <KDE/KLocalizedString>
#include <xcb/composite.h> #include <xcb/composite.h>

View file

@ -26,6 +26,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include <kconfiggroup.h> #include <kconfiggroup.h>
#include <kdebug.h> #include <kdebug.h>
#include <kxerrorhandler.h> #include <kxerrorhandler.h>
#include <KDE/KGlobal>
#include <KDE/KLocalizedString> #include <KDE/KLocalizedString>
#include <kdeversion.h> #include <kdeversion.h>
#include <ksharedconfig.h> #include <ksharedconfig.h>

View file

@ -53,6 +53,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include "klibrary.h" #include "klibrary.h"
#include "kdesktopfile.h" #include "kdesktopfile.h"
#include "kconfiggroup.h" #include "kconfiggroup.h"
#include <KDE/KGlobal>
#include "kstandarddirs.h" #include "kstandarddirs.h"
#include <kservice.h> #include <kservice.h>
#include <kservicetypetrader.h> #include <kservicetypetrader.h>

View file

@ -28,6 +28,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include <KDE/KLocalizedString> #include <KDE/KLocalizedString>
#include <kwinconfig.h> #include <kwinconfig.h>
#include <kdebug.h> #include <kdebug.h>
#include <KDE/KGlobal>
#include <QColor> #include <QColor>
#include <QRect> #include <QRect>

View file

@ -3,4 +3,4 @@ ClassName=CubeConfig
NameSpace=KWin NameSpace=KWin
Singleton=true Singleton=true
Mutators=true Mutators=true
IncludeFiles=kcolorscheme.h,KDE/KStandardDirs IncludeFiles=kcolorscheme.h,KDE/KStandardDirs,KDE/KGlobal

View file

@ -26,6 +26,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include <QMatrix4x4> #include <QMatrix4x4>
#include <QVector2D> #include <QVector2D>
#include <KDE/KGlobal>
#include <KStandardDirs> #include <KStandardDirs>
#include <kdebug.h> #include <kdebug.h>

View file

@ -25,6 +25,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include <kwinglplatform.h> #include <kwinglplatform.h>
#include <kactioncollection.h> #include <kactioncollection.h>
#include <kaction.h> #include <kaction.h>
#include <KDE/KGlobal>
#include <KDE/KLocalizedString> #include <KDE/KLocalizedString>
#include <kdebug.h> #include <kdebug.h>
#include <KStandardDirs> #include <KStandardDirs>

View file

@ -28,6 +28,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include <math.h> #include <math.h>
#include <kdebug.h> #include <kdebug.h>
#include <KDE/KGlobal>
#include <KDE/KStandardDirs> #include <KDE/KStandardDirs>
#include <QtGui/QMatrix4x4> #include <QtGui/QMatrix4x4>

View file

@ -30,6 +30,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include <kaction.h> #include <kaction.h>
#include <KDE/KLocale> #include <KDE/KLocale>
#include <KDE/KLocalizedString> #include <KDE/KLocalizedString>
#include <KDE/KGlobal>
using namespace KWin; using namespace KWin;

View file

@ -32,6 +32,7 @@ DEALINGS IN THE SOFTWARE.
#include <klibrary.h> #include <klibrary.h>
#include <kconfiggroup.h> #include <kconfiggroup.h>
#include <KDE/KLocalizedString> #include <KDE/KLocalizedString>
#include <KDE/KGlobal>
#include <assert.h> #include <assert.h>
#include <QDir> #include <QDir>

View file

@ -32,6 +32,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include <kstandarddirs.h> #include <kstandarddirs.h>
#include <KDE/KConfigGroup> #include <KDE/KConfigGroup>
#include <KDE/KDebug> #include <KDE/KDebug>
#include <KDE/KGlobal>
#include <KDE/KPluginInfo> #include <KDE/KPluginInfo>
#include <KDE/KServiceTypeTrader> #include <KDE/KServiceTypeTrader>
#include <kdeclarative.h> #include <kdeclarative.h>

View file

@ -32,6 +32,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
// include KDE // include KDE
#include <KDE/KDebug> #include <KDE/KDebug>
#include <KDE/KGlobal>
#include <KDE/KIconEffect> #include <KDE/KIconEffect>
#include <KDE/KIconLoader> #include <KDE/KIconLoader>
#include <KDE/KServiceTypeTrader> #include <KDE/KServiceTypeTrader>

View file

@ -44,6 +44,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include <KConfigGroup> #include <KConfigGroup>
#include <KDE/KAction> #include <KDE/KAction>
#include <KDebug> #include <KDebug>
#include <KDE/KGlobal>
#include <KLocalizedString> #include <KLocalizedString>
#include <kkeyserver.h> #include <kkeyserver.h>
// X11 // X11

View file

@ -61,6 +61,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include <kiconloader.h> #include <kiconloader.h>
#include <KDE/KLocalizedString> #include <KDE/KLocalizedString>
#include <kconfig.h> #include <kconfig.h>
#include <KDE/KGlobal>
#include <kglobalaccel.h> #include <kglobalaccel.h>
#include <kapplication.h> #include <kapplication.h>
#include <QRegExp> #include <QRegExp>