summaryrefslogtreecommitdiff
path: root/src/settings/settingsdialog.h
blob: 433857b36bee57715526e1512af63f487747e826 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
/* ============================================================
 *     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;
};