]> gitweb.stoutner.com Git - PrivacyBrowserPC.git/blob - src/privacybrowserpcview.h
At the PO template (translation) framework.
[PrivacyBrowserPC.git] / src / privacybrowserpcview.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 PRIVACYBROWSERPCVIEW_H
8 #define PRIVACYBROWSERPCVIEW_H
9
10 #include "ui_privacybrowserpcview.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 PrivacyBrowserPCView : public QWidget
22 {
23     Q_OBJECT
24 public:
25     /**
26      * Default Constructor
27      */
28     explicit PrivacyBrowserPCView(QWidget *parent);
29
30     /**
31      * Default Destructor
32      */
33     ~PrivacyBrowserPCView() 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::PrivacyBrowserPCView m_ui;
43 };
44
45 #endif // PRIVACYBROWSERPCVIEW_H