Skip to content

Commit

Permalink
Remove "//! Destructor" doxygen comments
Browse files Browse the repository at this point in the history
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();

//! Overridden to return shape name
Expand Down
2 changes: 1 addition & 1 deletion src/core/composer/qgscomposerpolyline.h
Expand Up @@ -44,7 +44,7 @@ class CORE_EXPORT QgsComposerPolyline: public QgsComposerNodesItem
*/
QgsComposerPolyline( const QPolygonF &polyline, QgsComposition* c );

//! Destructor

~QgsComposerPolyline();

//! Overridden to return shape name
Expand Down
2 changes: 1 addition & 1 deletion src/core/geometry/qgsgeometry.h
Expand Up @@ -95,7 +95,7 @@ class CORE_EXPORT QgsGeometry
*/
explicit QgsGeometry( QgsAbstractGeometry* geom );

//! Destructor

~QgsGeometry();

/** Returns the underlying geometry store.
Expand Down
8 changes: 4 additions & 4 deletions src/core/qgsattributeeditorelement.h
Expand Up @@ -56,7 +56,7 @@ class CORE_EXPORT QgsAttributeEditorElement
, mShowLabel( true )
{}

//! Destructor

virtual ~QgsAttributeEditorElement() {}

/**
Expand Down Expand Up @@ -155,7 +155,7 @@ class CORE_EXPORT QgsAttributeEditorContainer : public QgsAttributeEditorElement
, mColumnCount( 1 )
{}

//! Destructor

virtual ~QgsAttributeEditorContainer();

/**
Expand Down Expand Up @@ -269,7 +269,7 @@ class CORE_EXPORT QgsAttributeEditorField : public QgsAttributeEditorElement
, mIdx( idx )
{}

//! Destructor

virtual ~QgsAttributeEditorField() {}

/**
Expand Down Expand Up @@ -322,7 +322,7 @@ class CORE_EXPORT QgsAttributeEditorRelation : public QgsAttributeEditorElement
, mShowUnlinkButton( true )
{}

//! Destructor

virtual ~QgsAttributeEditorRelation() {}

/**
Expand Down
2 changes: 1 addition & 1 deletion src/core/qgscontexthelp.h
Expand Up @@ -45,7 +45,7 @@ class CORE_EXPORT QgsContextHelp : public QObject
private:
//! Constructor
QgsContextHelp();
//! Destructor

~QgsContextHelp();

QProcess *start();
Expand Down
2 changes: 1 addition & 1 deletion src/core/qgscredentials.h
Expand Up @@ -37,7 +37,7 @@
class CORE_EXPORT QgsCredentials
{
public:
//! virtual destructor

virtual ~QgsCredentials();

bool get( const QString& realm, QString &username, QString &password, const QString& message = QString::null );
Expand Down
2 changes: 1 addition & 1 deletion src/core/qgsdistancearea.h
Expand Up @@ -41,7 +41,7 @@ class CORE_EXPORT QgsDistanceArea
//! Constructor
QgsDistanceArea();

//! Destructor

~QgsDistanceArea();

//! Copy constructor
Expand Down
2 changes: 1 addition & 1 deletion src/core/qgsfeature.h
Expand Up @@ -172,7 +172,7 @@ class CORE_EXPORT QgsFeature
bool operator!=( const QgsFeature& other ) const;


//! Destructor

virtual ~QgsFeature();

/** Get the feature ID for this feature.
Expand Down
2 changes: 1 addition & 1 deletion src/core/qgsfeaturefilterprovider.h
Expand Up @@ -40,7 +40,7 @@ class CORE_EXPORT QgsFeatureFilterProvider
//! Constructor
QgsFeatureFilterProvider() {}

//! Destructor

virtual ~QgsFeatureFilterProvider() {}

/** Add additional filters to the feature request to further restrict the features returned by the request.
Expand Down
2 changes: 1 addition & 1 deletion src/core/qgsfield.h
Expand Up @@ -89,7 +89,7 @@ class CORE_EXPORT QgsField
*/
QgsField& operator =( const QgsField &other );

//! Destructor

virtual ~QgsField();

bool operator==( const QgsField& other ) const;
Expand Down
2 changes: 1 addition & 1 deletion src/core/qgslabelingengine.h
Expand Up @@ -43,7 +43,7 @@ class CORE_EXPORT QgsAbstractLabelProvider
public:
//! Construct the provider with default values
QgsAbstractLabelProvider( const QString& layerId = QString(), const QString& providerId = QString() );
//! Vritual destructor

virtual ~QgsAbstractLabelProvider() {}

//! Associate provider with a labeling engine (should be only called internally from QgsLabelingEngine)
Expand Down
1 change: 0 additions & 1 deletion src/core/qgsmessageoutput.h
Expand Up @@ -42,7 +42,6 @@ class CORE_EXPORT QgsMessageOutput
//! message can be in plain text or in html format
enum MessageType { MessageText, MessageHtml };

//! virtual destructor
virtual ~QgsMessageOutput();

//! set message, it won't be displayed until
Expand Down
2 changes: 1 addition & 1 deletion src/core/qgsnetworkaccessmanager.h
Expand Up @@ -52,7 +52,7 @@ class CORE_EXPORT QgsNetworkAccessManager : public QNetworkAccessManager

QgsNetworkAccessManager( QObject *parent = nullptr );

//! destructor

~QgsNetworkAccessManager();

//! insert a factory into the proxy factories list
Expand Down
2 changes: 1 addition & 1 deletion src/core/qgsowsconnection.h
Expand Up @@ -43,7 +43,7 @@ class CORE_EXPORT QgsOwsConnection : public QObject
*/
QgsOwsConnection( const QString & theService, const QString & theConnName );

//! Destructor

~QgsOwsConnection();

//! Returns the list of connections for the specified service
Expand Down
2 changes: 1 addition & 1 deletion src/core/qgsrectangle.h
Expand Up @@ -43,7 +43,7 @@ class CORE_EXPORT QgsRectangle
QgsRectangle( const QRectF & qRectF );
//! Copy constructor
QgsRectangle( const QgsRectangle &other );
//! Destructor

~QgsRectangle();
//! Set the rectangle from two QgsPoints. The rectangle is
//! normalised after construction.
Expand Down

0 comments on commit 9021bb4

Please sign in to comment.