QGIS API Documentation 3.41.0-Master (3440c17df1d)
|
A registry for QgsAbstractBabelFormat GPSBabel formats. More...
#include <qgsbabelformatregistry.h>
Public Member Functions | |
QgsBabelFormatRegistry () | |
Constructor for QgsBabelFormatRegistry. | |
QgsBabelFormatRegistry (const QgsBabelFormatRegistry &rh)=delete | |
~QgsBabelFormatRegistry () | |
QgsBabelGpsDeviceFormat * | deviceFormat (const QString &name) |
Returns a registered device format by name. | |
QStringList | deviceNames () const |
Returns a list of the names of all registered devices. | |
QMap< QString, QgsBabelGpsDeviceFormat * > | devices () const |
Returns a map of device name to device format. | |
QString | importFileFilter () const |
Returns a file filter string representing all registered import formats. | |
QgsBabelSimpleImportFormat * | importFormat (const QString &name) |
Returns a registered import format by name. | |
QgsBabelSimpleImportFormat * | importFormatByDescription (const QString &description) |
Returns a registered import format by description. | |
QStringList | importFormatNames () const |
Returns a list of the names of all registered import formats. | |
QgsBabelFormatRegistry & | operator= (const QgsBabelFormatRegistry &rh)=delete |
void | reloadFromSettings () |
Reloads the registry's members from the currently stored configuration. | |
A registry for QgsAbstractBabelFormat GPSBabel formats.
QgsBabelFormatRegistry is not usually directly created, but rather accessed through QgsApplication::gpsBabelFormatRegistry().
Definition at line 37 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 36 of file qgsbabelformatregistry.cpp.
QgsBabelFormatRegistry::~QgsBabelFormatRegistry | ( | ) |
Definition at line 187 of file qgsbabelformatregistry.cpp.
|
delete |
QgsBabelGpsDeviceFormat * QgsBabelFormatRegistry::deviceFormat | ( | const QString & | name | ) |
Returns a registered device format by name.
Definition at line 256 of file qgsbabelformatregistry.cpp.
QStringList QgsBabelFormatRegistry::deviceNames | ( | ) | const |
Returns a list of the names of all registered devices.
Definition at line 251 of file qgsbabelformatregistry.cpp.
QMap< QString, QgsBabelGpsDeviceFormat * > QgsBabelFormatRegistry::devices | ( | ) | const |
Returns a map of device name to device format.
Definition at line 261 of file qgsbabelformatregistry.cpp.
QString QgsBabelFormatRegistry::importFileFilter | ( | ) | const |
Returns a file filter string representing all registered import formats.
Definition at line 218 of file qgsbabelformatregistry.cpp.
QgsBabelSimpleImportFormat * QgsBabelFormatRegistry::importFormat | ( | const QString & | name | ) |
Returns a registered import format by name.
Definition at line 198 of file qgsbabelformatregistry.cpp.
QgsBabelSimpleImportFormat * QgsBabelFormatRegistry::importFormatByDescription | ( | const QString & | description | ) |
Returns a registered import format by description.
Definition at line 203 of file qgsbabelformatregistry.cpp.
QStringList QgsBabelFormatRegistry::importFormatNames | ( | ) | const |
Returns a list of the names of all registered import formats.
Definition at line 193 of file qgsbabelformatregistry.cpp.
|
delete |
void QgsBabelFormatRegistry::reloadFromSettings | ( | ) |
Reloads the registry's members from the currently stored configuration.
Definition at line 266 of file qgsbabelformatregistry.cpp.
|
static |
Definition at line 47 of file qgsbabelformatregistry.h.
|
static |
Definition at line 48 of file qgsbabelformatregistry.h.
|
static |
Definition at line 49 of file qgsbabelformatregistry.h.
|
static |
Definition at line 50 of file qgsbabelformatregistry.h.
|
static |
Definition at line 45 of file qgsbabelformatregistry.h.
|
static |
Definition at line 46 of file qgsbabelformatregistry.h.
|
inlinestatic |
Definition at line 43 of file qgsbabelformatregistry.h.