mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-27 00:33:48 -05:00
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.
53 lines
1.6 KiB
Plaintext
53 lines
1.6 KiB
Plaintext
/************************************************************************
|
|
* This file has been generated automatically from *
|
|
* *
|
|
* src/gui/qgsmaptoolzoom.h *
|
|
* *
|
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
|
************************************************************************/
|
|
|
|
|
|
|
|
|
|
class QgsMapToolZoom : QgsMapTool
|
|
{
|
|
%Docstring
|
|
A map tool for zooming into the map.
|
|
|
|
.. seealso:: :py:class:`QgsMapTool`
|
|
%End
|
|
|
|
%TypeHeaderCode
|
|
#include "qgsmaptoolzoom.h"
|
|
%End
|
|
public:
|
|
QgsMapToolZoom( QgsMapCanvas *canvas, bool zoomOut );
|
|
%Docstring
|
|
constructor
|
|
%End
|
|
~QgsMapToolZoom();
|
|
|
|
virtual Flags flags() const;
|
|
virtual void canvasMoveEvent( QgsMapMouseEvent *e );
|
|
|
|
virtual void canvasPressEvent( QgsMapMouseEvent *e );
|
|
|
|
virtual void canvasReleaseEvent( QgsMapMouseEvent *e );
|
|
|
|
virtual void deactivate();
|
|
|
|
|
|
protected:
|
|
|
|
|
|
|
|
};
|
|
|
|
/************************************************************************
|
|
* This file has been generated automatically from *
|
|
* *
|
|
* src/gui/qgsmaptoolzoom.h *
|
|
* *
|
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
|
************************************************************************/
|