Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Remove "//! Destructor" doxygen comments
This documentation doesn't add any value
  • Loading branch information
nyalldawson committed Dec 30, 2016
1 parent 8319dac commit 9021bb4
Show file tree
Hide file tree
Showing 119 changed files with 102 additions and 160 deletions.
2 changes: 1 addition & 1 deletion src/analysis/interpolation/Bezier3D.h
Expand Up @@ -31,7 +31,7 @@ class ANALYSIS_EXPORT Bezier3D: public ParametricLine
Bezier3D();
//! Constructor, par is a pointer to the parent, controlpoly a controlpolygon
Bezier3D( ParametricLine* par, QVector<Point3D*>* controlpoly );
//! Destructor

virtual ~Bezier3D();
//! Do not use this method, since a Bezier curve does not consist of other curves
virtual void add( ParametricLine *pl ) override;
Expand Down
1 change: 0 additions & 1 deletion src/analysis/interpolation/CloughTocherInterpolator.h
Expand Up @@ -81,7 +81,6 @@ class ANALYSIS_EXPORT CloughTocherInterpolator : public TriangleInterpolator
CloughTocherInterpolator();
//! Constructor with a pointer to the triangulation as argument
CloughTocherInterpolator( NormVecDecorator* tin );
//! Destructor
virtual ~CloughTocherInterpolator();
//! Calculates the normal vector and assigns it to vec (not implemented at the moment)
virtual bool calcNormVec( double x, double y, Vector3D* result ) override;
Expand Down
1 change: 0 additions & 1 deletion src/analysis/interpolation/LinTriangleInterpolator.h
Expand Up @@ -29,7 +29,6 @@ class ANALYSIS_EXPORT LinTriangleInterpolator : public TriangleInterpolator
LinTriangleInterpolator();
//! Constructor with reference to a DualEdgeTriangulation object
LinTriangleInterpolator( DualEdgeTriangulation* tin );
//! Destructor
virtual ~LinTriangleInterpolator();
//! Calculates the normal vector and assigns it to vec
virtual bool calcNormVec( double x, double y, Vector3D* result ) override;
Expand Down
1 change: 0 additions & 1 deletion src/analysis/interpolation/ParametricLine.h
Expand Up @@ -41,7 +41,6 @@ class ANALYSIS_EXPORT ParametricLine
/** Constructor, par is a pointer to the parent object, controlpoly the controlpolygon
*/
ParametricLine( ParametricLine* par, QVector<Point3D*>* controlpoly );
//! Destructor
virtual ~ParametricLine();
virtual void add( ParametricLine* pl ) = 0;
virtual void calcFirstDer( float t, Vector3D* v ) = 0;
Expand Down
2 changes: 1 addition & 1 deletion src/analysis/interpolation/Vector3D.h
Expand Up @@ -42,7 +42,7 @@ class ANALYSIS_EXPORT Vector3D
Vector3D();
//! Copy constructor
Vector3D( const Vector3D& v );
//! Destructor

~Vector3D();
Vector3D& operator=( const Vector3D& v );
bool operator==( const Vector3D& v ) const;
Expand Down
1 change: 0 additions & 1 deletion src/analysis/network/qgsgraphbuilderinterface.h
Expand Up @@ -50,7 +50,6 @@ class ANALYSIS_EXPORT QgsGraphBuilderInterface
mDa.setEllipsoidalMode( ctfEnabled );
}

//! Destructor
virtual ~QgsGraphBuilderInterface()
{ }

Expand Down
2 changes: 1 addition & 1 deletion src/analysis/network/qgsgraphdirector.h
Expand Up @@ -40,7 +40,7 @@ class ANALYSIS_EXPORT QgsGraphDirector : public QObject
void buildMessage( const QString& ) const;

public:
//! Destructor

virtual ~QgsGraphDirector() { }

