diff options
Diffstat (limited to 'qt-ui/globe.h')
-rw-r--r-- | qt-ui/globe.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/qt-ui/globe.h b/qt-ui/globe.h index b9cd398e3..e057895ff 100644 --- a/qt-ui/globe.h +++ b/qt-ui/globe.h @@ -19,23 +19,24 @@ public: void reload(); void repopulateLabels(); void centerOn(struct dive* dive); - void diveEditMode(); bool eventFilter(QObject*, QEvent*); protected: /* reimp */ void resizeEvent(QResizeEvent *event); /* reimp */ void mousePressEvent(QMouseEvent* event); + /* reimp */ void contextMenuEvent(QContextMenuEvent*); private: - void prepareForGetDiveCoordinates(struct dive* dive); GeoDataDocument *loadedDives; - struct dive* editingDiveCoords; KMessageWidget* messageWidget; QTimer *fixZoomTimer; int currentZoomLevel; + bool editingDiveLocation; public slots: void changeDiveGeoPosition(qreal lon,qreal lat,GeoDataCoordinates::Unit); void mouseClicked(qreal lon, qreal lat, GeoDataCoordinates::Unit); void fixZoom(); + void prepareForGetDiveCoordinates(); + }; #endif |