/* ============================================================ * The rekonq project * ============================================================ * SPDX-License-Identifier: GPL-3.0-only * Copyright (C) 2022 aqua * ============================================================ * Description: Application Settings * ============================================================ */ #pragma once #include class QSettings; class Settings final : public RekonqSettings { Q_OBJECT public: explicit Settings(const QString &path, QObject *parent = nullptr); ~Settings() = 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; private: QSettings *d; };