When an executable is loaded be prepared for some messages from gdb,
[kdbg.git] / kdbg / threadlist.h
blobca73bbf82bcd26eec8148e35e082d208e0411bac
1 // $Id$
3 // Copyright by Johannes Sixt
4 // This file is under GPL, the GNU General Public Licence
6 #ifndef THREADLIST_H
7 #define THREADLIST_H
9 #include <qlistview.h>
10 #include <qptrlist.h>
11 #include <qpixmap.h>
13 class ThreadInfo;
14 class ThreadEntry;
16 class ThreadList : public QListView
18 Q_OBJECT
19 public:
20 ThreadList(QWidget* parent, const char* name);
21 ~ThreadList();
23 public slots:
24 void updateThreads(QList<ThreadInfo>&);
25 void slotCurrentChanged(QListViewItem*);
27 signals:
28 void setThread(int);
30 protected:
31 ThreadEntry* threadById(int id);
32 void makeNoFocusIcon();
34 QPixmap m_focusIcon;
35 QPixmap m_noFocusIcon;
38 #endif // THREADLIST_H