Skip to content

Commit 9021bb4

Browse files
committed
Remove "//! Destructor" doxygen comments
This documentation doesn't add any value
1 parent 8319dac commit 9021bb4

File tree

119 files changed

+102
-160
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

119 files changed

+102
-160
lines changed

src/analysis/interpolation/Bezier3D.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ class ANALYSIS_EXPORT Bezier3D: public ParametricLine
3131
Bezier3D();
3232
//! Constructor, par is a pointer to the parent, controlpoly a controlpolygon
3333
Bezier3D( ParametricLine* par, QVector<Point3D*>* controlpoly );
34-
//! Destructor
34+
3535
virtual ~Bezier3D();
3636
//! Do not use this method, since a Bezier curve does not consist of other curves
3737
virtual void add( ParametricLine *pl ) override;

src/analysis/interpolation/CloughTocherInterpolator.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,6 @@ class ANALYSIS_EXPORT CloughTocherInterpolator : public TriangleInterpolator
8181
CloughTocherInterpolator();
8282
//! Constructor with a pointer to the triangulation as argument
8383
CloughTocherInterpolator( NormVecDecorator* tin );
84-
//! Destructor
8584
virtual ~CloughTocherInterpolator();
8685
//! Calculates the normal vector and assigns it to vec (not implemented at the moment)
8786
virtual bool calcNormVec( double x, double y, Vector3D* result ) override;

src/analysis/interpolation/LinTriangleInterpolator.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ class ANALYSIS_EXPORT LinTriangleInterpolator : public TriangleInterpolator
2929
LinTriangleInterpolator();
3030
//! Constructor with reference to a DualEdgeTriangulation object
3131
LinTriangleInterpolator( DualEdgeTriangulation* tin );
32-
//! Destructor
3332
virtual ~LinTriangleInterpolator();
3433
//! Calculates the normal vector and assigns it to vec
3534
virtual bool calcNormVec( double x, double y, Vector3D* result ) override;

src/analysis/interpolation/ParametricLine.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@ class ANALYSIS_EXPORT ParametricLine
4141
/** Constructor, par is a pointer to the parent object, controlpoly the controlpolygon
4242
*/
4343
ParametricLine( ParametricLine* par, QVector<Point3D*>* controlpoly );
44-
//! Destructor
4544
virtual ~ParametricLine();
4645
virtual void add( ParametricLine* pl ) = 0;
4746
virtual void calcFirstDer( float t, Vector3D* v ) = 0;

src/analysis/interpolation/Vector3D.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ class ANALYSIS_EXPORT Vector3D
4242
Vector3D();
4343
//! Copy constructor
4444
Vector3D( const Vector3D& v );
45-
//! Destructor
45+
4646
~Vector3D();
4747
Vector3D& operator=( const Vector3D& v );
4848
bool operator==( const Vector3D& v ) const;

src/analysis/network/qgsgraphbuilderinterface.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@ class ANALYSIS_EXPORT QgsGraphBuilderInterface
5050
mDa.setEllipsoidalMode( ctfEnabled );
5151
}
5252

53-
//! Destructor
5453
virtual ~QgsGraphBuilderInterface()
5554
{ }
5655

src/analysis/network/qgsgraphdirector.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ class ANALYSIS_EXPORT QgsGraphDirector : public QObject
4040
void buildMessage( const QString& ) const;
4141

4242
public:
43-
//! Destructor
43+
4444
virtual ~QgsGraphDirector() { }
4545

