aboutsummaryrefslogtreecommitdiff
path: root/qtmips_gui/programmodel.h
diff options
context:
space:
mode:
authorPavel Pisa <pisa@cmp.felk.cvut.cz>2019-07-03 10:45:32 +0200
committerPavel Pisa <pisa@cmp.felk.cvut.cz>2019-07-03 10:45:32 +0200
commitf33f424ccf7ca57aae95566663c8f31956fbdf8f (patch)
treed37c9ab8e5e306f79432cf8e9b3ad52db3163f10 /qtmips_gui/programmodel.h
parent9cef3efa2251833883e0f1fcf47138776e2a45aa (diff)
downloadqtmips-f33f424ccf7ca57aae95566663c8f31956fbdf8f.tar.gz
qtmips-f33f424ccf7ca57aae95566663c8f31956fbdf8f.tar.bz2
qtmips-f33f424ccf7ca57aae95566663c8f31956fbdf8f.zip
Allow to switch between numeric and mnemonics registers names.
Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
Diffstat (limited to 'qtmips_gui/programmodel.h')
-rw-r--r--qtmips_gui/programmodel.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/qtmips_gui/programmodel.h b/qtmips_gui/programmodel.h
index 95d0e3f..5e4d43d 100644
--- a/qtmips_gui/programmodel.h
+++ b/qtmips_gui/programmodel.h
@@ -54,7 +54,6 @@ public:
Qt::ItemFlags flags(const QModelIndex &index) const override;
bool setData(const QModelIndex & index, const QVariant & value, int role) override;
bool adjustRowAndOffset(int &row, std::uint32_t address);
- void update_all();
inline const QFont *getFont() const {
return &data_font;
@@ -100,6 +99,7 @@ public slots:
void check_for_updates();
void toggle_hw_break(const QModelIndex & index);
void update_stage_addr(uint stage, std::uint32_t addr);
+ void update_all();
private:
const machine::MemoryAccess *mem_access() const;