Albert S
2824f84f9f
Previously, it was in the configprovider.cpp. Now, it has been split to this file
19 righe
385 B
C++
19 righe
385 B
C++
#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
|