[Marble-commits] KDE/kdeedu/marble/src/lib
Jens-Michael Hoffmann
jensmh at gmx.de
Thu Jan 7 02:07:18 CET 2010
SVN commit 1070907 by jmhoffmann:
Remove unnecessary include directives.
M +1 -7 MarbleWidget.cpp
M +1 -6 MarbleWidget.h
--- trunk/KDE/kdeedu/marble/src/lib/MarbleWidget.cpp #1070906:1070907
@@ -13,7 +13,6 @@
#include <cmath>
-#include <QtCore/QCoreApplication>
#include <QtCore/QHash>
#include <QtCore/QSettings>
#include <QtCore/QTime>
@@ -23,9 +22,6 @@
#include <QtGui/QSizePolicy>
#include <QtGui/QPaintEvent>
#include <QtGui/QRegion>
-#include <QtGui/QStyleOptionGraphicsItem>
-#include <QtGui/QMainWindow>
-#include <QtGui/QAction>
#include <QtNetwork/QNetworkProxy>
#ifdef MARBLE_DBUS
@@ -37,11 +33,9 @@
#include "MarbleDebug.h"
#include "MarbleMap.h"
#include "MarbleModel.h"
-#include "Quaternion.h"
#include "ViewParams.h"
#include "GeoPainter.h"
#include "FileViewModel.h"
-#include "GeoDataCoordinates.h"
#include "MarblePhysics.h"
#include "MarblePlacemarkModel.h"
#include "MarbleWidgetInputHandler.h"
@@ -52,7 +46,7 @@
#include "MergedLayerDecorator.h"
#include "ViewportParams.h"
-#include "MarbleMap_p.h"
+#include "MarbleMap_p.h" // FIXME: remove this
namespace Marble
{
--- trunk/KDE/kdeedu/marble/src/lib/MarbleWidget.h #1070906:1070907
@@ -21,16 +21,11 @@
* @author Inge Wallin <inge at lysator.liu.se>
*/
-#include <QtGui/QActionGroup>
-#include <QtCore/QTimer>
#include <QtGui/QWidget>
-#include <QtGui/QImage>
#include <QtGui/QPixmap>
-#include <QtDesigner/QDesignerExportWidget>
#include "marble_export.h"
#include "GeoDataCoordinates.h" // In geodata/data/
-#include "MarbleWidgetInputHandler.h"
#include "Quaternion.h"
#include "global.h" // types needed in all of marble.
@@ -44,7 +39,7 @@
{
// MarbleWidget
-// class MarbleWidgetInputHandler;
+class MarbleWidgetInputHandler;
class MarbleWidgetPrivate;
// Marble
More information about the Marble-commits
mailing list