summaryrefslogtreecommitdiff
path: root/src/plugins/debugger/threadshandler.h
diff options
context:
space:
mode:
authorhjk <qtc-committer@nokia.com>2011-09-01 16:36:27 +0200
committerhjk <qthjk@ovi.com>2011-09-01 16:37:31 +0200
commit60afc7fffa1b56991e9b7ee26cbeaec9fb9c9a1e (patch)
tree6af284a03f4774ae163d234955ce2d69541d28b7 /src/plugins/debugger/threadshandler.h
parent4b3890ee54fcc2744f8632d011fe785903403a88 (diff)
downloadqt-creator-60afc7fffa1b56991e9b7ee26cbeaec9fb9c9a1e.tar.gz
debugger: slightly saner behaviour for the threads combobox
Change-Id: I20400b037f00a5dbaf11cbbfb184a5bf526883cc Reviewed-on: http://codereview.qt.nokia.com/4095 Reviewed-by: hjk <qthjk@ovi.com>
Diffstat (limited to 'src/plugins/debugger/threadshandler.h')
-rw-r--r--src/plugins/debugger/threadshandler.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/plugins/debugger/threadshandler.h b/src/plugins/debugger/threadshandler.h
index 11737bf53c..183ded7673 100644
--- a/src/plugins/debugger/threadshandler.h
+++ b/src/plugins/debugger/threadshandler.h
@@ -38,15 +38,17 @@
#include "threaddata.h"
-namespace Debugger {
-namespace Internal {
-class GdbMi;
////////////////////////////////////////////////////////////////////////
//
// ThreadsHandler
//
////////////////////////////////////////////////////////////////////////
+namespace Debugger {
+namespace Internal {
+
+class GdbMi;
+
class ThreadsHandler : public QAbstractTableModel
{
Q_OBJECT
@@ -80,6 +82,7 @@ private:
QVariant headerData(int section, Qt::Orientation orientation,
int role = Qt::DisplayRole) const;
Qt::ItemFlags flags(const QModelIndex &index) const;
+ void updateThreadBox();
Threads m_threads;
int m_currentIndex;