summaryrefslogtreecommitdiff
path: root/src/plugins/debugger/watchhandler.h
diff options
context:
space:
mode:
authorhjk <qtc-committer@nokia.com>2011-11-25 18:50:54 +0100
committerhjk <qthjk@ovi.com>2011-11-25 18:53:02 +0100
commitadd5c8cb7a506f159b1660396acf7f327861ba93 (patch)
tree02f0ef7a05996fa4ec4e81f0a420bd5e7034de86 /src/plugins/debugger/watchhandler.h
parent20cb2fe5a36cf59c6192099acd9535428ab550c8 (diff)
downloadqt-creator-add5c8cb7a506f159b1660396acf7f327861ba93.tar.gz
debugger: test the data that ends up displayed, not the raw data
Change-Id: I9453abd43299416e8d8535f9567fe96ff976e413 Reviewed-by: hjk <qthjk@ovi.com>
Diffstat (limited to 'src/plugins/debugger/watchhandler.h')
-rw-r--r--src/plugins/debugger/watchhandler.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/plugins/debugger/watchhandler.h b/src/plugins/debugger/watchhandler.h
index 63af6f654a..8f46c751c8 100644
--- a/src/plugins/debugger/watchhandler.h
+++ b/src/plugins/debugger/watchhandler.h
@@ -102,6 +102,7 @@ private:
void reinsertAllDataHelper(WatchItem *item, QList<WatchData> *data);
void insertBulkData(const QList<WatchData> &data);
WatchItem *findItem(const QByteArray &iname, WatchItem *root) const;
+ QString displayForAutoTest(const QByteArray &iname) const;
void reinitialize();
void removeOutdated();
void removeOutdatedHelper(WatchItem *item);
@@ -129,6 +130,7 @@ private:
QString removeNamespaces(QString str) const;
void formatRequests(QByteArray *out, const WatchItem *item) const;
DebuggerEngine *engine() const;
+ QString display(const WatchItem *item, int col) const;
int itemFormat(const WatchData &data) const;
int m_generationCounter;
@@ -165,6 +167,7 @@ public:
const WatchData *watchData(WatchType type, const QModelIndex &) const;
const WatchData *findItem(const QByteArray &iname) const;
+ QString displayForAutoTest(const QByteArray &iname) const;
QModelIndex itemIndex(const QByteArray &iname) const;
void loadSessionData();