Convert KActions to QActions.
[kdbg.git] / kdbg / threadlist.h
blobc9d1419d1951ecb49ae984ac26f8e4386545501e
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 <q3listview.h>
11 #include <qpixmap.h>
12 #include <list>
14 class ThreadInfo;
15 class ThreadEntry;
17 class ThreadList : public Q3ListView
19 Q_OBJECT
20 public:
21 ThreadList(QWidget* parent);
22 ~ThreadList();
24 public slots:
25 void updateThreads(const std::list<ThreadInfo>&);
26 void slotCurrentChanged(Q3ListViewItem*);
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