diff options
author | hjk <qtc-committer@nokia.com> | 2010-11-05 19:38:40 +0100 |
---|---|---|
committer | hjk <qtc-committer@nokia.com> | 2010-11-08 13:20:12 +0100 |
commit | b373da1b12d477b5ac52c08e6463aefef24845f1 (patch) | |
tree | 469a36170adc9fe9b39262543cbb3863b5d87edf /src/plugins/debugger/snapshothandler.h | |
parent | 1dacb9e55f80b50c1922df3c7d18620625ce492b (diff) | |
download | qt-creator-b373da1b12d477b5ac52c08e6463aefef24845f1.tar.gz |
debugger: more handler/window refactoring
Diffstat (limited to 'src/plugins/debugger/snapshothandler.h')
-rw-r--r-- | src/plugins/debugger/snapshothandler.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/plugins/debugger/snapshothandler.h b/src/plugins/debugger/snapshothandler.h index 41f6d50bfb..56e421905d 100644 --- a/src/plugins/debugger/snapshothandler.h +++ b/src/plugins/debugger/snapshothandler.h @@ -63,20 +63,22 @@ public: void removeSnapshot(DebuggerRunControl *rc); void setCurrentIndex(int index); int size() const { return m_snapshots.size(); } - DebuggerRunControl *at(int i) const; - QList<DebuggerRunControl*> runControls() const; + DebuggerRunControl *at(int index) const; + QList<DebuggerRunControl *> runControls() const; + + void createSnapshot(int index); + void activateSnapshot(int index); + void removeSnapshot(int index); private: // QAbstractTableModel int rowCount(const QModelIndex &parent) const; int columnCount(const QModelIndex &parent) const; QVariant data(const QModelIndex &index, int role) const; - bool setData(const QModelIndex &index, const QVariant &value, int role); QVariant headerData(int section, Qt::Orientation orientation, int role) const; Qt::ItemFlags flags(const QModelIndex &index) const; Q_SLOT void resetModel() { reset(); } DebuggerEngine *engineAt(int i) const; - void removeSnapshot(int index); int m_currentIndex; QList< QPointer<DebuggerRunControl> > m_snapshots; |