/* ============================================================
 *     The rekonq project
 * ============================================================
 * SPDX-License-Identifier: GPL-2.0-or-later
 * Copyright (C) 2008-2012 by Andrea Diamantini <adjam7 at gmail dot com>
 * Copyright (C) 2009-2011 by Lionel Chauvin <megabigbug@yahoo.fr>
 * SPDX-License-Identifier: GPL-3.0-only
 * Copyright (C) 2022 aqua <aqua@iserlohn-fortress.net>
 * ============================================================
 * Description: Settings Dialog
 * ============================================================ */

#pragma once

#include <QDialog>

class RekonqSettings;
class SettingsWidget;

namespace Ui {
class SettingsDialog;
}

class SettingsDialog : public QDialog {
  Q_OBJECT

public:
  explicit SettingsDialog(RekonqSettings *settings, QWidget *parent = nullptr);
  ~SettingsDialog() override;

private:
  void addPage(SettingsWidget *page);

  Ui::SettingsDialog *ui;
  QPushButton *saveBtn;
  QPushButton *restoreDefaultsBtn;
};