Skip to content

Commit 54a5059

Browse files
committedJun 25, 2018
since 3.4
1 parent 5ef5d39 commit 54a5059

File tree

4 files changed

+22
-4
lines changed

4 files changed

+22
-4
lines changed
 

‎src/quickgui/qgsquickcoordinatetransformer.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
*
3535
* \note QML Type: CoordinateTransformer
3636
*
37-
* \since QGIS 3.2
37+
* \since QGIS 3.4
3838
*/
3939
class QUICK_EXPORT QgsQuickCoordinateTransformer : public QObject
4040
{

‎src/quickgui/qgsquickpositionkit.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
*
3636
* \note QML Type: PositionKit
3737
*
38-
* \since QGIS 3.2
38+
* \since QGIS 3.4
3939
*/
4040
class QUICK_EXPORT QgsQuickPositionKit : public QObject
4141
{

‎src/quickgui/qgsquicksimulatedpositionsource.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
*
4747
* \note QML Type: not exported
4848
*
49-
* \since QGIS 3.2
49+
* \since QGIS 3.4
5050
*/
5151
class QUICK_NO_EXPORT QgsQuickSimulatedPositionSource : public QGeoPositionInfoSource
5252
{

‎src/quickgui/qgsquickutils.h

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,26 +74,36 @@ class QUICK_EXPORT QgsQuickUtils: public QObject
7474

7575
/**
7676
* Creates crs from epsg code in QML
77+
*
78+
* \since QGIS 3.4
7779
*/
7880
Q_INVOKABLE static QgsCoordinateReferenceSystem coordinateReferenceSystemFromEpsgId( long epsg );
7981

8082
/**
8183
* Creates QgsPointXY in QML
84+
*
85+
* \since QGIS 3.4
8286
*/
8387
Q_INVOKABLE QgsPointXY pointXYFactory( double x, double y ) const;
8488

8589
/**
8690
* Creates QgsPoint in QML
91+
*
92+
* \since QGIS 3.4
8793
*/
8894
Q_INVOKABLE QgsPoint pointFactory( double x, double y, double z = std::numeric_limits<double>::quiet_NaN(), double m = std::numeric_limits<double>::quiet_NaN() ) const;
8995

9096
/**
9197
* Converts QGeoCoordinate to QgsPoint
98+
*
99+
* \since QGIS 3.4
92100
*/
93101
Q_INVOKABLE QgsPoint coordinateToPoint( const QGeoCoordinate &coor ) const;
94102

95103
/**
96104
* Transforms point between different crs from QML
105+
*
106+
* \since QGIS 3.4
97107
*/
98108
Q_INVOKABLE static QgsPointXY transformPoint( const QgsCoordinateReferenceSystem &srcCrs,
99109
const QgsCoordinateReferenceSystem &destCrs,
@@ -121,10 +131,16 @@ class QUICK_EXPORT QgsQuickUtils: public QObject
121131

122132
/**
123133
* Returns QUrl to image from library's /images folder.
134+
*
135+
* \since QGIS 3.4
124136
*/
125137
Q_INVOKABLE const QUrl getThemeIcon( const QString &name );
126138

127-
//! \copydoc QgsCoordinateFormatter::format()
139+
/**
140+
* \copydoc QgsCoordinateFormatter::format()
141+
*
142+
* \since QGIS 3.4
143+
*/
128144
Q_INVOKABLE static QString formatPoint(
129145
const QgsPoint &point,
130146
QgsCoordinateFormatter::Format format = QgsCoordinateFormatter::FormatPair,
@@ -141,6 +157,8 @@ class QUICK_EXPORT QgsQuickUtils: public QObject
141157
* \param units units of dist
142158
* \param decimals decimal to use
143159
* \returns string represetation of dist
160+
*
161+
* \since QGIS 3.4
144162
*/
145163
Q_INVOKABLE static QString formatDistance( double distance, QgsUnitTypes::DistanceUnit units, int decimals = 1 );
146164

0 commit comments

Comments
 (0)