4646
/**

src/analysis/network/qgsvectorlayerdirector.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,6 @@ class ANALYSIS_EXPORT QgsVectorLayerDirector : public QgsGraphDirector
6464
const Direction defaultDirection
6565
);
6666

67-
//! Destructor
6867
virtual ~QgsVectorLayerDirector();
6968

7069
/*

src/app/ogr/qgsnewogrconnection.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ class QgsNewOgrConnection : public QDialog, private Ui::QgsNewOgrConnectionBase
3232
public:
3333
//! Constructor
3434
QgsNewOgrConnection( QWidget *parent = nullptr, const QString& connType = QString::null, const QString& connName = QString::null, Qt::WindowFlags fl = QgisGui::ModalDialogFlags );
35-
//! Destructor
35+
3636
~QgsNewOgrConnection();
3737
//! Tests the connection using the parameters supplied
3838
void testConnection();

src/app/pluginmanager/qgsapppluginmanagerinterface.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ class QgsAppPluginManagerInterface : public QgsPluginManagerInterface
3434
//! Constructor
3535
explicit QgsAppPluginManagerInterface( QgsPluginManager * pluginManager );
3636

37-
//! Destructor
3837
~QgsAppPluginManagerInterface();
3938

4039
//! remove python plugins from the metadata registry (c++ plugins stay)

src/app/pluginmanager/qgspluginmanager.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@ class QgsPluginManager : public QgsOptionsDialogBase, private Ui::QgsPluginManag
5050
//! Constructor; set pluginsAreEnabled to false in --noplugins mode
5151
QgsPluginManager( QWidget *parent = nullptr, bool pluginsAreEnabled = true, Qt::WindowFlags fl = QgisGui::ModalDialogFlags );
5252

53-
//! Destructor
5453
~QgsPluginManager();
5554

5655
//! Save pointer to python utils and enable Python support

src/app/qgisapp.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ class APP_EXPORT QgisApp : public QMainWindow, private Ui::MainWindow
151151
QgisApp( QSplashScreen *splash, bool restorePlugins = true, bool skipVersionCheck = false, QWidget *parent = nullptr, Qt::WindowFlags fl = Qt::Window );
152152
//! Constructor for unit tests
153153
QgisApp();
154-
//! Destructor
154+
155155
~QgisApp();
156156

157157
/**

src/app/qgsclipboard.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,6 @@ class APP_EXPORT QgsClipboard : public QObject
6767
*/
6868
QgsClipboard();
6969

70-
//! Destructor
7170
virtual ~QgsClipboard();
7271

7372
/**

src/app/qgsdecorationcopyright.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ class APP_EXPORT QgsDecorationCopyright : public QgsDecorationItem
3636

3737
//! Constructor
3838
QgsDecorationCopyright( QObject* parent = nullptr );
39-
//! Destructor
39+
4040
virtual ~QgsDecorationCopyright();
4141

4242
public slots:

src/app/qgsdecorationgrid.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ class APP_EXPORT QgsDecorationGrid: public QgsDecorationItem
3535
public:
3636
//! Constructor
3737
QgsDecorationGrid( QObject* parent = nullptr );
38-
//! Destructor
38+
3939
virtual ~ QgsDecorationGrid();
4040

4141
enum GridStyle

src/app/qgsdecorationitem.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ class APP_EXPORT QgsDecorationItem: public QObject
4141

4242
//! Constructor
4343
QgsDecorationItem( QObject* parent = nullptr );
44-
//! Destructor
44+
4545
virtual ~ QgsDecorationItem();
4646

4747
void setEnabled( bool enabled ) { mEnabled = enabled; }

src/app/qgsdecorationnortharrow.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ class APP_EXPORT QgsDecorationNorthArrow: public QgsDecorationItem
3434
public:
3535
//! Constructor
3636
QgsDecorationNorthArrow( QObject* parent = nullptr );
37-
//! Destructor
37+
3838
virtual ~QgsDecorationNorthArrow();
3939

4040
public slots:

src/app/qgsdecorationscalebar.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ class APP_EXPORT QgsDecorationScaleBar: public QgsDecorationItem
3434
public:
3535
//! Constructor
3636
QgsDecorationScaleBar( QObject* parent = nullptr );
37-
//! Destructor
37+
3838
virtual ~ QgsDecorationScaleBar();
3939

4040
public slots:

src/app/qgsoptions.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -929,7 +929,7 @@ QgsOptions::QgsOptions( QWidget *parent, Qt::WindowFlags fl )
929929
restoreOptionsBaseUi();
930930
}
931931

932-
//! Destructor
932+
933933
QgsOptions::~QgsOptions()
934934
{
935935
delete mSettings;

src/app/qgsoptions.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ class APP_EXPORT QgsOptions : public QgsOptionsDialogBase, private Ui::QgsOption
4646
* @param modal true for modal dialog
4747
*/
4848
QgsOptions( QWidget *parent = nullptr, Qt::WindowFlags fl = QgisGui::ModalDialogFlags );
49-
//! Destructor
49+
5050
~QgsOptions();
5151

