Skip to content

Commit 5b36dfc

Browse files
committed
Remove some doxygen comments from overridden methods (pt 2)
1 parent 46a69df commit 5b36dfc

27 files changed

Lines changed: 16 additions & 85 deletions

‎src/core/qgsgeometrysimplifier.h‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,6 @@ class CORE_EXPORT QgsTopologyPreservingSimplifier : public QgsAbstractGeometrySi
6060
*/
6161
QgsTopologyPreservingSimplifier( double tolerance );
6262

63-
//! Returns a simplified version the specified geometry
6463
virtual QgsGeometry simplify( const QgsGeometry& geometry ) const override;
6564

6665
protected:

‎src/gui/auth/qgsauthserverseditor.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ class GUI_EXPORT QgsAuthServersEditor : public QWidget, private Ui::QgsAuthServe
6565
void authMessageOut( const QString& message, const QString& authtag, QgsAuthManager::MessageLevel level );
6666

6767
protected:
68-
//! Overridden show event of base widget
68+
6969
void showEvent( QShowEvent *e ) override;
7070

7171
private:

‎src/gui/auth/qgsauthsslconfigwidget.h‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,6 @@ class GUI_EXPORT QgsAuthSslConfigDialog : public QDialog
205205
QgsAuthSslConfigWidget *sslCustomConfigWidget() { return mSslConfigWdgt; }
206206

207207
public slots:
208-
//! Overridden base dialog accept slot
209208
void accept() override;
210209

211210
private slots:

‎src/gui/auth/qgsauthsslimportdialog.h‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,6 @@ class GUI_EXPORT QgsAuthSslImportDialog : public QDialog, private Ui::QgsAuthSsl
8989
~QgsAuthSslImportDialog();
9090

9191
public slots:
92-
//! Overridden slot of base dialog
9392
void accept() override;
9493

9594
private slots:

‎src/gui/auth/qgsauthtrustedcasdialog.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ class GUI_EXPORT QgsAuthTrustedCAsDialog : public QDialog, private Ui::QgsAuthTr
6565
void authMessageOut( const QString& message, const QString& authtag, QgsAuthManager::MessageLevel level );
6666

6767
protected:
68-
//! Overridden widget show event
68+
6969
void showEvent( QShowEvent *e ) override;
7070

7171
private:

‎src/gui/editorwidgets/qgsdatetimeedit.h‎

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ class GUI_EXPORT QgsDateTimeEdit : public QDateTimeEdit
3232
public:
3333
explicit QgsDateTimeEdit( QWidget *parent = nullptr );
3434

35-
//! determines if the widget allows setting null date/time.
35+
//! Determines if the widget allows setting null date/time.
3636
void setAllowNull( bool allowNull );
3737
bool allowNull() const {return mAllowNull;}
3838

@@ -48,8 +48,10 @@ class GUI_EXPORT QgsDateTimeEdit : public QDateTimeEdit
4848
*/
4949
QDateTime dateTime() const;
5050

51-
//! Set the current date as NULL
52-
//! @note if the widget is not configured to accept NULL dates, this will have no effect
51+
/**
52+
* Set the current date as NULL
53+
* @note if the widget is not configured to accept NULL dates, this will have no effect
54+
*/
5355
virtual void clear() override;
5456

5557
/** Resets the widget to show no value (ie, an "unknown" state).

‎src/gui/qgsadvanceddigitizingdockwidget.h‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,6 @@ class GUI_EXPORT QgsAdvancedDigitizingDockWidget : public QgsDockWidget, private
259259
*/
260260
QgsMapMouseEvent::SnappingMode snappingMode() { return mSnappingMode; }
261261

262-
//! key press event on the dock
263262
void keyPressEvent( QKeyEvent* e ) override;
264263

265264
//! determines if CAD tools are enabled or if map tools behaves "nomally"

‎src/gui/qgsannotationitem.h‎

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -71,17 +71,10 @@ class GUI_EXPORT QgsAnnotationItem: public QgsMapCanvasItem, public QgsAnnotatio
7171

7272
virtual void setMapPosition( const QgsPoint& pos );
7373
QgsPoint mapPosition() const override { return mMapPosition; }
74-
7574
virtual QPointF relativePosition() const override;
76-
7775
virtual double scaleFactor() const override;
78-
7976
virtual bool showItem() const override { return isVisible(); }
80-
81-
/** Sets the CRS of the map position.
82-
@param crs the CRS to set */
8377
virtual void setMapPositionCrs( const QgsCoordinateReferenceSystem& crs );
84-
//! Returns the CRS of the map position.
8578
QgsCoordinateReferenceSystem mapPositionCrs() const override { return mMapPositionCrs; }
8679

8780
void setFrameSize( QSizeF size );

‎src/gui/qgsformannotationitem.h‎

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,15 +34,11 @@ class GUI_EXPORT QgsFormAnnotationItem: public QObject, public QgsAnnotationItem
3434
~QgsFormAnnotationItem();
3535

3636
void paint( QPainter * painter ) override;
37-
38-
//! paint function called by map canvas
3937
void paint( QPainter * painter, const QStyleOptionGraphicsItem * option, QWidget * widget = nullptr ) override;
40-
4138
QSizeF minimumFrameSize() const override;
4239
//! Returns the optimal frame size
4340
QSizeF preferredFrameSize() const;
4441

45-
//! Reimplemented from QgsAnnotationItem
4642
void setMapPosition( const QgsPoint& pos ) override;
4743

4844
void setDesignerForm( const QString& uiFile );

‎src/gui/qgshtmlannotationitem.h‎

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,10 @@ class GUI_EXPORT QgsHtmlAnnotationItem: public QObject, public QgsAnnotationItem
3636
~QgsHtmlAnnotationItem();
3737

3838
void paint( QPainter * painter ) override;
39-
40-
//! paint function called by map canvas
4139
void paint( QPainter * painter, const QStyleOptionGraphicsItem * option, QWidget * widget = nullptr ) override;
4240

4341
QSizeF minimumFrameSize() const override;
4442

45-
//! Reimplemented from QgsAnnotationItem
4643
void setMapPosition( const QgsPoint& pos ) override;
4744

4845
void setHTMLPage( const QString& htmlFile );

0 commit comments

Comments
 (0)