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>
This commit is contained in:
hjk
2011-09-01 16:36:27 +02:00
committed by hjk
parent 4b3890ee54
commit 60afc7fffa
7 changed files with 58 additions and 25 deletions

View File

@@ -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;