Commit eade05a4 authored by Kurt Hindenburg's avatar Kurt Hindenburg

Do not specify Qt modules in includes

parent 374643bd
......@@ -21,9 +21,9 @@
#include "Application.h"
// Qt
#include <QtCore/QHashIterator>
#include <QtCore/QFileInfo>
#include <QtCore/QDir>
#include <QHashIterator>
#include <QFileInfo>
#include <QDir>
#include <QCommandLineParser>
#include <QStandardPaths>
......
......@@ -25,9 +25,9 @@
#include "BookmarkHandler.h"
// Qt
#include <QtCore/QFileInfo>
#include <QtCore/QStandardPaths>
#include <QtCore/QDir>
#include <QFileInfo>
#include <QStandardPaths>
#include <QDir>
// KDE
#include <KShell>
......
......@@ -27,7 +27,7 @@
// KDE
#include <KBookmarkManager>
#include <QtCore/QUrl>
#include <QUrl>
// Konsole
#include "konsoleprivate_export.h"
......
......@@ -24,7 +24,7 @@
#define CHARACTERCOLOR_H
// Qt
#include <QtGui/QColor>
#include <QColor>
namespace Konsole
{
......
......@@ -23,7 +23,7 @@
#include "ColorScheme.h"
// Qt
#include <QtGui/QPainter>
#include <QPainter>
// KDE
#include <KConfig>
......
......@@ -23,8 +23,8 @@
#define COLORSCHEME_H
// Qt
#include <QtCore/QMetaType>
#include <QtCore/QSharedData>
#include <QMetaType>
#include <QSharedData>
// Konsole
#include "CharacterColor.h"
......
......@@ -21,12 +21,12 @@
#include "ColorSchemeEditor.h"
// Qt
#include <QtGui/QFontMetrics>
#include <QtCore/QFileInfo>
#include <QFontMetrics>
#include <QFileInfo>
#include <QCompleter>
#include <QFileSystemModel>
#include <QtCore/QUrl>
#include <QtGui/QIcon>
#include <QUrl>
#include <QIcon>
#include <QFileDialog>
#include <QImageReader>
......
......@@ -25,10 +25,10 @@
#include "konsoledebug.h"
// Qt
#include <QtCore/QIODevice>
#include <QtCore/QFileInfo>
#include <QtCore/QFile>
#include <QtCore/QDir>
#include <QIODevice>
#include <QFileInfo>
#include <QFile>
#include <QDir>
// KDE
#include <KConfig>
......
......@@ -23,8 +23,8 @@
#define COLORSCHEMEMANAGER_H
// Qt
#include <QtCore/QHash>
#include <QtCore/QStringList>
#include <QHash>
#include <QStringList>
// Konsole
#include "ColorScheme.h"
......
......@@ -21,8 +21,8 @@
#define COPYINPUTDIALOG_H
// Qt
#include <QtCore/QPointer>
#include <QtCore/QSet>
#include <QPointer>
#include <QSet>
// KDE
#include <QDialog>
......
......@@ -24,15 +24,15 @@
#include <cmath>
// Qt
#include <QtGui/QBrush>
#include <QtGui/QPainter>
#include <QBrush>
#include <QPainter>
#include <QStandardItem>
#include <QtCore/QTextCodec>
#include <QtGui/QLinearGradient>
#include <QtGui/QRadialGradient>
#include <QtGui/QIcon>
#include <QtCore/QTimer>
#include <QtCore/QUrl>
#include <QTextCodec>
#include <QLinearGradient>
#include <QRadialGradient>
#include <QIcon>
#include <QTimer>
#include <QUrl>
#include <QFontDialog>
#include <QFileDialog>
#include <QInputDialog>
......
......@@ -22,8 +22,8 @@
// Qt
#include <QAbstractItemDelegate>
#include <QtCore/QHash>
#include <QtCore/QPointer>
#include <QHash>
#include <QPointer>
// KDE
#include <QDialog>
......
......@@ -23,7 +23,7 @@
#include "Emulation.h"
// Qt
#include <QtGui/QKeyEvent>
#include <QKeyEvent>
// Konsole
#include "KeyboardTranslator.h"
......
......@@ -24,9 +24,9 @@
#define EMULATION_H
// Qt
#include <QtCore/QSize>
#include <QtCore/QTextCodec>
#include <QtCore/QTimer>
#include <QSize>
#include <QTextCodec>
#include <QTimer>
// Konsole
#include "konsoleprivate_export.h"
......
......@@ -23,7 +23,7 @@
#define EXTENDEDCHARTABLE_H
// Qt
#include <QtCore/QHash>
#include <QHash>
namespace Konsole
{
......
......@@ -25,13 +25,13 @@
// Qt
#include <QAction>
#include <QApplication>
#include <QtGui/QClipboard>
#include <QtCore/QDir>
#include <QtCore/QFile>
#include <QtCore/QMimeDatabase>
#include <QtCore/QString>
#include <QtCore/QTextStream>
#include <QtCore/QUrl>
#include <QClipboard>
#include <QDir>
#include <QFile>
#include <QMimeDatabase>
#include <QString>
#include <QTextStream>
#include <QUrl>
// KDE
#include <KLocalizedString>
......
......@@ -21,13 +21,13 @@
#define FILTER_H
// Qt
#include <QtCore/QFileInfo>
#include <QtCore/QList>
#include <QtCore/QObject>
#include <QtCore/QPointer>
#include <QtCore/QStringList>
#include <QtCore/QRegularExpression>
#include <QtCore/QMultiHash>
#include <QFileInfo>
#include <QList>
#include <QObject>
#include <QPointer>
#include <QStringList>
#include <QRegularExpression>
#include <QMultiHash>
// Konsole
#include "Character.h"
......
......@@ -25,9 +25,9 @@
#include <sys/mman.h>
// Qt
#include <QtCore/QList>
#include <QtCore/QVector>
#include <QtCore/QTemporaryFile>
#include <QList>
#include <QVector>
#include <QTemporaryFile>
#include "konsoleprivate_export.h"
......
......@@ -23,8 +23,8 @@
// Qt
#include <QHBoxLayout>
#include <QLabel>
#include <QtGui/QKeyEvent>
#include <QtCore/QTimer>
#include <QKeyEvent>
#include <QTimer>
#include <QToolButton>
#include <QMenu>
......
......@@ -22,7 +22,7 @@
// Qt
#include <QWidget>
#include <QtCore/QBitArray>
#include <QBitArray>
class QAction;
class QTimer;
......
......@@ -21,8 +21,8 @@
#include "KeyBindingEditor.h"
// Qt
#include <QtGui/QKeyEvent>
#include <QtGui/QIcon>
#include <QKeyEvent>
#include <QIcon>
// KDE
#include <KLocalizedString>
......
......@@ -29,10 +29,10 @@
#include <stdio.h>
// Qt
#include <QtCore/QBuffer>
#include <QtCore/QTextStream>
#include <QtCore/QRegularExpression>
#include <QtGui/QKeySequence>
#include <QBuffer>
#include <QTextStream>
#include <QRegularExpression>
#include <QKeySequence>
// KDE
#include <KLocalizedString>
......
......@@ -23,11 +23,10 @@
#define KEYBOARDTRANSLATOR_H
// Qt
#include <QtCore/QHash>
#include <QtCore/QList>
#include <QtCore/QString>
//#include <QtGui/QKeySequence>
#include <QtCore/QMetaType>
#include <QHash>
#include <QList>
#include <QString>
#include <QMetaType>
// Konsole
#include "konsoleprivate_export.h"
......
......@@ -25,9 +25,9 @@
#include "konsoledebug.h"
// Qt
#include <QtCore/QFile>
#include <QtCore/QFileInfo>
#include <QtCore/QDir>
#include <QFile>
#include <QFileInfo>
#include <QDir>
#include <QStandardPaths>
using namespace Konsole;
......
......@@ -23,8 +23,8 @@
#define KEYBOARDTRANSLATOR_MANAGER_H
// Qt
#include <QtCore/QHash>
#include <QtCore/QStringList>
#include <QHash>
#include <QStringList>
// Konsole
#include "konsoleprivate_export.h"
......
......@@ -21,8 +21,8 @@
#define MAINWINDOW_H
// Qt
#include <QtCore/QPointer>
#include <QtCore/QUrl>
#include <QPointer>
#include <QUrl>
// KDE
#include <KXmlGuiWindow>
......
......@@ -21,10 +21,10 @@
#include "Part.h"
// Qt
#include <QtCore/QStringList>
#include <QtCore/QDir>
#include <QtGui/QKeyEvent>
#include <QtCore/QUrl>
#include <QStringList>
#include <QDir>
#include <QKeyEvent>
#include <QUrl>
// KDE
#include <QAction>
......
......@@ -26,7 +26,7 @@
#include <kde_terminal_interface.h>
// Qt
#include <QtCore/QVariantList>
#include <QVariantList>
// Konsole
#include "Profile.h"
......
......@@ -32,12 +32,12 @@
#include <sys/param.h>
// Qt
#include <QtCore/QDir>
#include <QtCore/QFileInfo>
#include <QtCore/QFlags>
#include <QtCore/QTextStream>
#include <QtCore/QStringList>
#include <QtNetwork/QHostInfo>
#include <QDir>
#include <QFileInfo>
#include <QFlags>
#include <QTextStream>
#include <QStringList>
#include <QHostInfo>
// KDE
#include <KConfigGroup>
......
......@@ -21,10 +21,10 @@
#define PROCESSINFO_H
// Qt
#include <QtCore/QFile>
#include <QtCore/QMap>
#include <QtCore/QString>
#include <QtCore/QVector>
#include <QFile>
#include <QMap>
#include <QString>
#include <QVector>
namespace Konsole
{
......
......@@ -23,8 +23,8 @@
#include "Profile.h"
// Qt
#include <QtCore/QTextCodec>
#include <QtCore/QRegularExpression>
#include <QTextCodec>
#include <QRegularExpression>
// KDE
#include <KLocalizedString>
......
......@@ -23,11 +23,11 @@
#define PROFILE_H
// Qt
#include <QtCore/QHash>
#include <QtCore/QStringList>
#include <QtCore/QVariant>
#include <QtGui/QFont>
#include <QtGui/QColor>
#include <QHash>
#include <QStringList>
#include <QVariant>
#include <QFont>
#include <QColor>
// Konsole
#include "konsoleprivate_export.h"
......
......@@ -21,9 +21,9 @@
#define PROFILELIST_H
// Qt
#include <QtCore/QList>
#include <QtCore/QSet>
#include <QtCore/QObject>
#include <QList>
#include <QSet>
#include <QObject>
// Konsole
#include "Profile.h"
......
......@@ -25,10 +25,10 @@
#include "konsoledebug.h"
// Qt
#include <QtCore/QDir>
#include <QtCore/QFileInfo>
#include <QtCore/QList>
#include <QtCore/QString>
#include <QDir>
#include <QFileInfo>
#include <QList>
#include <QString>
// KDE
#include <KSharedConfig>
......
......@@ -23,13 +23,13 @@
#define PROFILEMANAGER_H
// Qt
#include <QtGui/QKeySequence>
#include <QtCore/QHash>
#include <QtCore/QList>
#include <QtCore/QSet>
#include <QtCore/QStringList>
#include <QtCore/QVariant>
#include <QtCore/QStack>
#include <QKeySequence>
#include <QHash>
#include <QList>
#include <QSet>
#include <QStringList>
#include <QVariant>
#include <QStack>
// Konsole
#include "Profile.h"
......
......@@ -23,8 +23,8 @@
#include "ProfileReader.h"
// Qt
#include <QtCore/QFile>
#include <QtCore/QDir>
#include <QFile>
#include <QDir>
// KDE
#include <KConfig>
......
......@@ -23,7 +23,7 @@
#include "ProfileWriter.h"
// Qt
#include <QtCore/QFileInfo>
#include <QFileInfo>
// KDE
#include <KConfig>
......
......@@ -28,7 +28,7 @@
#include <signal.h>
// Qt
#include <QtCore/QStringList>
#include <QStringList>
#include <qplatformdefs.h>
// KDE
......
......@@ -24,7 +24,7 @@
#define PTY_H
// Qt
#include <QtCore/QSize>
#include <QSize>
// KDE
#include <KPtyProcess>
......
......@@ -24,7 +24,7 @@
#include "Screen.h"
// Qt
#include <QtCore/QTextStream>
#include <QTextStream>
// Konsole
#include "konsole_wcwidth.h"
......
......@@ -24,11 +24,11 @@
#define SCREEN_H
// Qt
#include <QtCore/QRect>
#include <QtCore/QSet>
#include <QtCore/QVector>
#include <QtCore/QBitArray>
#include <QtCore/QVarLengthArray>
#include <QRect>
#include <QSet>
#include <QVector>
#include <QBitArray>
#include <QVarLengthArray>
// Konsole
#include "Character.h"
......
......@@ -21,9 +21,9 @@
#define SCREENWINDOW_H
// Qt
#include <QtCore/QObject>
#include <QtCore/QPoint>
#include <QtCore/QRect>
#include <QObject>
#include <QPoint>
#include <QRect>
// Konsole
#include "Character.h"
......
......@@ -31,11 +31,11 @@
// Qt
#include <QApplication>
#include <QtGui/QColor>
#include <QtCore/QDir>
#include <QtCore/QFile>
#include <QtCore/QStringList>
#include <QtDBus/QtDBus>
#include <QColor>
#include <QDir>
#include <QFile>
#include <QStringList>
#include <QtDBus>
#include <QKeyEvent>
// KDE
......
......@@ -25,14 +25,13 @@
#define SESSION_H
// Qt
#include <QtCore/QStringList>
#include <QtCore/QHash>
//#include <QtCore/QByteRef>
#include <QtCore/QUuid>
#include <QtCore/QSize>
#include <QtCore/QProcess>
#include <QStringList>
#include <QHash>
#include <QUuid>
#include <QSize>
#include <QProcess>
#include <QWidget>
#include <QtCore/QUrl>
#include <QUrl>
// Konsole
#include "konsoleprivate_export.h"
......
......@@ -28,14 +28,14 @@
#include <QApplication>
#include <QAction>
#include <QMenu>
#include <QtGui/QKeyEvent>
#include <QKeyEvent>
#include <QPrinter>
#include <QPrintDialog>
#include <QFileDialog>
#include <QPainter>
#include <QStandardPaths>
#include <QtCore/QUrl>
#include <QtGui/QIcon>
#include <QUrl>
#include <QIcon>
// KDE
#include <KActionMenu>
......
......@@ -22,12 +22,12 @@
#define SESSIONCONTROLLER_H
// Qt
#include <QtCore/QList>
#include <QtCore/QSet>
#include <QtCore/QPointer>
#include <QtCore/QString>
#include <QtCore/QHash>
#include <QtCore/QRegularExpression>
#include <QList>
#include <QSet>
#include <QPointer>
#include <QString>
#include <QHash>
#include <QRegularExpression>
// KDE
#include <KXMLGUIClient>
......
......@@ -25,7 +25,7 @@
// KDE
#include <KLocalizedString>