summaryrefslogtreecommitdiff
path: root/src/main_window.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/main_window.hpp')
-rw-r--r--src/main_window.hpp15
1 files changed, 6 insertions, 9 deletions
diff --git a/src/main_window.hpp b/src/main_window.hpp
index e5363a2..9f72f0a 100644
--- a/src/main_window.hpp
+++ b/src/main_window.hpp
@@ -1,7 +1,6 @@
#ifndef MAIN_WINDOW_HPP
#define MAIN_WINDOW_HPP
-#include "archive.hpp"
#include "getsuyomi.hpp"
#include "config.hpp"
@@ -10,12 +9,6 @@
namespace getsuyomi {
-constexpr const char* AppVendor = "libfud";
-
-constexpr const char* AppName = "getsuyomi";
-
-constexpr const char* AppVersionString = "1.0.0";
-
class GetsuyomiApp : public QMainWindow {
Q_OBJECT
@@ -47,6 +40,8 @@ class GetsuyomiApp : public QMainWindow {
QAction* m_settingsAction{nullptr};
+ QAction* m_aboutApp{nullptr};
+
QAction* m_nextAction{nullptr};
QAction* m_backAction{nullptr};
@@ -56,8 +51,8 @@ class GetsuyomiApp : public QMainWindow {
QActionGroup* m_setPageLayoutGroup{nullptr};
QMenu* m_fileMenu{nullptr};
- QMenu* m_SettingsMenu{nullptr};
- QMenu* m_HelpMenu{nullptr};
+ QMenu* m_settingsMenu{nullptr};
+ QMenu* m_helpMenu{nullptr};
QToolBar* m_toolBar{nullptr};
QString m_lastOpenedDirectory{};
@@ -69,6 +64,8 @@ class GetsuyomiApp : public QMainWindow {
void configure();
+ void aboutApp();
+
void readSettings();
void writeSettings();
void closeEvent(QCloseEvent* event) override;