You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
kdbg/kdbg/threadlist.h

40 lines
767 B

/*
* Copyright Johannes Sixt
* This file is licensed under the GNU General Public License Version 2.
* See the file COPYING in the toplevel directory of the source directory.
*/
#ifndef THREADLIST_H
#define THREADLIST_H
#include <tqlistview.h>
#include <tqpixmap.h>
#include <list>
class ThreadInfo;
class ThreadEntry;
class ThreadList : public TQListView
{
Q_OBJECT
public:
ThreadList(TQWidget* parent, const char* name);
~ThreadList();
public slots:
void updateThreads(const std::list<ThreadInfo>&);
void slotCurrentChanged(TQListViewItem*);
signals:
void setThread(int);
protected:
ThreadEntry* threadById(int id);
void makeNoFocusIcon();
TQPixmap m_focusIcon;
TQPixmap m_noFocusIcon;
};
#endif // THREADLIST_H