diff options
author | aqua <aqua@iserlohn-fortress.net> | 2022-08-22 10:06:00 +0300 |
---|---|---|
committer | aqua <aqua@iserlohn-fortress.net> | 2022-08-28 09:49:20 +0300 |
commit | 05a053b65443b55787ae075fc4e99181673c2d56 (patch) | |
tree | be240b23f5bb3f88dce4c9d55d450ebefe9d0bbe /include | |
parent | Add Setting and MockSettings (diff) | |
download | rekonq-05a053b65443b55787ae075fc4e99181673c2d56.tar.xz |
Load plugins from AppLocalDataLocation by default
Diffstat (limited to 'include')
-rw-r--r-- | include/rsettings.hpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/rsettings.hpp b/include/rsettings.hpp index 2d90fe3b..3cc9c027 100644 --- a/include/rsettings.hpp +++ b/include/rsettings.hpp @@ -17,13 +17,14 @@ class RekonqSettings : public QObject { public: explicit RekonqSettings(QObject *parent = nullptr) : QObject(parent) {} - virtual ~RekonqSettings() = default; virtual void beginGroup(const QString &prefix) = 0; virtual void endGroup() = 0; virtual void setValue(const QString &key, const QVariant &value) = 0; - [[nodiscard]] virtual QVariant value(const QString &key, const QVariant &defaultValue = QVariant()) const = 0; + [[nodiscard]] virtual QVariant value(const QString &key, const QVariant &defaultValue) const = 0; + + [[nodiscard]] virtual QString filePath() const = 0; [[nodiscard]] virtual QString filePath() const = 0; |