Commit 0331f97b authored by Jekyll Wu's avatar Jekyll Wu

Another try of cleaning up of #includes

parent c6826ebd
......@@ -27,6 +27,7 @@
#include <QtCore/QFile>
#include <QtCore/QFileInfo>
#include <QtGui/QPainter>
#include <QtCore/QIODevice>
// KDE
#include <KColorScheme>
......
......@@ -26,7 +26,6 @@
#include <QtCore/QHash>
#include <QtCore/QList>
#include <QtCore/QMetaType>
#include <QtCore/QIODevice>
#include <QtCore/QSet>
// KDE
......
......@@ -22,9 +22,7 @@
// Qt
#include <QtGui/QAbstractItemDelegate>
#include <QtCore/QPair>
#include <QtCore/QHash>
#include <QtCore/QSet>
#include <QtCore/QPointer>
// KDE
......
......@@ -27,14 +27,15 @@
#include <stdio.h>
// Qt
#include <QtGui/QKeyEvent>
#include <QtCore/QSize>
#include <QtCore/QTextCodec>
#include <QtCore/QTextStream>
#include <QtCore/QTimer>
// Konsole
#include "konsole_export.h"
class QKeyEvent;
namespace Konsole
{
......
......@@ -21,16 +21,16 @@
#define FILTER_H
// Qt
#include <QtGui/QAction>
#include <QtCore/QList>
#include <QtCore/QObject>
#include <QtCore/QStringList>
#include <QtCore/QHash>
#include <QtCore/QRegExp>
// Konsole
#include "Character.h"
class QAction;
namespace Konsole
{
......
......@@ -25,8 +25,7 @@
#include <sys/mman.h>
// Qt
#include <QtCore/QBitRef>
#include <QtCore/QHash>
#include <QtCore/QList>
#include <QtCore/QVector>
#include <QtCore/QTemporaryFile>
......
......@@ -24,6 +24,7 @@
#include <QtGui/QWidget>
#include <QtCore/QBitArray>
class QAction;
class QLabel;
class QTimer;
class KLineEdit;
......
......@@ -25,9 +25,8 @@
// Qt
#include <QtCore/QHash>
#include <QtCore/QList>
#include <QtGui/QKeySequence>
//#include <QtGui/QKeySequence>
#include <QtCore/QMetaType>
#include <QtCore/QVarLengthArray>
// Konsole
#include "konsole_export.h"
......
......@@ -23,6 +23,7 @@
// Qt
#include <QtCore/QStringList>
#include <QtCore/QDir>
#include <QtGui/QKeyEvent>
// KDE
#include <KAction>
......
......@@ -25,8 +25,6 @@
// Qt
#include <QtCore/QStringList>
#include <QtCore/QVector>
#include <QtCore/QList>
#include <QtCore/QSize>
// KDE
......
......@@ -28,7 +28,6 @@
#include <QtCore/QSet>
#include <QtCore/QVector>
#include <QtCore/QBitArray>
#include <QtCore/QTextStream>
#include <QtCore/QVarLengthArray>
// Konsole
......
......@@ -30,6 +30,7 @@
// Qt
#include <QtGui/QApplication>
#include <QtGui/QColor>
#include <QtCore/QDir>
#include <QtCore/QFile>
#include <QtCore/QStringList>
......
......@@ -27,11 +27,10 @@
// Qt
#include <QtCore/QStringList>
#include <QtCore/QHash>
#include <QtCore/QByteRef>
//#include <QtCore/QByteRef>
#include <QtCore/QUuid>
#include <QtCore/QSize>
#include <QtCore/QProcess>
#include <QtGui/QColor>
#include <QtGui/QWidget>
// KDE
......@@ -40,6 +39,8 @@
// Konsole
#include "konsole_export.h"
class QColor;
class KConfigGroup;
class KProcess;
......
......@@ -22,12 +22,10 @@
#define SESSIONCONTROLLER_H
// Qt
#include <QtGui/QIcon>
#include <QtCore/QList>
#include <QtCore/QSet>
#include <QtCore/QPointer>
#include <QtCore/QString>
#include <QtCore/QThread>
#include <QtCore/QHash>
// KDE
......
......@@ -23,15 +23,12 @@
#define SESSIONMANAGER_H
// Qt
#include <QtGui/QFont>
#include <QtGui/QKeySequence>
#include <QtCore/QAbstractListModel>
#include <QtCore/QHash>
#include <QtCore/QList>
#include <QtCore/QSet>
#include <QtCore/QStringList>
#include <QtCore/QPair>
#include <QtCore/QPointer>
#include <QtCore/QVariant>
#include <QtCore/QStack>
......
......@@ -30,6 +30,7 @@
#include <QtCore/QEvent>
#include <QtCore/QFileInfo>
#include <QtGui/QGridLayout>
#include <QtGui/QAction>
#include <QtGui/QLabel>
#include <QtGui/QPainter>
#include <QtGui/QPixmap>
......
......@@ -44,7 +44,6 @@ class QScrollBar;
class QShowEvent;
class QHideEvent;
class QTimerEvent;
class QWidget;
class KMenu;
......
......@@ -43,6 +43,7 @@ void scrolllock_set_on();
// Qt
#include <QtCore/QEvent>
#include <QtCore/QTimer>
#include <QtGui/QKeyEvent>
// KDE
......
......@@ -24,14 +24,15 @@
#define VT102EMULATION_H
// Qt
#include <QtGui/QKeyEvent>
#include <QtCore/QHash>
#include <QtCore/QTimer>
// Konsole
#include "Emulation.h"
#include "Screen.h"
class QTimer;
class QKeyEvent;
#define MODE_AppScreen (MODES_SCREEN+0) // Mode #1
#define MODE_AppCuKeys (MODES_SCREEN+1) // Application cursor keys (DECCKM)
#define MODE_AppKeyPad (MODES_SCREEN+2) //
......
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