Commit ecb643a4 authored by Jekyll Wu's avatar Jekyll Wu
Browse files

Move some #includes from header into cpp files

parent 4cf20b2e
......@@ -24,6 +24,7 @@
#include "ui_firstrundialog.h"
#include <KGlobalAccel>
#include <KActionCollection>
FirstRunDialog::FirstRunDialog(MainWindow* mainWindow) : KDialog(mainWindow)
......
......@@ -22,6 +22,7 @@
#include "mainwindow.h"
#include "application.h"
#include "settings.h"
#include "config/appearancesettings.h"
#include "config/windowsettings.h"
#include "firstrundialog.h"
......@@ -41,12 +42,18 @@
#include <KNotifyConfigWidget>
#include <KPushButton>
#include <KShortcutsDialog>
#include <KAction>
#include <KStandardAction>
#include <KToggleFullScreenAction>
#include <KActionCollection>
#include <KGlobalSettings>
#include <KWindowSystem>
#include <KLocalizedString>
#include <kdeversion.h>
#include <QDesktopWidget>
#include <QPainter>
#include <QWhatsThis>
#include <QtDBus/QtDBus>
#if defined(Q_WS_X11)
......
......@@ -23,18 +23,9 @@
#ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include "settings.h"
#include <KAction>
#include <KActionCollection>
#include <kdeversion.h>
#include <KGlobalSettings>
#include <KLocalizedString>
#include <KMainWindow>
#include <KWindowSystem>
#include <QTimer>
#include <QWhatsThis>
class FirstRunDialog;
......@@ -46,6 +37,8 @@ class TitleBar;
class KHelpMenu;
class KMenu;
class KAction;
class KActionCollection;
class MainWindow : public KMainWindow
......
......@@ -23,6 +23,7 @@
#include "session.h"
#include "terminal.h"
#include <kdeversion.h>
#include <KDebug>
int Session::m_availableSessionId = 0;
......
......@@ -26,8 +26,6 @@
#include "splitter.h"
#include <kdeversion.h>
#include <QMap>
#include <QObject>
......
......@@ -26,6 +26,7 @@
#include <KMessageBox>
#include <KLocalizedString>
#include <kdeversion.h>
#include <QtDBus/QtDBus>
......
......@@ -25,16 +25,22 @@
#include "skin.h"
#include "session.h"
#include "sessionstack.h"
#include "settings.h"
#include <KLineEdit>
#include <KMenu>
#include <KPushButton>
#include <KActionCollection>
#include <KGlobalSettings>
#include <KLocalizedString>
#include <kdeversion.h>
#include <QBitmap>
#include <QPainter>
#include <QtDBus/QtDBus>
#include <QToolButton>
#include <QWheelEvent>
#include <QWhatsThis>
#include <QMimeData>
#include <QDrag>
......
......@@ -23,9 +23,6 @@
#ifndef TABBAR_H
#define TABBAR_H
#include <kdeversion.h>
#include <QList>
#include <QHash>
#include <QWidget>
......
......@@ -25,6 +25,8 @@
#include <KMenu>
#include <KPushButton>
#include <KGlobalSettings>
#include <KLocalizedString>
#include <QBitmap>
#include <QPainter>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment