2.3.11. swSettings

Defined in swCore/swCore.h

class swSettings

Class to import and export setting parameters.

  • Import of the .in file.

  • Export into the .in file.

Public Functions

swSettings(const QString &name)
swSettings(const QString &name, const QHash<QString, dtkCoreParameter *> &params)
QVariant value(const QString &key, const QVariant defaultValue = QVariant())
void setValue(const QString &key, dtkCoreParameter *value)
bool setValue(const QString &key, const QVariant &value)
bool contains(const QString &key)
bool importFile(const QString &import_file)
bool exportFile(const QString &export_file)

Public Members

QString m_name
QHash<QString, dtkCoreParameter *> m_parameters

Private Functions

void defaultSettings(void)