Introduce Settingsprovider to read settings
Previously, it was in the configprovider.cpp. Now, it has been split to this file
This commit is contained in:
18
settingsprovider.h
Normal file
18
settingsprovider.h
Normal file
@ -0,0 +1,18 @@
|
||||
#ifndef SETTINGSPROVIDER_H
|
||||
#define SETTINGSPROVIDER_H
|
||||
|
||||
#include <stdexcept>
|
||||
#include <QSettings>
|
||||
|
||||
class SettingsProvider
|
||||
{
|
||||
private:
|
||||
QSettings *settings;
|
||||
public:
|
||||
SettingsProvider(QSettings &settings);
|
||||
virtual QStringList userEntriesPaths() const;
|
||||
virtual QStringList systemApplicationsEntriesPaths() const;
|
||||
virtual bool singleInstanceMode() const;
|
||||
};
|
||||
|
||||
#endif // SETTINGSPROVIDER_H
|
Reference in New Issue
Block a user