summaryrefslogtreecommitdiffstats
path: root/utils/regtools/qeditor/regtab.h
diff options
context:
space:
mode:
Diffstat (limited to 'utils/regtools/qeditor/regtab.h')
-rw-r--r--utils/regtools/qeditor/regtab.h13
1 files changed, 6 insertions, 7 deletions
diff --git a/utils/regtools/qeditor/regtab.h b/utils/regtools/qeditor/regtab.h
index a0fd5f305a..b56747f4d1 100644
--- a/utils/regtools/qeditor/regtab.h
+++ b/utils/regtools/qeditor/regtab.h
@@ -66,14 +66,13 @@ public:
virtual QWidget *GetWidget();
protected:
- void FillDevSubTree(QTreeWidgetItem *item);
- void FillSocSubTree(QTreeWidgetItem *item);
+ QTreeWidgetItem *MakeNode(const soc_desc::node_inst_t& inst, const QString& s);
+ soc_desc::node_inst_t NodeInst(QTreeWidgetItem *item);
+ void FillSubTree(QTreeWidgetItem *item);
void FillRegTree();
void FillAnalyserList();
void UpdateSocList();
- void DisplayRegister(const SocRegRef& ref);
- void DisplayDevice(const SocDevRef& ref);
- void DisplaySoc(const SocRef& ref);
+ void DisplayNode(const soc_desc::node_inst_t& ref);
void SetDataSocName(const QString& socname);
void SetPanel(RegTabPanel *panel);
void UpdateSocFilename();
@@ -85,7 +84,7 @@ protected:
BackendSelector *m_backend_selector;
Backend *m_backend;
QTreeWidget *m_reg_tree;
- SocRef m_cur_soc;
+ soc_desc::soc_ref_t m_cur_soc;
QVBoxLayout *m_right_panel;
RegTabPanel *m_right_content;
QCheckBox *m_readonly_check;
@@ -102,7 +101,7 @@ protected:
private slots:
void SetReadOnlyIndicator();
void OnSocChanged(int index);
- void OnSocListChanged();
+ void OnSocAdded(const SocFileRef& ref);
void OnRegItemClicked(QTreeWidgetItem *clicked, int col);
void OnBackendSelect(IoBackend *backend);
void OnDataChanged();