diff options
author | Clifford Wolf <clifford@clifford.at> | 2018-06-18 14:06:37 +0200 |
---|---|---|
committer | Clifford Wolf <clifford@clifford.at> | 2018-06-18 14:06:37 +0200 |
commit | 8ee149f4fcb66cb61aa729263448c0935fb4d2ad (patch) | |
tree | 545282eae56973d52a88600d1cf82196970ecad7 /gui/mainwindow.h | |
parent | ad18cdb08787c4ecc88edaec353a96f59135c62d (diff) | |
download | nextpnr-8ee149f4fcb66cb61aa729263448c0935fb4d2ad.tar.gz nextpnr-8ee149f4fcb66cb61aa729263448c0935fb4d2ad.tar.bz2 nextpnr-8ee149f4fcb66cb61aa729263448c0935fb4d2ad.zip |
Rename Design to Context, derive from Arch instead of instantiating
Signed-off-by: Clifford Wolf <clifford@clifford.at>
Diffstat (limited to 'gui/mainwindow.h')
-rw-r--r-- | gui/mainwindow.h | 6 |
1 files changed, 3 insertions, 3 deletions
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;
};
|