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>
14 class RegisterViewItem
;
15 class GroupingViewItem
;
19 class RegisterView
: public QListView
23 RegisterView(QWidget
* parent
, const char *name
= 0L);
27 void rightButtonClicked(QListViewItem
*, const QPoint
&, int);
28 void slotModeChange(int);
29 void updateRegisters(QList
<RegisterInfo
>&);
32 void paletteChange(const QPalette
& oldPal
);
33 void updateGroupVisibility();
34 GroupingViewItem
* findMatchingGroup(const QString
& regName
);
35 GroupingViewItem
* findGroup(const QString
& groupName
);
36 QPopupMenu
* m_modemenu
;
37 typedef std::map
<QString
,RegisterViewItem
*> RegMap
;
40 friend class RegisterViewItem
;