Class: QgsGpsConnectionRegistry¶
Registers existing GPS connections such that the information is available to all classes and plugins.
QgsGpsConnectionRegistry is not usually directly created,
but rather accessed through
QgsApplication.gpsConnectionRegistry().
List of all members, including inherited members
Methods
Inserts a connection into the registry. |
|
Unregisters connection. |
- class qgis.core.QgsGpsConnectionRegistry[source]¶
Bases:
object- connectionList(self) list[QgsGpsConnection]¶
- Return type:
list[QgsGpsConnection]
- registerConnection(self, c: QgsGpsConnection | None)[source]¶
Inserts a connection into the registry. The connection is owned by the registry class until it is unregistered again
- Parameters:
c (Optional[QgsGpsConnection])
- unregisterConnection(self, c: QgsGpsConnection | None)[source]¶
Unregisters connection. The registry does no longer own the connection
- Parameters:
c (Optional[QgsGpsConnection])