forked from qt-creator/qt-creator
Allow access to complete map of values in PersistentSettingsReader
Reviewed-by: dt
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user