Latest updates from Keith for xsldbg 3.0.5.
[kdbg.git] / kdbg / regwnd.h
blob7f4f66b3b8e4ae23afcf2a1ab2f4b34f95a63941
1 // $Id$
3 // Copyright by Judin Max, Johannes Sixt
4 // This file is under GPL, the GNU General Public Licence
6 #ifndef REGWND_H
7 #define REGWND_H
9 #include <qlistview.h>
11 class QPopupMenu;
12 class RegisterViewItem;
13 struct RegisterInfo;
15 class RegisterView : public QListView
17 Q_OBJECT
18 public:
19 RegisterView(QWidget* parent, const char *name = 0L);
20 ~RegisterView();
22 protected slots:
23 void rightButtonClicked(QListViewItem*, const QPoint&, int);
24 void slotModeChange(int);
25 void updateRegisters(QList<RegisterInfo>&);
27 private:
28 QListViewItem* m_lastItem;
29 QPopupMenu* m_modemenu;
30 int m_mode;
32 friend class RegisterViewItem;
35 #endif // REGWND_H