Skip to content
Permalink
Browse files

Modernize

  • Loading branch information
lbartoletti committed Sep 28, 2017
1 parent a8f9f9f commit 27b075fff81827fa5a73c49d62e3a79d89d5193d
@@ -26,10 +26,6 @@ QgsMapToolCircle2Points::QgsMapToolCircle2Points( QgsMapToolCapture *parentTool,

}

QgsMapToolCircle2Points::~QgsMapToolCircle2Points()
{
}

void QgsMapToolCircle2Points::cadCanvasReleaseEvent( QgsMapMouseEvent *e )
{
QgsPoint mapPoint( e->mapPoint() );
@@ -24,7 +24,6 @@ class QgsMapToolCircle2Points: public QgsMapToolAddCircle

public:
QgsMapToolCircle2Points( QgsMapToolCapture *parentTool, QgsMapCanvas *canvas, CaptureMode mode = CaptureLine );
~QgsMapToolCircle2Points();

void cadCanvasReleaseEvent( QgsMapMouseEvent *e ) override;
void cadCanvasMoveEvent( QgsMapMouseEvent *e ) override;
@@ -26,10 +26,6 @@ QgsMapToolCircle3Points::QgsMapToolCircle3Points( QgsMapToolCapture *parentTool,
{
}

QgsMapToolCircle3Points::~QgsMapToolCircle3Points()
{
}

void QgsMapToolCircle3Points::cadCanvasReleaseEvent( QgsMapMouseEvent *e )
{
QgsPoint mapPoint( e->mapPoint() );
@@ -24,7 +24,6 @@ class QgsMapToolCircle3Points: public QgsMapToolAddCircle

public:
QgsMapToolCircle3Points( QgsMapToolCapture *parentTool, QgsMapCanvas *canvas, CaptureMode mode = CaptureLine );
~QgsMapToolCircle3Points();

void cadCanvasReleaseEvent( QgsMapMouseEvent *e ) override;
void cadCanvasMoveEvent( QgsMapMouseEvent *e ) override;
@@ -26,10 +26,6 @@ QgsMapToolCircleCenterPoint::QgsMapToolCircleCenterPoint( QgsMapToolCapture *par

}

QgsMapToolCircleCenterPoint::~QgsMapToolCircleCenterPoint()
{
}

void QgsMapToolCircleCenterPoint::cadCanvasReleaseEvent( QgsMapMouseEvent *e )
{
QgsPoint mapPoint( e->mapPoint() );
@@ -25,7 +25,6 @@ class QgsMapToolCircleCenterPoint: public QgsMapToolAddCircle

public:
QgsMapToolCircleCenterPoint( QgsMapToolCapture *parentTool, QgsMapCanvas *canvas, CaptureMode mode = CaptureLine );
~QgsMapToolCircleCenterPoint();

void cadCanvasReleaseEvent( QgsMapMouseEvent *e ) override;
void cadCanvasMoveEvent( QgsMapMouseEvent *e ) override;
@@ -27,10 +27,6 @@ QgsMapToolEllipseCenter2Points::QgsMapToolEllipseCenter2Points( QgsMapToolCaptur
{
}

QgsMapToolEllipseCenter2Points::~QgsMapToolEllipseCenter2Points()
{
}

void QgsMapToolEllipseCenter2Points::cadCanvasReleaseEvent( QgsMapMouseEvent *e )
{
QgsPoint mapPoint( e->mapPoint() );
@@ -24,7 +24,6 @@ class QgsMapToolEllipseCenter2Points: public QgsMapToolAddEllipse

public:
QgsMapToolEllipseCenter2Points( QgsMapToolCapture *parentTool, QgsMapCanvas *canvas, CaptureMode mode = CaptureLine );
~QgsMapToolEllipseCenter2Points();

void cadCanvasReleaseEvent( QgsMapMouseEvent *e ) override;
void cadCanvasMoveEvent( QgsMapMouseEvent *e ) override;
@@ -26,10 +26,6 @@ QgsMapToolEllipseCenterPoint::QgsMapToolEllipseCenterPoint( QgsMapToolCapture *p

}

QgsMapToolEllipseCenterPoint::~QgsMapToolEllipseCenterPoint()
{
}

void QgsMapToolEllipseCenterPoint::cadCanvasReleaseEvent( QgsMapMouseEvent *e )
{
QgsPoint mapPoint( e->mapPoint() );
@@ -24,7 +24,6 @@ class QgsMapToolEllipseCenterPoint: public QgsMapToolAddEllipse

public:
QgsMapToolEllipseCenterPoint( QgsMapToolCapture *parentTool, QgsMapCanvas *canvas, CaptureMode mode = CaptureLine );
~QgsMapToolEllipseCenterPoint();

void cadCanvasReleaseEvent( QgsMapMouseEvent *e ) override;
void cadCanvasMoveEvent( QgsMapMouseEvent *e ) override;
@@ -26,10 +26,6 @@ QgsMapToolEllipseExtent::QgsMapToolEllipseExtent( QgsMapToolCapture *parentTool,

}

QgsMapToolEllipseExtent::~QgsMapToolEllipseExtent()
{
}

void QgsMapToolEllipseExtent::cadCanvasReleaseEvent( QgsMapMouseEvent *e )
{
QgsPoint mapPoint( e->mapPoint() );
@@ -24,7 +24,6 @@ class QgsMapToolEllipseExtent: public QgsMapToolAddEllipse

public:
QgsMapToolEllipseExtent( QgsMapToolCapture *parentTool, QgsMapCanvas *canvas, CaptureMode mode = CaptureLine );
~QgsMapToolEllipseExtent();

void cadCanvasReleaseEvent( QgsMapMouseEvent *e ) override;
void cadCanvasMoveEvent( QgsMapMouseEvent *e ) override;
@@ -27,10 +27,6 @@ QgsMapToolEllipseFoci::QgsMapToolEllipseFoci( QgsMapToolCapture *parentTool,
{
}

QgsMapToolEllipseFoci::~QgsMapToolEllipseFoci()
{
}

void QgsMapToolEllipseFoci::cadCanvasReleaseEvent( QgsMapMouseEvent *e )
{
QgsPoint mapPoint( e->mapPoint() );
@@ -24,7 +24,6 @@ class QgsMapToolEllipseFoci: public QgsMapToolAddEllipse

public:
QgsMapToolEllipseFoci( QgsMapToolCapture *parentTool, QgsMapCanvas *canvas, CaptureMode mode = CaptureLine );
~QgsMapToolEllipseFoci();

void cadCanvasReleaseEvent( QgsMapMouseEvent *e ) override;
void cadCanvasMoveEvent( QgsMapMouseEvent *e ) override;
@@ -28,10 +28,6 @@ QgsMapToolRectangle3Points::QgsMapToolRectangle3Points( QgsMapToolCapture *paren
{
}

QgsMapToolRectangle3Points::~QgsMapToolRectangle3Points()
{
}

void QgsMapToolRectangle3Points::cadCanvasReleaseEvent( QgsMapMouseEvent *e )
{
QgsPoint mapPoint( e->mapPoint() );
@@ -24,7 +24,6 @@ class QgsMapToolRectangle3Points: public QgsMapToolAddRectangle

public:
QgsMapToolRectangle3Points( QgsMapToolCapture *parentTool, QgsMapCanvas *canvas, CaptureMode mode = CaptureLine );
~QgsMapToolRectangle3Points();

void cadCanvasReleaseEvent( QgsMapMouseEvent *e ) override;
void cadCanvasMoveEvent( QgsMapMouseEvent *e ) override;
@@ -28,10 +28,6 @@ QgsMapToolRectangleCenter::QgsMapToolRectangleCenter( QgsMapToolCapture *parentT
{
}

QgsMapToolRectangleCenter::~QgsMapToolRectangleCenter()
{
}

void QgsMapToolRectangleCenter::cadCanvasReleaseEvent( QgsMapMouseEvent *e )
{
QgsPoint mapPoint( e->mapPoint() );
@@ -24,7 +24,6 @@ class QgsMapToolRectangleCenter: public QgsMapToolAddRectangle

public:
QgsMapToolRectangleCenter( QgsMapToolCapture *parentTool, QgsMapCanvas *canvas, CaptureMode mode = CaptureLine );
~QgsMapToolRectangleCenter();

void cadCanvasReleaseEvent( QgsMapMouseEvent *e ) override;
void cadCanvasMoveEvent( QgsMapMouseEvent *e ) override;
@@ -27,10 +27,6 @@ QgsMapToolRectangleExtent::QgsMapToolRectangleExtent( QgsMapToolCapture *parentT
{
}

QgsMapToolRectangleExtent::~QgsMapToolRectangleExtent()
{
}

void QgsMapToolRectangleExtent::cadCanvasReleaseEvent( QgsMapMouseEvent *e )
{
QgsPoint mapPoint( e->mapPoint() );
@@ -24,7 +24,6 @@ class QgsMapToolRectangleExtent: public QgsMapToolAddRectangle

public:
QgsMapToolRectangleExtent( QgsMapToolCapture *parentTool, QgsMapCanvas *canvas, CaptureMode mode = CaptureLine );
~QgsMapToolRectangleExtent();

void cadCanvasReleaseEvent( QgsMapMouseEvent *e ) override;
void cadCanvasMoveEvent( QgsMapMouseEvent *e ) override;

0 comments on commit 27b075f

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