#ifndef MAINWINDOW_H
#define MAINWINDOW_H
-// Application headers.
-#include "ui_settings.h"
-#include "PrivacyBrowserPCSettings.h"
-
// KDE Frameworks headers.
#include <KXmlGuiWindow>
-// 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
// 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