aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/qmltooling/qmldbg_debugger/qv4datacollector.h
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@qt.io>2018-07-18 11:55:44 +0200
committerUlf Hermann <ulf.hermann@qt.io>2018-07-18 13:37:01 +0000
commitd140614a1df7d9563acef5092f92e9f31c14723b (patch)
treeda5853c8d7ea44b895cd20fe0a4cc570583b535a /src/plugins/qmltooling/qmldbg_debugger/qv4datacollector.h
parent98f848ef834d1be33929b39ca1a85ef42b8c9a78 (diff)
V4 Debuger: Drop namesAsObjects option
There is no client that uses this anymore, and dropping it allows us to eliminate a lot of code. Change-Id: I6b09669c9dd7fcf9c2d249f133bfbb78d2b6f7f4 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'src/plugins/qmltooling/qmldbg_debugger/qv4datacollector.h')
-rw-r--r--src/plugins/qmltooling/qmldbg_debugger/qv4datacollector.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/plugins/qmltooling/qmldbg_debugger/qv4datacollector.h b/src/plugins/qmltooling/qmldbg_debugger/qv4datacollector.h
index 4851e2fa29..bc178fa2db 100644
--- a/src/plugins/qmltooling/qmldbg_debugger/qv4datacollector.h
+++ b/src/plugins/qmltooling/qmldbg_debugger/qv4datacollector.h
@@ -68,11 +68,6 @@ public:
QV4DataCollector(QV4::ExecutionEngine *engine);
Ref addValueRef(const QV4::ScopedValue &value);
- Ref addFunctionRef(const QString &functionName); // only for namesAsObjects
- Ref addScriptRef(const QString &scriptName); // only for namesAsObjects
-
- void setNamesAsObjects(bool namesAsObjects) { m_namesAsObjects = namesAsObjects; }
- bool namesAsObjects() const { return m_namesAsObjects; }
bool isValidRef(Ref ref) const;
QJsonObject lookupRef(Ref ref);
@@ -86,7 +81,6 @@ public:
private:
Ref addRef(QV4::Value value, bool deduplicate = true);
QV4::ReturnedValue getValue(Ref ref);
- bool lookupSpecialRef(Ref ref, QJsonObject *dict); // only for namesAsObjects
QJsonArray collectProperties(const QV4::Object *object);
QJsonObject collectAsJson(const QString &name, const QV4::ScopedValue &value);
@@ -94,9 +88,6 @@ private:
QV4::ExecutionEngine *m_engine;
QV4::PersistentValue m_values;
- typedef QHash<Ref, QJsonObject> SpecialRefs; // only for namesAsObjects
- SpecialRefs m_specialRefs; // only for namesAsObjects
- bool m_namesAsObjects;
};
QT_END_NAMESPACE