Skip to content
Permalink
Browse files

[gps] Add missing Transfer annotation

  • Loading branch information
nyalldawson committed Jan 7, 2020
1 parent e9cb34e commit a0c455b292ff44f8390b62350463100b87a0ddf9
Showing with 7 additions and 3 deletions.
  1. +3 −1 python/core/auto_generated/gps/qgsnmeaconnection.sip.in
  2. +4 −2 src/core/gps/qgsnmeaconnection.h
@@ -22,9 +22,11 @@ Evaluates NMEA sentences coming from a GPS device
%End
public:

QgsNmeaConnection( QIODevice *device );
QgsNmeaConnection( QIODevice *device /Transfer/ );
%Docstring
Constructs a QgsNmeaConnection with given ``device``.

Ownership of ``device`` is transferred to the connection.
%End

protected slots:
@@ -32,9 +32,11 @@ class CORE_EXPORT QgsNmeaConnection: public QgsGpsConnection
public:

/**
* \brief Constructs a QgsNmeaConnection with given \a device.
* Constructs a QgsNmeaConnection with given \a device.
*
* Ownership of \a device is transferred to the connection.
*/
QgsNmeaConnection( QIODevice *device );
QgsNmeaConnection( QIODevice *device SIP_TRANSFER );

protected slots:
//! Parse available data source content

0 comments on commit a0c455b

Please sign in to comment.
You can’t perform that action at this time.