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.hpp22
1 files changed, 12 insertions, 10 deletions
diff --git a/src/main_window.hpp b/src/main_window.hpp
index 0bd074a..886ba42 100644
--- a/src/main_window.hpp
+++ b/src/main_window.hpp
@@ -1,42 +1,44 @@
#include <QtWidgets>
-namespace getsuyobi {
+namespace getsuyomi {
-constexpr const char* AppName = "GetsuYobi";
+constexpr const char* AppName = "GetsuYomi";
constexpr const char* AppVersionString = "1.0.0";
-class Getsuyobi;
+class Getsuyomi;
-class GetsuyobiApp : public QMainWindow {
+class GetsuyomiApp : public QMainWindow {
Q_OBJECT
public:
- GetsuyobiApp();
+ GetsuyomiApp();
private:
void setup();
void createActions();
void createMenus();
- Getsuyobi* m_getsuyobi;
+ Getsuyomi* m_getsuyomi;
- QAction* m_openAction;
+ QAction* m_openFile;
+ QAction* m_openDirectory;
QAction* m_quitAction;
QMenu* m_fileMenu;
private slots:
void openFile();
+ void openDirectory();
void quit();
};
-class Getsuyobi : public QWidget {
+class Getsuyomi : public QWidget {
Q_OBJECT
public:
- Getsuyobi();
+ Getsuyomi();
private:
QLayout* m_layout{nullptr};
};
-} // namespace getsuyobi
+} // namespace getsuyomi