Skip to content

Commit eb4d8c7

Browse files
committed
Fix docs for QgsProjectionSelectionWidget
1 parent 721d9f5 commit eb4d8c7

File tree

2 files changed

+14
-14
lines changed

2 files changed

+14
-14
lines changed

python/gui/qgsprojectionselectionwidget.sip

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -25,43 +25,43 @@ class QgsProjectionSelectionWidget : QWidget
2525

2626
explicit QgsProjectionSelectionWidget( QWidget *parent /TransferThis/ = 0 );
2727

28-
/* Returns a pointer to the projection selector dialog used by the widget.
28+
/** Returns a pointer to the projection selector dialog used by the widget.
2929
* Can be used to modify how the projection selector dialog behaves.
3030
* @returns projection selector dialog
3131
*/
3232
QgsGenericProjectionSelector* dialog();
3333

34-
/* Returns the currently selected CRS for the widget
34+
/** Returns the currently selected CRS for the widget
3535
* @returns current CRS
3636
*/
3737
QgsCoordinateReferenceSystem crs() const;
3838

39-
/* Sets whether a predefined CRS option should be shown in the widget.
39+
/** Sets whether a predefined CRS option should be shown in the widget.
4040
* @param option CRS option to show/hide
4141
* @param visible whether the option should be shown
4242
*/
4343
void setOptionVisible( const CrsOption option, const bool visible );
4444

4545
signals:
4646

47-
/* Emitted when the selected CRS is changed
47+
/** Emitted when the selected CRS is changed
4848
*/
4949
void crsChanged( QgsCoordinateReferenceSystem );
5050

5151
public slots:
5252

53-
/* Sets the current CRS for the widget
53+
/** Sets the current CRS for the widget
5454
* @param crs new CRS
5555
*/
5656
void setCrs( const QgsCoordinateReferenceSystem& crs );
5757

58-
/* Sets the layer CRS for the widget. If set, this will be added as an option
58+
/** Sets the layer CRS for the widget. If set, this will be added as an option
5959
* to the preset CRSes shown in the widget.
6060
* @param crs layer CRS
6161
*/
6262
void setLayerCrs( const QgsCoordinateReferenceSystem& crs );
6363

64-
/* Opens the dialog for selecting a new CRS
64+
/** Opens the dialog for selecting a new CRS
6565
*/
6666
void selectCrs();
6767

src/gui/qgsprojectionselectionwidget.h

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -50,43 +50,43 @@ class GUI_EXPORT QgsProjectionSelectionWidget : public QWidget
5050

5151
explicit QgsProjectionSelectionWidget( QWidget *parent = 0 );
5252

53-
/* Returns a pointer to the projection selector dialog used by the widget.
53+
/** Returns a pointer to the projection selector dialog used by the widget.
5454
* Can be used to modify how the projection selector dialog behaves.
5555
* @returns projection selector dialog
5656
*/
5757
QgsGenericProjectionSelector* dialog() { return mDialog; }
5858

59-
/* Returns the currently selected CRS for the widget
59+
/** Returns the currently selected CRS for the widget
6060
* @returns current CRS
6161
*/
6262
QgsCoordinateReferenceSystem crs() const;
6363

64-
/* Sets whether a predefined CRS option should be shown in the widget.
64+
/** Sets whether a predefined CRS option should be shown in the widget.
6565
* @param option CRS option to show/hide
6666
* @param visible whether the option should be shown
6767
*/
6868
void setOptionVisible( const CrsOption option, const bool visible );
6969

7070
signals:
7171

72-
/* Emitted when the selected CRS is changed
72+
/** Emitted when the selected CRS is changed
7373
*/
7474
void crsChanged( QgsCoordinateReferenceSystem );
7575

7676
public slots:
7777

78-
/* Sets the current CRS for the widget
78+
/** Sets the current CRS for the widget
7979
* @param crs new CRS
8080
*/
8181
void setCrs( const QgsCoordinateReferenceSystem& crs );
8282

83-
/* Sets the layer CRS for the widget. If set, this will be added as an option
83+
/** Sets the layer CRS for the widget. If set, this will be added as an option
8484
* to the preset CRSes shown in the widget.
8585
* @param crs layer CRS
8686
*/
8787
void setLayerCrs( const QgsCoordinateReferenceSystem& crs );
8888

89-
/* Opens the dialog for selecting a new CRS
89+
/** Opens the dialog for selecting a new CRS
9090
*/
9191
void selectCrs();
9292

0 commit comments

Comments
 (0)