Skip to content

Commit

Permalink
fix NMEA capitalization and doxygen
Browse files Browse the repository at this point in the history
  • Loading branch information
3nids committed Jan 15, 2018
1 parent 168c469 commit 7a1e4bd
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 5 deletions.
4 changes: 2 additions & 2 deletions python/core/gps/qgsgpsconnection.sip
Expand Up @@ -57,8 +57,8 @@ Abstract base class for connection to a GPS device*
%ConvertToSubClassCode
if ( sipCpp->inherits( "QgsGpsdConnection" ) )
sipType = sipType_QgsGpsdConnection;
else if ( sipCpp->inherits( "QgsNMEAConnection" ) )
sipType = sipType_QgsNMEAConnection;
else if ( sipCpp->inherits( "QgsNmeaConnection" ) )
sipType = sipType_QgsNmeaConnection;
else
sipType = NULL;
%End
Expand Down
2 changes: 2 additions & 0 deletions python/core/gps/qgsnmeaconnection.sip
Expand Up @@ -13,6 +13,8 @@ class QgsNmeaConnection: QgsGpsConnection
{
%Docstring
Evaluates NMEA sentences coming from a GPS device

.. versionadded:: 1.4
%End

%TypeHeaderCode
Expand Down
4 changes: 2 additions & 2 deletions src/core/gps/qgsgpsconnection.h
Expand Up @@ -74,8 +74,8 @@ class CORE_EXPORT QgsGpsConnection : public QObject
SIP_CONVERT_TO_SUBCLASS_CODE
if ( sipCpp->inherits( "QgsGpsdConnection" ) )
sipType = sipType_QgsGpsdConnection;
else if ( sipCpp->inherits( "QgsNMEAConnection" ) )
sipType = sipType_QgsNMEAConnection;
else if ( sipCpp->inherits( "QgsNmeaConnection" ) )
sipType = sipType_QgsNmeaConnection;
else
sipType = NULL;
SIP_END
Expand Down
3 changes: 2 additions & 1 deletion src/core/gps/qgsnmeaconnection.h
Expand Up @@ -24,7 +24,8 @@
/**
* \ingroup core
* Evaluates NMEA sentences coming from a GPS device
*/
* \since QGIS 1.4
*/
class CORE_EXPORT QgsNmeaConnection: public QgsGpsConnection
{
Q_OBJECT
Expand Down

0 comments on commit 7a1e4bd

Please sign in to comment.