X-Git-Url: https://gitweb.stoutner.com/?p=PrivacyBrowserPC.git;a=blobdiff_plain;f=src%2Fmainwindow.h;h=588ac9ed3b19ba429178473838da893450b1b9fe;hp=f108c0da6833a94f0230ea8dc6bd0c374bbf49f7;hb=255215b082091aaadd5ef24cfc0880cd81e42272;hpb=3ff4e08896c8cb0821d7bead07732e2064af844c diff --git a/src/mainwindow.h b/src/mainwindow.h index f108c0d..588ac9e 100644 --- a/src/mainwindow.h +++ b/src/mainwindow.h @@ -20,25 +20,10 @@ #ifndef MAINWINDOW_H #define MAINWINDOW_H -// Application headers. -#include "ui_settings.h" // TODO. Can probably be removed. Does not appear to exist. -#include "PrivacyBrowserPCSettings.h" // TODO. Can probably be removed. Doe snot appear to exist. - // KDE Frameworks headers. #include -// TODO. What is this doing here? -class PrivacyBrowserPCView; - -/** TODO. Remove. - * This class serves as the main window for privacybrowserpc. It handles the - * menus, toolbars and status bars. - * - * @short Main window class - * @author %{AUTHOR} <%{EMAIL}> - * @version %{VERSION} - */ -class MainWindow : public KXmlGuiWindow // TODO. Checkout documentation. +class MainWindow : public KXmlGuiWindow { // Include the Q_OBJECT macro. Q_OBJECT @@ -47,26 +32,9 @@ public: // The default constructor. MainWindow(); - - // The default destructor. TODO, this could probably be removed. - ~MainWindow() override; - private Q_SLOTS: - /** - * Create a new window - */ + // Define the private slots. void fileNew(); - - /** - * Open the settings dialog - */ void settingsConfigure(); - -private: - // this is the name of the root widget inside our Ui file - // you can rename it in designer and then change it here - Ui::Settings m_settings; - QAction *m_switchAction; - PrivacyBrowserPCView *m_privacybrowserpcView; }; #endif