|
|
@ -60,6 +60,7 @@ public:
|
|
|
|
|
|
|
|
|
|
|
|
/// @brief dump keys and values to the debug log
|
|
|
|
/// @brief dump keys and values to the debug log
|
|
|
|
void debugDump() const;
|
|
|
|
void debugDump() const;
|
|
|
|
|
|
|
|
|
|
|
|
/** @brief write as JSON to the given filename
|
|
|
|
/** @brief write as JSON to the given filename
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* No tidying, sanitization, or censoring is done -- for instance,
|
|
|
|
* No tidying, sanitization, or censoring is done -- for instance,
|
|
|
@ -69,6 +70,15 @@ public:
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
bool save( const QString& filename );
|
|
|
|
bool save( const QString& filename );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** @brief write as YAML to the given filename
|
|
|
|
|
|
|
|
*
|
|
|
|
|
|
|
|
* See also save(), above.
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
bool saveYaml( const QString& filename );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// @brief reads settings from the given filename
|
|
|
|
|
|
|
|
bool loadYaml( const QString& filename );
|
|
|
|
|
|
|
|
|
|
|
|
signals:
|
|
|
|
signals:
|
|
|
|
void changed();
|
|
|
|
void changed();
|
|
|
|
|
|
|
|
|
|
|
|