Commit edf04dd7 authored by Tobias Hunger's avatar Tobias Hunger
Browse files

Allow access to complete map of values in PersistentSettingsReader

Reviewed-by: dt
parent 8e82a86e
......@@ -52,6 +52,11 @@ QVariant PersistentSettingsReader::restoreValue(const QString & variable) const
return QVariant();
}
QVariantMap PersistentSettingsReader::restoreValues() const
{
return m_valueMap;
}
bool PersistentSettingsReader::load(const QString & fileName)
{
m_valueMap.clear();
......
......@@ -46,6 +46,7 @@ class PROJECTEXPLORER_EXPORT PersistentSettingsReader
public:
PersistentSettingsReader();
QVariant restoreValue(const QString & variable) const;
QVariantMap restoreValues() const;
bool load(const QString & fileName);
void setPrefix(const QString &prefix);
QString prefix() const;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment