summaryrefslogtreecommitdiffstats
path: root/qt-ui/globe.h
diff options
context:
space:
mode:
Diffstat (limited to 'qt-ui/globe.h')
-rw-r--r--qt-ui/globe.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/qt-ui/globe.h b/qt-ui/globe.h
index eef01244b..cab42cefc 100644
--- a/qt-ui/globe.h
+++ b/qt-ui/globe.h
@@ -13,25 +13,28 @@ struct dive;
class GlobeGPS : public MarbleWidget{
Q_OBJECT
- void prepareForGetDiveCoordinates(struct dive* dive);
public:
using MarbleWidget::centerOn;
GlobeGPS(QWidget *parent);
void reload();
void centerOn(struct dive* dive);
- void resizeEvent(QResizeEvent *event);
protected:
- virtual void mousePressEvent(QMouseEvent* event);
+ /* reimp */ void resizeEvent(QResizeEvent *event);
+ /* reimp */ void mousePressEvent(QMouseEvent* event);
private:
+ void prepareForGetDiveCoordinates(struct dive* dive);
GeoDataDocument *loadedDives;
struct dive* editingDiveCoords;
KMessageWidget* messageWidget;
+ QTimer *fixZoomTimer;
+ int currentZoomLevel;
public slots:
void changeDiveGeoPosition(qreal lon,qreal lat,GeoDataCoordinates::Unit);
void mouseClicked(qreal lon, qreal lat, GeoDataCoordinates::Unit);
+ void fixZoom();
};
#endif