]> gitweb.stoutner.com Git - PrivacyBrowserPC.git/blob - src/mainview.h
6b9e6ca8657f93405100422e43c54cc1a50ebfa7
[PrivacyBrowserPC.git] / src / mainview.h
1 /*
2     SPDX-FileCopyrightText: %{CURRENT_YEAR} %{AUTHOR} <%{EMAIL}>
3
4     SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
5 */
6
7 #ifndef MAINVIEW_H
8 #define MAINVIEW_H
9
10 #include "ui_mainview.h"
11
12
13 /**
14  * This class serves as the main window for privacybrowserpc.  It handles the
15  * menus, toolbars and status bars.
16  *
17  * @short Main window class
18  * @author %{AUTHOR} <%{EMAIL}>
19  * @version %{VERSION}
20  */
21 class MainView : public QWidget
22 {
23     Q_OBJECT
24 public:
25     /**
26      * Default Constructor
27      */
28     explicit MainView(QWidget *parent);
29
30     /**
31      * Default Destructor
32      */
33     ~MainView() override;
34
35 public Q_SLOTS:
36     void switchColors();
37     void handleSettingsChanged();
38
39 private:
40     // this is the name of the root widget inside our Ui file
41     // you can rename it in designer and then change it here
42     Ui::MainView m_ui;
43 };
44
45 #endif