qsrun/settingsprovider.h

21 lines
423 B
C
Raw Normal View History

#ifndef SETTINGSPROVIDER_H
#define SETTINGSPROVIDER_H
#include <QSettings>
#include <stdexcept>
class SettingsProvider
{
private:
QSettings *settings;
public:
SettingsProvider(QSettings &settings);
virtual QStringList userEntriesPaths() const;
virtual QStringList systemApplicationsEntriesPaths() const;
virtual int getMaxCols() const;
virtual bool singleInstanceMode() const;
};
#endif // SETTINGSPROVIDER_H