[Marble-commits] KDE/kdeedu/marble/src/lib
Jens-Michael Hoffmann
jensmh at gmx.de
Thu Jan 7 02:07:51 CET 2010
SVN commit 1070921 by jmhoffmann:
MarbleControlBox: remove unnecessary include directives.
M +2 -12 MarbleControlBox.cpp
M +3 -3 MarbleControlBox.h
--- trunk/KDE/kdeedu/marble/src/lib/MarbleControlBox.cpp #1070920:1070921
@@ -23,30 +23,21 @@
#include "MarbleControlBox.h"
-#include <QtCore/QAbstractItemModel>
-#include <QtCore/QBuffer>
-#include <QtCore/QByteArray>
-#include <QtCore/QDataStream>
-#include <QtCore/QtAlgorithms>
#include <QtCore/QTime>
#include <QtCore/QTimer>
#include <QtGui/QSortFilterProxyModel>
#include <QtGui/QStandardItemModel>
-#include <QtGui/QTextFrame>
#include <global.h>
#include <MarbleWidget.h>
#include <MarbleMap.h>
-#include <ViewParams.h>
#include <MarbleModel.h>
-#include <MarbleDirs.h>
#include <FileViewModel.h>
#include "gps/GpxFileModel.h"
#include "gps/GpsLayer.h"
#include "gps/PositionTracking.h"
#include "MarbleLocale.h"
-#include "MarbleDebug.h"
#include "MarblePlacemarkModel.h"
#include "MarbleRunnerManager.h"
#include "MathHelper.h"
@@ -55,8 +46,7 @@
#include "GeoSceneHead.h"
#include "Planet.h"
-#include "GeoOnfParser.h"
-#include "GeoDataDocument.h"
+#include "GeoDataCoordinates.h"
using namespace Marble;
@@ -394,7 +384,7 @@
}
-void MarbleControlBox::receiveGpsCoordinates( GeoDataCoordinates in, qreal speed )
+void MarbleControlBox::receiveGpsCoordinates( const GeoDataCoordinates &in, qreal speed )
{
Q_UNUSED( speed );
if ( d->uiWidget.navigationCheckBox->isChecked() ) {
--- trunk/KDE/kdeedu/marble/src/lib/MarbleControlBox.h #1070920:1070921
@@ -21,11 +21,9 @@
#include "marble_export.h"
-#include <QtCore/QString>
#include <QtGui/QWidget>
#include "global.h"
-#include "GeoDataCoordinates.h" // In geodata/data/
/** @file
@@ -38,10 +36,12 @@
class QModelIndex;
class QResizeEvent;
class QStandardItemModel;
+class QString;
namespace Marble
{
+class GeoDataCoordinates;
class MarbleWidget;
class MarbleControlBoxPrivate;
class MarblePlacemarkModel;
@@ -194,7 +194,7 @@
* doesn't emit the zoomChanged signal.
*/
void changeZoom( int zoom );
- void receiveGpsCoordinates( GeoDataCoordinates in, qreal speed );
+ void receiveGpsCoordinates( const GeoDataCoordinates& in, qreal speed );
void enableFileViewActions();
/**
More information about the Marble-commits
mailing list