/**
Expand Down
1 change: 0 additions & 1 deletion src/analysis/network/qgsvectorlayerdirector.h
Expand Up @@ -64,7 +64,6 @@ class ANALYSIS_EXPORT QgsVectorLayerDirector : public QgsGraphDirector
const Direction defaultDirection
);

//! Destructor
virtual ~QgsVectorLayerDirector();

/*
Expand Down
2 changes: 1 addition & 1 deletion src/app/ogr/qgsnewogrconnection.h
Expand Up @@ -32,7 +32,7 @@ class QgsNewOgrConnection : public QDialog, private Ui::QgsNewOgrConnectionBase
public:
//! Constructor
QgsNewOgrConnection( QWidget *parent = nullptr, const QString& connType = QString::null, const QString& connName = QString::null, Qt::WindowFlags fl = QgisGui::ModalDialogFlags );
//! Destructor

~QgsNewOgrConnection();
//! Tests the connection using the parameters supplied
void testConnection();
Expand Down
1 change: 0 additions & 1 deletion src/app/pluginmanager/qgsapppluginmanagerinterface.h
Expand Up @@ -34,7 +34,6 @@ class QgsAppPluginManagerInterface : public QgsPluginManagerInterface
//! Constructor
explicit QgsAppPluginManagerInterface( QgsPluginManager * pluginManager );

//! Destructor
~QgsAppPluginManagerInterface();

//! remove python plugins from the metadata registry (c++ plugins stay)
Expand Down
1 change: 0 additions & 1 deletion src/app/pluginmanager/qgspluginmanager.h
Expand Up @@ -50,7 +50,6 @@ class QgsPluginManager : public QgsOptionsDialogBase, private Ui::QgsPluginManag
//! Constructor; set pluginsAreEnabled to false in --noplugins mode
QgsPluginManager( QWidget *parent = nullptr, bool pluginsAreEnabled = true, Qt::WindowFlags fl = QgisGui::ModalDialogFlags );

//! Destructor
~QgsPluginManager();

//! Save pointer to python utils and enable Python support
Expand Down
2 changes: 1 addition & 1 deletion src/app/qgisapp.h
Expand Up @@ -151,7 +151,7 @@ class APP_EXPORT QgisApp : public QMainWindow, private Ui::MainWindow
QgisApp( QSplashScreen *splash, bool restorePlugins = true, bool skipVersionCheck = false, QWidget *parent = nullptr, Qt::WindowFlags fl = Qt::Window );
//! Constructor for unit tests
QgisApp();
//! Destructor

~QgisApp();

/**
Expand Down
1 change: 0 additions & 1 deletion src/app/qgsclipboard.h
Expand Up @@ -67,7 +67,6 @@ class APP_EXPORT QgsClipboard : public QObject
*/
QgsClipboard();

//! Destructor
virtual ~QgsClipboard();

/**
Expand Down
2 changes: 1 addition & 1 deletion src/app/qgsdecorationcopyright.h
Expand Up @@ -36,7 +36,7 @@ class APP_EXPORT QgsDecorationCopyright : public QgsDecorationItem

//! Constructor
QgsDecorationCopyright( QObject* parent = nullptr );
//! Destructor

virtual ~QgsDecorationCopyright();

public slots:
Expand Down
2 changes: 1 addition & 1 deletion src/app/qgsdecorationgrid.h
Expand Up @@ -35,7 +35,7 @@ class APP_EXPORT QgsDecorationGrid: public QgsDecorationItem
public:
//! Constructor
QgsDecorationGrid( QObject* parent = nullptr );
//! Destructor

virtual ~ QgsDecorationGrid();

enum GridStyle
Expand Down
2 changes: 1 addition & 1 deletion src/app/qgsdecorationitem.h
Expand Up @@ -41,7 +41,7 @@ class APP_EXPORT QgsDecorationItem: public QObject

//! Constructor
QgsDecorationItem( QObject* parent = nullptr );
//! Destructor

virtual ~ QgsDecorationItem();

void setEnabled( bool enabled ) { mEnabled = enabled; }
Expand Down
2 changes: 1 addition & 1 deletion src/app/qgsdecorationnortharrow.h
Expand Up @@ -34,7 +34,7 @@ class APP_EXPORT QgsDecorationNorthArrow: public QgsDecorationItem
public:
//! Constructor
QgsDecorationNorthArrow( QObject* parent = nullptr );
//! Destructor

virtual ~QgsDecorationNorthArrow();

public slots:
Expand Down
2 changes: 1 addition & 1 deletion src/app/qgsdecorationscalebar.h
Expand Up @@ -34,7 +34,7 @@ class APP_EXPORT QgsDecorationScaleBar: public QgsDecorationItem
public:
//! Constructor
QgsDecorationScaleBar( QObject* parent = nullptr );
//! Destructor

virtual ~ QgsDecorationScaleBar();

public slots:
Expand Down
2 changes: 1 addition & 1 deletion src/app/qgsoptions.cpp
Expand Up @@ -929,7 +929,7 @@ QgsOptions::QgsOptions( QWidget *parent, Qt::WindowFlags fl )
restoreOptionsBaseUi();
}

//! Destructor

QgsOptions::~QgsOptions()
{
delete mSettings;
Expand Down
2 changes: 1 addition & 1 deletion src/app/qgsoptions.h
Expand Up @@ -46,7 +46,7 @@ class APP_EXPORT QgsOptions : public QgsOptionsDialogBase, private Ui::QgsOption
* @param modal true for modal dialog
*/
QgsOptions( QWidget *parent = nullptr, Qt::WindowFlags fl = QgisGui::ModalDialogFlags );
//! Destructor

