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

Big cleanup of Qt classes includes in headers of libmarblewidget

parent 5e99b469
......@@ -15,6 +15,7 @@
#include <QUrl>
#include <QTimer>
#include <QPointF>
#include <QRectF>
#include <QtAlgorithms>
#include <QVariant>
#include <QAbstractListModel>
......
......@@ -19,7 +19,6 @@
class QPoint;
class QUrl;
class QAbstractItemModel;
class QString;
class QStringList;
......
......@@ -14,7 +14,7 @@
#include "marble_export.h"
#include "GeoDataCoordinates.h"
#include <QWidget>
#include <QObject>
namespace Marble
{
......
......@@ -12,14 +12,13 @@
#ifndef MARBLE_CLIPPAINTER_H
#define MARBLE_CLIPPAINTER_H
#include <QPointF>
#include <QPainter>
#include "marble_export.h"
#include "MarbleGlobal.h"
class QPaintDevice;
class QPolygonF;
class QPointF;
namespace Marble
{
......
......@@ -20,9 +20,6 @@
#include "TileCoordsPyramid.h"
#include "marble_export.h"
class QHideEvent;
class QShowEvent;
namespace Marble
{
class GeoDataLatLonAltBox;
......
......@@ -16,7 +16,8 @@
#include "marble_export.h"
#include <QObject>
#include <QImage>
class QImage;
namespace Marble
{
......
......@@ -14,12 +14,13 @@
#define FLYTOEDITWIDGET_H
#include <QWidget>
#include <QPersistentModelIndex>
#include "GeoDataCoordinates.h"
class QDoubleSpinBox;
class QToolButton;
class QComboBox;
class QModelIndex;
namespace Marble
{
......
......@@ -15,9 +15,9 @@
#include "GenericScanlineTextureMapper.h"
// Qt
#include <QtCore/qmath.h>
#include <QtCore/QRunnable>
#include <QtGui/QImage>
#include <qmath.h>
#include <QRunnable>
#include <QImage>
// Marble
#include "GeoPainter.h"
......
......@@ -14,8 +14,8 @@
#include "TextureMapperInterface.h"
#include <QtCore/QThreadPool>
#include <QtGui/QImage>
#include <QThreadPool>
#include <QImage>
#include <MarbleGlobal.h>
......
......@@ -23,7 +23,9 @@
#include "TileId.h"
#include "TileCoordsPyramid.h"
#include "MarbleDebug.h"
#include <QMap>
#include <QRect>
namespace Marble
{
......
......@@ -21,9 +21,6 @@
#include <QSizeF>
class QImage;
class QPaintDevice;
class QPolygonF;
class QRect;
class QRectF;
class QRegion;
class QString;
......
......@@ -11,8 +11,6 @@
#ifndef MARBLE_GEOURIPARSER_H
#define MARBLE_GEOURIPARSER_H
#include <QChar>
#include "Planet.h"
#include "GeoDataCoordinates.h"
#include "marble_export.h"
......
......@@ -17,7 +17,6 @@
#include "marble_export.h"
class QStandardItem;
class QStandardItemModel;
class QString;
class QStringList;
......
......@@ -12,9 +12,10 @@
#ifndef MARBLE_MAPTHEMESORTFILTERPROXYMODEL_H
#define MARBLE_MAPTHEMESORTFILTERPROXYMODEL_H
#include <QDateTime>
#include <QSortFilterProxyModel>
class QDateTime;
namespace Marble
{
......
......@@ -17,7 +17,7 @@
#include "MapViewItemDelegate.h"
//Qt
#include <QStyledItemDelegate>
#include <QListView>
#include <QModelIndex>
#include <QTextDocument>
#include <QPainter>
......
......@@ -16,9 +16,10 @@
#ifndef MAPVIEWITEMDELEGATE_H
#define MAPVIEWITEMDELEGATE_H
#include <QListView>
#include <QStyledItemDelegate>
class QListView;
namespace Marble
{
......
......@@ -42,6 +42,7 @@
#include <QTextDocument>
#include <QAbstractTextDocumentLayout>
#include <QStyledItemDelegate>
#include <QDateTime>
using namespace Marble;
// Ui
......
......@@ -21,8 +21,6 @@
// Qt
#include <QWidget>
class QStandardItemModel;
namespace Marble
{
......
......@@ -13,8 +13,8 @@
#ifndef MARBLEABSTRACTPRESENTER_H
#define MARBLEABSTRACTPRESENTER_H
#include <QSharedPointer>
#include <QList>
#include "GeoDataLookAt.h"
#include "GeoDataLatLonBox.h"
#include "MarblePhysics.h"
......
......@@ -14,7 +14,6 @@
#define MARBLE_MARBLEINPUTHANDLER_H
#include <QObject>
#include <QRect>
#include "marble_export.h"
#include "GeoDataCoordinates.h"
......@@ -29,6 +28,7 @@ class QRubberBand;
class QCursor;
class QTimer;
class QString;
class QRect;
namespace Marble
{
......
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