aboutsummaryrefslogtreecommitdiff
path: root/qtmips_gui/coreview/alu.h
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2018-01-08 21:43:58 +0100
committerKarel Kočí <cynerd@email.cz>2018-01-08 21:43:58 +0100
commit506174a8266eb9842ff9e50a89ddf86cb975be30 (patch)
treecd1c2905d48c172d2b83e4230b1f76dc46e8f3d3 /qtmips_gui/coreview/alu.h
parentbcdd7c87b1eda7dc6b294cfa0796ce7e36f12b23 (diff)
downloadqtmips-506174a8266eb9842ff9e50a89ddf86cb975be30.tar.gz
qtmips-506174a8266eb9842ff9e50a89ddf86cb975be30.tar.bz2
qtmips-506174a8266eb9842ff9e50a89ddf86cb975be30.zip
Add coreview progress
Diffstat (limited to 'qtmips_gui/coreview/alu.h')
-rw-r--r--qtmips_gui/coreview/alu.h11
1 files changed, 2 insertions, 9 deletions
diff --git a/qtmips_gui/coreview/alu.h b/qtmips_gui/coreview/alu.h
index 4c9a73b..25d7351 100644
--- a/qtmips_gui/coreview/alu.h
+++ b/qtmips_gui/coreview/alu.h
@@ -1,14 +1,13 @@
#ifndef COREVIEW_ALU_H
#define COREVIEW_ALU_H
-#include <QGraphicsObject>
+#include <QGraphicsItem>
#include <qtmipsmachine.h>
-#include "../coreview.h"
#include "connection.h"
namespace coreview {
-class Alu : public QGraphicsObject {
+class Alu : public QGraphicsItem {
public:
Alu();
@@ -28,10 +27,4 @@ private:
}
-#else
-
-namespace coreview {
- class Alu;
-}
-
#endif // COREVIEW_ALU_H