5252
/** Sets the page with the specified widget name as the current page

src/app/qgsprojectproperties.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ class APP_EXPORT QgsProjectProperties : public QgsOptionsDialogBase, private Ui:
4343
//! Constructor
4444
QgsProjectProperties( QgsMapCanvas* mapCanvas, QWidget *parent = nullptr, Qt::WindowFlags fl = QgisGui::ModalDialogFlags );
4545

46-
//! Destructor
46+
4747
~QgsProjectProperties();
4848

4949
/** Gets the currently select map units

src/app/qgsrasterlayerproperties.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ class APP_EXPORT QgsRasterLayerProperties : public QgsOptionsDialogBase, private
4848
* @param ml Map layer for which properties will be displayed
4949
*/
5050
QgsRasterLayerProperties( QgsMapLayer *lyr, QgsMapCanvas* theCanvas, QWidget *parent = nullptr, Qt::WindowFlags = QgisGui::ModalDialogFlags );
51-
//! \brief Destructor
51+
5252
~QgsRasterLayerProperties();
5353

5454
//! Synchronize state with associated raster layer

src/app/qgssnappingwidget.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ class APP_EXPORT QgsSnappingWidget : public QWidget
5555
*/
5656
QgsSnappingWidget( QgsProject* project, QgsMapCanvas* canvas, QWidget* parent = nullptr );
5757

58-
//! Destructor
58+
5959
virtual ~QgsSnappingWidget();
6060

6161
/**

src/app/qgsstatusbarmagnifierwidget.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ class APP_EXPORT QgsStatusBarMagnifierWidget : public QWidget
4040
*/
4141
QgsStatusBarMagnifierWidget( QWidget* parent = nullptr );
4242

43-
//! Destructor
43+
4444
virtual ~QgsStatusBarMagnifierWidget();
4545

4646
void setDefaultFactor( double factor );

src/app/qgsstatusbarscalewidget.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ class APP_EXPORT QgsStatusBarScaleWidget : public QWidget
3939
public:
4040
explicit QgsStatusBarScaleWidget( QgsMapCanvas* canvas, QWidget *parent = 0 );
4141

42-
//! Destructor
42+
4343
virtual ~QgsStatusBarScaleWidget();
4444

4545
/**

src/app/qgstipfactory.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ class APP_EXPORT QgsTipFactory : public QObject
3333
public:
3434
//! Constructor
3535
QgsTipFactory();
36-
//! Destructor
36+
3737
~QgsTipFactory();
3838

3939
/** Get a random tip (generic or gui-centric)

src/core/composer/qgscomposernodesitem.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ class CORE_EXPORT QgsComposerNodesItem: public QgsComposerItem
4545
*/
4646
QgsComposerNodesItem( const QString &mTagName, const QPolygonF &polygon, QgsComposition* c );
4747

48-
//! Destructor
48+
4949
~QgsComposerNodesItem();
5050

5151
/** Add a node in current shape.

src/core/composer/qgscomposerpolygon.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ class CORE_EXPORT QgsComposerPolygon: public QgsComposerNodesItem
4545
*/
4646
QgsComposerPolygon( const QPolygonF &polygon, QgsComposition* c );
4747

48-
//! Destructor
48+
4949
~QgsComposerPolygon();
5050

5151
//! Overridden to return shape name

src/core/composer/qgscomposerpolyline.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ class CORE_EXPORT QgsComposerPolyline: public QgsComposerNodesItem
4444
*/
4545
QgsComposerPolyline( const QPolygonF &polyline, QgsComposition* c );
4646

47-
//! Destructor
47+
4848
~QgsComposerPolyline();
4949

5050
//! Overridden to return shape name

src/core/geometry/qgsgeometry.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ class CORE_EXPORT QgsGeometry
9595
*/
9696
explicit QgsGeometry( QgsAbstractGeometry* geom );
9797

98-
//! Destructor
98+
9999
~QgsGeometry();
100100

