QGIS API Documentation
3.24.2-Tisler (13c1a02865)
|
A registry for QgsAbstractBabelFormat GPSBabel formats. More...
#include <qgsbabelformatregistry.h>
Public Member Functions | |
QgsBabelFormatRegistry () | |
Constructor for QgsBabelFormatRegistry. More... | |
QgsBabelFormatRegistry (const QgsBabelFormatRegistry &rh)=delete | |
QgsBabelFormatRegistry cannot be copied. More... | |
~QgsBabelFormatRegistry () | |
QgsBabelGpsDeviceFormat * | deviceFormat (const QString &name) |
Returns a registered device format by name. More... | |
QStringList | deviceNames () const |
Returns a list of the names of all registered devices. More... | |
QMap< QString, QgsBabelGpsDeviceFormat * > | devices () const |
Returns a map of device name to device format. More... | |
QString | importFileFilter () const |
Returns a file filter string representing all registered import formats. More... | |
QgsBabelSimpleImportFormat * | importFormat (const QString &name) |
Returns a registered import format by name. More... | |
QgsBabelSimpleImportFormat * | importFormatByDescription (const QString &description) |
Returns a registered import format by description. More... | |
QStringList | importFormatNames () const |
Returns a list of the names of all registered import formats. More... | |
QgsBabelFormatRegistry & | operator= (const QgsBabelFormatRegistry &rh)=delete |
QgsBabelFormatRegistry cannot be copied. More... | |
void | reloadFromSettings () |
Reloads the registry's members from the currently stored configuration. More... | |
A registry for QgsAbstractBabelFormat GPSBabel formats.
QgsBabelFormatRegistry is not usually directly created, but rather accessed through QgsApplication::gpsBabelFormatRegistry().
Definition at line 35 of file qgsbabelformatregistry.h.
QgsBabelFormatRegistry::QgsBabelFormatRegistry | ( | ) |
Constructor for QgsBabelFormatRegistry.
The registry will automatically be populated with standard formats, and with devices previously configured and stored in QSettings.
Definition at line 25 of file qgsbabelformatregistry.cpp.
QgsBabelFormatRegistry::~QgsBabelFormatRegistry | ( | ) |
Definition at line 176 of file qgsbabelformatregistry.cpp.
|
delete |
QgsBabelFormatRegistry cannot be copied.
QgsBabelGpsDeviceFormat * QgsBabelFormatRegistry::deviceFormat | ( | const QString & | name | ) |
Returns a registered device format by name.
Definition at line 245 of file qgsbabelformatregistry.cpp.
QStringList QgsBabelFormatRegistry::deviceNames | ( | ) | const |
Returns a list of the names of all registered devices.
Definition at line 240 of file qgsbabelformatregistry.cpp.
QMap< QString, QgsBabelGpsDeviceFormat * > QgsBabelFormatRegistry::devices | ( | ) | const |
Returns a map of device name to device format.
Definition at line 250 of file qgsbabelformatregistry.cpp.
QString QgsBabelFormatRegistry::importFileFilter | ( | ) | const |
Returns a file filter string representing all registered import formats.
Definition at line 207 of file qgsbabelformatregistry.cpp.
QgsBabelSimpleImportFormat * QgsBabelFormatRegistry::importFormat | ( | const QString & | name | ) |
Returns a registered import format by name.
Definition at line 187 of file qgsbabelformatregistry.cpp.
QgsBabelSimpleImportFormat * QgsBabelFormatRegistry::importFormatByDescription | ( | const QString & | description | ) |
Returns a registered import format by description.
Definition at line 192 of file qgsbabelformatregistry.cpp.
QStringList QgsBabelFormatRegistry::importFormatNames | ( | ) | const |
Returns a list of the names of all registered import formats.
Definition at line 182 of file qgsbabelformatregistry.cpp.
|
delete |
QgsBabelFormatRegistry cannot be copied.
void QgsBabelFormatRegistry::reloadFromSettings | ( | ) |
Reloads the registry's members from the currently stored configuration.
Definition at line 255 of file qgsbabelformatregistry.cpp.