diff options
author | Aqua-sama <aqua@iserlohn-fortress.net> | 2017-12-08 14:22:19 +0100 |
---|---|---|
committer | Aqua-sama <aqua@iserlohn-fortress.net> | 2017-12-08 14:22:19 +0100 |
commit | 4e3c479a0f279926e0bd9a359a0ee57b334e976e (patch) | |
tree | 068f1da93a4ff6dcce251f5152df16bf77be53a8 /src/widgets/mainwindowmenubar.h | |
parent | libconfig test (diff) | |
download | smolbote-4e3c479a0f279926e0bd9a359a0ee57b334e976e.tar.xz |
Replaced tinytoml with libconfig
Diffstat (limited to 'src/widgets/mainwindowmenubar.h')
-rw-r--r-- | src/widgets/mainwindowmenubar.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/widgets/mainwindowmenubar.h b/src/widgets/mainwindowmenubar.h index 43c786b..e5e5f38 100644 --- a/src/widgets/mainwindowmenubar.h +++ b/src/widgets/mainwindowmenubar.h @@ -22,22 +22,22 @@ #define MAINWINDOWMENUBAR_H #include <QMenuBar> +#include <memory> class MainWindow; +class Configuration; class MainWindowMenuBar : public QMenuBar { Q_OBJECT public: - explicit MainWindowMenuBar(MainWindow *parent = nullptr); + explicit MainWindowMenuBar(std::shared_ptr<Configuration> config, MainWindow *parent = nullptr); QAction *printAction(); private slots: - void handleLoadProfile(); + void handleLoadProfile(MainWindow *window); private: - MainWindow *m_parentWindow; - QAction *m_printAction; }; |