Skip to content

Commit

Permalink
Remove QgsMapToolVertexEdit class - not needed anymore
Browse files Browse the repository at this point in the history
  • Loading branch information
wonder-sk committed Jan 20, 2015
1 parent f8fc8a0 commit 28cbf57
Show file tree
Hide file tree
Showing 8 changed files with 6 additions and 89 deletions.
2 changes: 0 additions & 2 deletions src/app/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,6 @@ SET(QGIS_APP_SRCS
qgsmaptoolsplitparts.cpp
qgsmaptoolsvgannotation.cpp
qgsmaptooltextannotation.cpp
qgsmaptoolvertexedit.cpp

nodetool/qgsmaptoolnodetool.cpp
nodetool/qgsselectedfeature.cpp
Expand Down Expand Up @@ -235,7 +234,6 @@ SET (QGIS_APP_MOC_HDRS
qgsmaptoolsimplify.h
qgsmaptoolsplitfeatures.h
qgsmaptoolsplitparts.h
qgsmaptoolvertexedit.h

nodetool/qgsmaptoolnodetool.h
nodetool/qgsselectedfeature.h
Expand Down
2 changes: 1 addition & 1 deletion src/app/nodetool/qgsmaptoolnodetool.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ struct QgsFeatureIdFilter : public QgsPointLocator::MatchFilter
};

QgsMapToolNodeTool::QgsMapToolNodeTool( QgsMapCanvas* canvas )
: QgsMapToolVertexEdit( canvas )
: QgsMapToolEdit( canvas )
, mSelectedFeature( 0 )
, mMoving( true )
, mClicked( false )
Expand Down
4 changes: 2 additions & 2 deletions src/app/nodetool/qgsmaptoolnodetool.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
#define QGSMAPTOOLNODETOOL_H

#include "qgsfeature.h"
#include "qgsmaptoolvertexedit.h"
#include "qgsmaptooledit.h"
#include "qgspoint.h"

class QRubberBand;
Expand All @@ -32,7 +32,7 @@ class QgsSelectedFeature;
typedef QSet<int> Vertexes;

/**A maptool to move/deletes/adds vertices of line or polygon features*/
class QgsMapToolNodeTool: public QgsMapToolVertexEdit
class QgsMapToolNodeTool: public QgsMapToolEdit
{
Q_OBJECT
public:
Expand Down
1 change: 0 additions & 1 deletion src/app/qgisapp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,6 @@
#include "qgsmaptoolsplitfeatures.h"
#include "qgsmaptoolsplitparts.h"
#include "qgsmaptooltextannotation.h"
#include "qgsmaptoolvertexedit.h"
#include "qgsmaptoolzoom.h"
#include "qgsmaptoolsimplify.h"
#include "qgsmeasuretool.h"
Expand Down
2 changes: 1 addition & 1 deletion src/app/qgsmaptooldeletering.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
#include <limits>

QgsMapToolDeleteRing::QgsMapToolDeleteRing( QgsMapCanvas* canvas )
: QgsMapToolVertexEdit( canvas )
: QgsMapToolEdit( canvas )
, mRubberBand( 0 )
{
mToolName = tr( "Delete ring" );
Expand Down
4 changes: 2 additions & 2 deletions src/app/qgsmaptooldeletering.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@
#ifndef QGSMAPTOOLDELETERING_H
#define QGSMAPTOOLDELETERING_H

#include "qgsmaptoolvertexedit.h"
#include "qgsmaptooledit.h"
#include "qgsrubberband.h"

class QgsVertexMarker;
/**Map tool to delete vertices from line/polygon features*/

class APP_EXPORT QgsMapToolDeleteRing : public QgsMapToolVertexEdit
class APP_EXPORT QgsMapToolDeleteRing : public QgsMapToolEdit
{
Q_OBJECT

Expand Down
42 changes: 0 additions & 42 deletions src/app/qgsmaptoolvertexedit.cpp

This file was deleted.

38 changes: 0 additions & 38 deletions src/app/qgsmaptoolvertexedit.h

This file was deleted.

0 comments on commit 28cbf57

Please sign in to comment.