101101
/** Returns the underlying geometry store.

src/core/qgsattributeeditorelement.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ class CORE_EXPORT QgsAttributeEditorElement
5656
, mShowLabel( true )
5757
{}
5858

59-
//! Destructor
59+
6060
virtual ~QgsAttributeEditorElement() {}
6161

6262
/**
@@ -155,7 +155,7 @@ class CORE_EXPORT QgsAttributeEditorContainer : public QgsAttributeEditorElement
155155
, mColumnCount( 1 )
156156
{}
157157

158-
//! Destructor
158+
159159
virtual ~QgsAttributeEditorContainer();
160160

161161
/**
@@ -269,7 +269,7 @@ class CORE_EXPORT QgsAttributeEditorField : public QgsAttributeEditorElement
269269
, mIdx( idx )
270270
{}
271271

272-
//! Destructor
272+
273273
virtual ~QgsAttributeEditorField() {}
274274

275275
/**
@@ -322,7 +322,7 @@ class CORE_EXPORT QgsAttributeEditorRelation : public QgsAttributeEditorElement
322322
, mShowUnlinkButton( true )
323323
{}
324324

325-
//! Destructor
325+
326326
virtual ~QgsAttributeEditorRelation() {}
327327

328328
/**

src/core/qgscontexthelp.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ class CORE_EXPORT QgsContextHelp : public QObject
4545
private:
4646
//! Constructor
4747
QgsContextHelp();
48-
//! Destructor
48+
4949
~QgsContextHelp();
5050

5151
QProcess *start();

src/core/qgscredentials.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
class CORE_EXPORT QgsCredentials
3838
{
3939
public:
40-
//! virtual destructor
40+
4141
virtual ~QgsCredentials();
4242

4343
bool get( const QString& realm, QString &username, QString &password, const QString& message = QString::null );

src/core/qgsdistancearea.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ class CORE_EXPORT QgsDistanceArea
4141
//! Constructor
4242
QgsDistanceArea();
4343

44-
//! Destructor
44+
4545
~QgsDistanceArea();
4646

4747
//! Copy constructor

src/core/qgsfeature.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ class CORE_EXPORT QgsFeature
172172
bool operator!=( const QgsFeature& other ) const;
173173

174174

175-
//! Destructor
175+
176176
virtual ~QgsFeature();
177177

178178
/** Get the feature ID for this feature.

src/core/qgsfeaturefilterprovider.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ class CORE_EXPORT QgsFeatureFilterProvider
4040
//! Constructor
4141
QgsFeatureFilterProvider() {}
4242

43-
//! Destructor
43+
4444
virtual ~QgsFeatureFilterProvider() {}
4545

4646
/** Add additional filters to the feature request to further restrict the features returned by the request.

src/core/qgsfield.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ class CORE_EXPORT QgsField
8989
*/
9090
QgsField& operator =( const QgsField &other );
9191

92-
//! Destructor
92+
9393
virtual ~QgsField();
9494

9595
bool operator==( const QgsField& other ) const;

src/core/qgslabelingengine.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ class CORE_EXPORT QgsAbstractLabelProvider
4343
public:
4444
//! Construct the provider with default values
4545
QgsAbstractLabelProvider( const QString& layerId = QString(), const QString& providerId = QString() );
46-
//! Vritual destructor
46+
4747
virtual ~QgsAbstractLabelProvider() {}
4848

4949
//! Associate provider with a labeling engine (should be only called internally from QgsLabelingEngine)

src/core/qgsmessageoutput.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ class CORE_EXPORT QgsMessageOutput
4242
//! message can be in plain text or in html format
4343
enum MessageType { MessageText, MessageHtml };
4444

45-
//! virtual destructor
4645
virtual ~QgsMessageOutput();
4746

4847
//! set message, it won't be displayed until

src/core/qgsnetworkaccessmanager.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ class CORE_EXPORT QgsNetworkAccessManager : public QNetworkAccessManager
5252

5353
QgsNetworkAccessManager( QObject *parent = nullptr );
5454

55-
//! destructor
55+
5656
~QgsNetworkAccessManager();
5757

5858
//! insert a factory into the proxy factories list

src/core/qgsowsconnection.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ class CORE_EXPORT QgsOwsConnection : public QObject
4343
*/
4444
QgsOwsConnection( const QString & theService, const QString & theConnName );
4545

46-
//! Destructor
46+
4747
~QgsOwsConnection();
4848

4949
//! Returns the list of connections for the specified service

src/core/qgsrectangle.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ class CORE_EXPORT QgsRectangle
4343
QgsRectangle( const QRectF & qRectF );
4444
//! Copy constructor
4545
QgsRectangle( const QgsRectangle &other );
46-
//! Destructor
46+
4747
~QgsRectangle();
4848
//! Set the rectangle from two QgsPoints. The rectangle is
4949
//! normalised after construction.

0 commit comments

Comments
 (0)