Commit 16d8e385 authored by Friedrich W. H. Kossebau's avatar Friedrich W. H. Kossebau
Browse files

Big cleanup of Qt classes includes in source files

parent a118fc66
......@@ -21,9 +21,7 @@
#include <QApplication>
#include <QDir>
#include <QLocale>
#include <QSettings>
#include <QTranslator>
#include <QProcessEnvironment>
#include <QDebug>
using namespace Marble;
......
......@@ -9,7 +9,7 @@
//
#include <QApplication>
#include <QtQuick/QQuickView>
#include <QQuickView>
#include <marble/declarative/MarbleQuickItem.h>
#include <marble/MarbleMap.h>
......
......@@ -19,7 +19,6 @@
#include <marble/LayerInterface.h>
#include <QApplication>
#include <QKeyEvent>
namespace Marble {
......
......@@ -13,8 +13,6 @@
#include "KdeMainWindow.h"
// Qt
#include <QProgressBar>
#include <QToolBar>
#include <QAction>
#include <QActionGroup>
#include <QCoreApplication>
......
......@@ -25,7 +25,6 @@
#include <QPrintDialog>
#include <QProgressBar>
#include <QStandardItemModel>
#include <QShortcut>
#include <QNetworkProxy>
#include <QDomDocument>
#include <QDomNodeList>
......
......@@ -30,9 +30,7 @@ class KConfigDialog;
class KToolBar;
class QLabel;
class QPrinter;
class QProgressBar;
class QStandardItemModel;
namespace KParts
{
......
......@@ -36,11 +36,7 @@
#include <QPrintDialog>
#include <QPrinter>
#include <QDialogButtonBox>
#include <QHBoxLayout>
#include <QScrollArea>
#include <QClipboard>
#include <QShortcut>
#include <QDockWidget>
#include <QNetworkProxy>
#include "EditBookmarkDialog.h"
......
......@@ -23,7 +23,6 @@ class QActionGroup;
class QAction;
class QLabel;
class QMenu;
class QPrinter;
class QProgressBar;
namespace Marble
......
......@@ -13,9 +13,7 @@
#include <QFile>
#include <QDir>
#include <QLocale>
#include <QSettings>
#include <QTranslator>
#include <QProcessEnvironment>
#include "QtMainWindow.h"
......
......@@ -14,7 +14,6 @@
#include <QCloseEvent>
#include <QLayout>
#include <QSplitter>
#include <QPrintDialog>
#include <QPrintPreviewDialog>
#include <QPrinter>
......@@ -33,7 +32,6 @@
#include <QMainWindow>
#include <QDockWidget>
#include <QShortcut>
#include <QMenu>
#include <QToolBar>
#include <QMimeData>
#include <QPixmap>
......
......@@ -21,14 +21,11 @@
#include "MarbleDebug.h"
// Qt
#include <QEvent>
#include <QTimer>
#include <QMouseEvent>
#include <QRegion>
#include <QQmlComponent>
#include <QQmlContext>
#include <QQuickItem>
#include <QGraphicsItem>
namespace Marble
{
......
......@@ -13,8 +13,6 @@
#include "ui_AddLinkDialog.h"
// Qt
#include <QLineEdit>
#include <QCloseEvent>
#include <QMessageBox>
#include <QPushButton>
#include <QDebug>
......
......@@ -37,7 +37,6 @@
#include <QSortFilterProxyModel>
#include <QFileDialog>
#include <QMessageBox>
#include <QItemSelectionModel>
namespace Marble {
......
......@@ -19,11 +19,6 @@
#include <QFileInfo>
#include <QColorDialog>
#include <QCheckBox>
#include <QToolBar>
#include <QTextEdit>
#include <QPushButton>
#include <QLineEdit>
#include <QVBoxLayout>
// Marble
#include "GeoDataStyle.h"
......
......@@ -23,8 +23,8 @@
#include "TileId.h"
#include "PluginManager.h"
#include <QLabel>
#include <QCache>
#include <QImage>
#include <qmath.h>
namespace Marble
......
......@@ -15,13 +15,8 @@
//Qt
#include <QFileDialog>
#include <QMessageBox>
#include <QColorDialog>
#include <QCheckBox>
#include <QToolBar>
#include <QTextEdit>
#include <QFontComboBox>
#include <QPushButton>
#include <QLineEdit>
//Marble
......
......@@ -26,7 +26,6 @@
#include <QAbstractListModel>
#include <QTimer>
#include <QPushButton>
#include <QPainter>
namespace Marble
......
......@@ -39,9 +39,6 @@
#include <QPainter>
#include <QToolBar>
#include <QToolButton>
#include <QTextDocument>
#include <QAbstractTextDocumentLayout>
#include <QStyledItemDelegate>
#include <QDateTime>
using namespace Marble;
......
......@@ -27,7 +27,6 @@
#include <QFile>
#include <QTextFrame>
#include <QTabWidget>
#include <QTextStream>
#include <QPixmap>
......
......@@ -17,7 +17,7 @@
#include <QFile>
#include <QString>
#include <QStringList>
#include <QApplication>
#include <QCoreApplication>
#include <stdlib.h>
......
Supports Markdown
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