Class: QgsGpsConnectionRegistry¶
-
class
qgis.core.
QgsGpsConnectionRegistry
¶ Bases:
sip.wrapper
Constructor for QgsGpsConnectionRegistry.
A class to register / unregister existing GPS connections such that the information is available to all classes and plugins.
QgsGpsConnectionRegistry
is not usually directly created, but rather accessed throughQgsApplication.gpsConnectionRegistry()
Methods
- rtype
List[QgsGpsConnection]
Inserts a connection into the registry.
Unregisters connection.
-
connectionList
(self) → List[QgsGpsConnection]¶ - Return type
List[QgsGpsConnection]
-
registerConnection
(self, c: QgsGpsConnection)¶ Inserts a connection into the registry. The connection is owned by the registry class until it is unregistered again
- Parameters
c (QgsGpsConnection) –
-
unregisterConnection
(self, c: QgsGpsConnection)¶ Unregisters connection. The registry does no longer own the connection
- Parameters
c (QgsGpsConnection) –