aboutsummaryrefslogtreecommitdiff
path: root/src/widgets/mainwindowmenubar.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/widgets/mainwindowmenubar.h')
-rw-r--r--src/widgets/mainwindowmenubar.h8
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;
};