diff options
author | hjk <qtc-committer@nokia.com> | 2011-05-11 16:24:04 +0200 |
---|---|---|
committer | hjk <qtc-committer@nokia.com> | 2011-05-11 16:25:09 +0200 |
commit | f5601d7b1b01ad3b1a39353bb8ef942f1f92cad6 (patch) | |
tree | 3ef51bd701423a6ee3aa0d76c8bed9502574892d /src/plugins/debugger/breakhandler.h | |
parent | 6bcb4dbd5e6c56283cf9bb93fd5cfffc16d394b8 (diff) | |
download | qt-creator-f5601d7b1b01ad3b1a39353bb8ef942f1f92cad6.tar.gz |
debugger: derive breakpoint model from QAbstract*, not QTable*
Preparation for proper mulptiple breakpoint display
Diffstat (limited to 'src/plugins/debugger/breakhandler.h')
-rw-r--r-- | src/plugins/debugger/breakhandler.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/plugins/debugger/breakhandler.h b/src/plugins/debugger/breakhandler.h index 09bfd60d12..d7ed2798a4 100644 --- a/src/plugins/debugger/breakhandler.h +++ b/src/plugins/debugger/breakhandler.h @@ -54,7 +54,7 @@ namespace Internal { class BreakpointMarker; -class BreakHandler : public QAbstractTableModel +class BreakHandler : public QAbstractItemModel { Q_OBJECT @@ -167,6 +167,8 @@ private: QVariant data(const QModelIndex &index, int role) const; QVariant headerData(int section, Qt::Orientation orientation, int role) const; Qt::ItemFlags flags(const QModelIndex &index) const; + QModelIndex index(int row, int col, const QModelIndex &parent) const; + QModelIndex parent(const QModelIndex &parent) const; bool isEngineRunning(BreakpointId id) const; void setState(BreakpointId id, BreakpointState state); |