Skip to content

Commit

Permalink
add missing override
Browse files Browse the repository at this point in the history
  • Loading branch information
jef-n committed Sep 12, 2015
1 parent d28325c commit ffe8de0
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/app/qgsmaptooladdpart.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down
4 changes: 2 additions & 2 deletions src/gui/qgsmaptooladvanceddigitizing.h
Original file line number Diff line number Diff line change
Expand Up @@ -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; }

Expand Down
4 changes: 2 additions & 2 deletions src/gui/qgsmaptoolcapture.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit ffe8de0

Please sign in to comment.