From 8ee149f4fcb66cb61aa729263448c0935fb4d2ad Mon Sep 17 00:00:00 2001 From: Clifford Wolf Date: Mon, 18 Jun 2018 14:06:37 +0200 Subject: Rename Design to Context, derive from Arch instead of instantiating Signed-off-by: Clifford Wolf --- gui/mainwindow.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'gui/mainwindow.h') diff --git a/gui/mainwindow.h b/gui/mainwindow.h index 6516a986..149c4aa5 100644 --- a/gui/mainwindow.h +++ b/gui/mainwindow.h @@ -15,9 +15,9 @@ class MainWindow : public QMainWindow Q_OBJECT public: - explicit MainWindow(Design *design, QWidget *parent = 0); + explicit MainWindow(Context *ctx, QWidget *parent = 0); ~MainWindow(); - Design *getDesign() { return design; } + Context *getContext() { return ctx; } private: void createMenusAndBars(); @@ -26,7 +26,7 @@ class MainWindow : public QMainWindow void writeInfo(std::string text); private: - Design *design; + Context *ctx; InfoTab *info; }; -- cgit v1.2.3