[Marble-commits] KDE/kdeedu/marble/src/lib
Bernhard Beschow
bbeschow at cs.tu-berlin.de
Mon Dec 27 20:19:58 CET 2010
SVN commit 1209644 by beschow:
MergedLayerDecorator: don't derive from QObject
* the repaintMap() signal isn't emitted any longer since the MLD went into the StackedTileLoader
M +0 -2 MergedLayerDecorator.cpp
M +1 -7 MergedLayerDecorator.h
M +0 -1 StackedTileLoader.cpp
--- trunk/KDE/kdeedu/marble/src/lib/MergedLayerDecorator.cpp #1209643:1209644
@@ -374,5 +374,3 @@
}
return best;
}
-
-#include "MergedLayerDecorator.moc"
--- trunk/KDE/kdeedu/marble/src/lib/MergedLayerDecorator.h #1209643:1209644
@@ -17,7 +17,6 @@
#define MARBLE_MERGEDLAYERDECORATOR_H
#include <QtGui/QImage>
-#include <QtCore/QObject>
#include "TileId.h"
#include "global.h"
@@ -33,10 +32,8 @@
class StackedTile;
class TileLoader;
-class MergedLayerDecorator : public QObject
+class MergedLayerDecorator
{
- Q_OBJECT
-
public:
MergedLayerDecorator( TileLoader * const tileLoader, SunLocator* sunLocator );
virtual ~MergedLayerDecorator();
@@ -51,9 +48,6 @@
void setTile(QImage* tile);
void setInfo( TileId const &id );
- Q_SIGNALS:
- void repaintMap();
-
private:
QImage loadDataset();
int maxDivisor( int maximum, int fullLength );
--- trunk/KDE/kdeedu/marble/src/lib/StackedTileLoader.cpp #1209643:1209644
@@ -86,7 +86,6 @@
{
connect( d->m_tileLoader, SIGNAL( tileCompleted( TileId, TileId )),
SLOT( updateTile( TileId, TileId )));
- connect( &d->m_layerDecorator, SIGNAL( repaintMap() ), SIGNAL( tileUpdateAvailable() ) );
}
StackedTileLoader::~StackedTileLoader()
More information about the Marble-commits
mailing list