QGIS/src/app/qgsmaptoolselect.h
Nyall Dawson 4da1ce8404 Drop redundant virtual keywords on overrides
Run clang-tidy modernize-use-override to remove all the redundant
virtual keywords from overridden methods, and add some missing
overrides.

Another benefit is that this has also added the overrides
on destructors, which will cause a build failure if a base
class is missing a virtual destructor.
2017-12-16 08:49:36 +10:00

40 lines
1.4 KiB
C++

/***************************************************************************
qgsmaptoolselect.h - map tool for selecting features by single click
---------------------
begin : May 2010
copyright : (C) 2010 by Jeremy Palmer
email : jpalmer at linz dot govt dot nz
***************************************************************************
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* *
***************************************************************************/
#ifndef QGSMAPTOOLSELECT_H
#define QGSMAPTOOLSELECT_H
#include "qgsmaptool.h"
#include "qgis_app.h"
class QgsMapCanvas;
class QMouseEvent;
class APP_EXPORT QgsMapToolSelect : public QgsMapTool
{
Q_OBJECT
public:
QgsMapToolSelect( QgsMapCanvas *canvas );
//! Overridden mouse release event
void canvasReleaseEvent( QgsMapMouseEvent *e ) override;
private:
QColor mFillColor;
QColor mStrokeColor;
};
#endif