diff options
Diffstat (limited to 'src/settings/settings.hpp')
-rw-r--r-- | src/settings/settings.hpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/settings/settings.hpp b/src/settings/settings.hpp index c595e981..ec654f17 100644 --- a/src/settings/settings.hpp +++ b/src/settings/settings.hpp @@ -16,14 +16,16 @@ class Settings final : public RekonqSettings { Q_OBJECT public: - explicit Settings(const QString &path, QObject *parent = nullptr); - ~Settings() = default; + explicit Settings(const QString &settingsPath, QObject *parent = nullptr); + ~Settings() override = default; void beginGroup(const QString &prefix) override; void endGroup() override; void setValue(const QString &key, const QVariant &value) override; - QVariant value(const QString &key, const QVariant &defaultValue = QVariant()) const override; + [[nodiscard]] QVariant value(const QString &key, const QVariant &defaultValue = QVariant()) const override; + + [[nodiscard]] QString filePath() const override; private: QSettings *d; |