2 * Copyright Max Judin, Johannes Sixt
3 * This file is licensed under the GNU General Public License Version 2.
4 * See the file COPYING in the toplevel directory of the source directory.
10 #include <qlistview.h>
15 class RegisterViewItem
;
16 class GroupingViewItem
;
20 class RegisterView
: public QListView
24 RegisterView(QWidget
* parent
, const char *name
= 0L);
28 void rightButtonClicked(QListViewItem
*, const QPoint
&, int);
29 void slotModeChange(int);
30 void updateRegisters(const std::list
<RegisterInfo
>&);
33 void paletteChange(const QPalette
& oldPal
);
34 void updateGroupVisibility();
35 GroupingViewItem
* findMatchingGroup(const QString
& regName
);
36 GroupingViewItem
* findGroup(const QString
& groupName
);
37 QPopupMenu
* m_modemenu
;
38 typedef std::map
<QString
,RegisterViewItem
*> RegMap
;
41 friend class RegisterViewItem
;