Skip to content
Permalink
Browse files

add missing override

  • Loading branch information
jef-n committed Sep 12, 2015
1 parent d28325c commit ffe8de0941209f529a18e10c2a49fc1ba61a1b36
Showing with 5 additions and 5 deletions.
  1. +1 −1 src/app/qgsmaptooladdpart.h
  2. +2 −2 src/gui/qgsmaptooladvanceddigitizing.h
  3. +2 −2 src/gui/qgsmaptoolcapture.h
@@ -26,7 +26,7 @@ class APP_EXPORT QgsMapToolAddPart : public QgsMapToolCapture
void canvasReleaseEvent( QgsMapMouseEvent * e ) override;
void cadCanvasReleaseEvent( QgsMapMouseEvent * e ) override;

void activate();
void activate() override;

private:
/** Check if there is any feature selected */
@@ -70,12 +70,12 @@ class GUI_EXPORT QgsMapToolAdvancedDigitizing : public QgsMapToolEdit
/**
* Registers this maptool with the cad dock widget
*/
void activate();
void activate() override;

/**
* Unregisters this maptool from the cad dock widget
*/
void deactivate();
void deactivate() override;

QgsAdvancedDigitizingDockWidget* cadDockWidget() const { return mCadDockWidget; }

@@ -61,13 +61,13 @@ class GUI_EXPORT QgsMapToolCapture : public QgsMapToolAdvancedDigitizing
*
* @param e The mouse event
*/
void cadCanvasMoveEvent( QgsMapMouseEvent * e );
void cadCanvasMoveEvent( QgsMapMouseEvent * e ) override;

/**
* Intercept key events like Esc or Del to delete the last point
* @param e key event
*/
void keyPressEvent( QKeyEvent* e );
void keyPressEvent( QKeyEvent* e ) override;

#ifdef Q_OS_WIN
virtual bool eventFilter( QObject *obj, QEvent *e ) override;

0 comments on commit ffe8de0

Please sign in to comment.
You can’t perform that action at this time.