summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/qmlbasicscript_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/declarative/qml/qmlbasicscript_p.h')
-rw-r--r--src/declarative/qml/qmlbasicscript_p.h38
1 files changed, 0 insertions, 38 deletions
diff --git a/src/declarative/qml/qmlbasicscript_p.h b/src/declarative/qml/qmlbasicscript_p.h
index 77d59eb..eacd1d8 100644
--- a/src/declarative/qml/qmlbasicscript_p.h
+++ b/src/declarative/qml/qmlbasicscript_p.h
@@ -100,50 +100,12 @@ public:
enum CacheState { NoChange, Incremental, Reset };
QVariant run(QmlContext *, void *, CacheState *);
- // Optimization opportunities
- bool isSingleLoad() const;
- QByteArray singleLoadTarget() const;
-
private:
int flags;
QmlBasicScriptPrivate *d;
QmlRefCount *rc;
-
- void clearCache(void *);
- void guard(QmlBasicScriptNodeCache &);
- bool valid(QmlBasicScriptNodeCache &, QObject *);
-};
-
-class QmlContextPrivate;
-class QDebug;
-class QmlBasicScriptNodeCache
-{
-public:
- QObject *object;
- const QMetaObject *metaObject;
- enum { Invalid,
- Core,
- Attached,
- SignalProperty,
- Variant
- } type;
- union {
- int core;
- QObject *attached;
- QmlContextPrivate *context;
- };
- int coreType;
- int contextIndex;
-
- bool isValid() const { return type != Invalid; }
- bool isCore() const { return type == Core; }
- bool isVariant() const { return type == Variant; }
- void clear();
- QVariant value(const char *) const;
};
-QDebug operator<<(QDebug, const QmlBasicScriptNodeCache &);
-
QT_END_NAMESPACE
QT_END_HEADER