~QgsOptions();

/** Sets the page with the specified widget name as the current page
Expand Down
2 changes: 1 addition & 1 deletion src/app/qgsprojectproperties.h
Expand Up @@ -43,7 +43,7 @@ class APP_EXPORT QgsProjectProperties : public QgsOptionsDialogBase, private Ui:
//! Constructor
QgsProjectProperties( QgsMapCanvas* mapCanvas, QWidget *parent = nullptr, Qt::WindowFlags fl = QgisGui::ModalDialogFlags );

//! Destructor

~QgsProjectProperties();

/** Gets the currently select map units
Expand Down
2 changes: 1 addition & 1 deletion src/app/qgsrasterlayerproperties.h
Expand Up @@ -48,7 +48,7 @@ class APP_EXPORT QgsRasterLayerProperties : public QgsOptionsDialogBase, private
* @param ml Map layer for which properties will be displayed
*/
QgsRasterLayerProperties( QgsMapLayer *lyr, QgsMapCanvas* theCanvas, QWidget *parent = nullptr, Qt::WindowFlags = QgisGui::ModalDialogFlags );
//! \brief Destructor

~QgsRasterLayerProperties();

//! Synchronize state with associated raster layer
Expand Down
2 changes: 1 addition & 1 deletion src/app/qgssnappingwidget.h
Expand Up @@ -55,7 +55,7 @@ class APP_EXPORT QgsSnappingWidget : public QWidget
*/
QgsSnappingWidget( QgsProject* project, QgsMapCanvas* canvas, QWidget* parent = nullptr );

//! Destructor

virtual ~QgsSnappingWidget();

/**
Expand Down
2 changes: 1 addition & 1 deletion src/app/qgsstatusbarmagnifierwidget.h
Expand Up @@ -40,7 +40,7 @@ class APP_EXPORT QgsStatusBarMagnifierWidget : public QWidget
*/
QgsStatusBarMagnifierWidget( QWidget* parent = nullptr );

//! Destructor

virtual ~QgsStatusBarMagnifierWidget();

void setDefaultFactor( double factor );
Expand Down
2 changes: 1 addition & 1 deletion src/app/qgsstatusbarscalewidget.h
Expand Up @@ -39,7 +39,7 @@ class APP_EXPORT QgsStatusBarScaleWidget : public QWidget
public:
explicit QgsStatusBarScaleWidget( QgsMapCanvas* canvas, QWidget *parent = 0 );

//! Destructor

virtual ~QgsStatusBarScaleWidget();

/**
Expand Down
2 changes: 1 addition & 1 deletion src/app/qgstipfactory.h
Expand Up @@ -33,7 +33,7 @@ class APP_EXPORT QgsTipFactory : public QObject
public:
//! Constructor
QgsTipFactory();
//! Destructor

~QgsTipFactory();

/** Get a random tip (generic or gui-centric)
Expand Down
2 changes: 1 addition & 1 deletion src/core/composer/qgscomposernodesitem.h
Expand Up @@ -45,7 +45,7 @@ class CORE_EXPORT QgsComposerNodesItem: public QgsComposerItem
*/
QgsComposerNodesItem( const QString &mTagName, const QPolygonF &polygon, QgsComposition* c );

//! Destructor

~QgsComposerNodesItem();

/** Add a node in current shape.
Expand Down
2 changes: 1 addition & 1 deletion src/core/composer/qgscomposerpolygon.h
Expand Up @@ -45,7 +45,7 @@ class CORE_EXPORT QgsComposerPolygon: public QgsComposerNodesItem
*/
QgsComposerPolygon( const QPolygonF &polygon, QgsComposition* c );

//! Destructor

~QgsComposerPolygon();