Add some tests that involve std::vector.
[kdbg.git] / kdbg / threadlist.h
blob2df833b42148b67aee846906e701a492ec57527f
1 /*
2 * Copyright 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.
5 */
7 #ifndef THREADLIST_H
8 #define THREADLIST_H
10 #include <qlistview.h>
11 #include <qptrlist.h>
12 #include <qpixmap.h>
14 class ThreadInfo;
15 class ThreadEntry;
17 class ThreadList : public QListView
19 Q_OBJECT
20 public:
21 ThreadList(QWidget* parent, const char* name);
22 ~ThreadList();
24 public slots:
25 void updateThreads(QList<ThreadInfo>&);
26 void slotCurrentChanged(QListViewItem*);
28 signals:
29 void setThread(int);
31 protected:
32 ThreadEntry* threadById(int id);
33 void makeNoFocusIcon();
35 QPixmap m_focusIcon;
36 QPixmap m_noFocusIcon;
39 #endif // THREADLIST_H