When an item having the current item is taken out from the tree,
[kdbg.git] / kdbg / regwnd.h
blob97e637673eb366c1cd1eb8932bd5bddcb882407d
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 doubleClicked(QListViewItem*);
24 void rightButtonClicked(QListViewItem*, const QPoint&, int);
25 void slotSetFont();
26 void slotModeChange(int);
27 void updateRegisters(QList<RegisterInfo>&);
29 private:
30 QListViewItem* m_lastInsert;
31 QPopupMenu* m_menu;
32 QPopupMenu* m_modemenu;
33 int m_mode;
35 friend class RegisterViewItem;
38 #endif // REGWND_H