aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/qml/qqmlvmemetaobject_p.h
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@theqtcompany.com>2016-05-18 15:48:18 +0200
committerSimon Hausmann <simon.hausmann@theqtcompany.com>2016-05-19 12:12:35 +0000
commitef6469a95948b8c95ed6fb0cbbe7daaa1960c956 (patch)
tree330819561d5f3fd1d96c5c5f87f720024c97e454 /src/qml/qml/qqmlvmemetaobject_p.h
parenta5626dbe6769af2ccf7089d2ae7ef58f76f75ea5 (diff)
VME Method object data cleanup
Get rid of the redundant MethodData meta-data that is stored per-type. Change-Id: I9faa284bdd0c9f0c9ebb3c66905ab5e34a9ee3a4 Reviewed-by: Lars Knoll <lars.knoll@theqtcompany.com>
Diffstat (limited to 'src/qml/qml/qqmlvmemetaobject_p.h')
-rw-r--r--src/qml/qml/qqmlvmemetaobject_p.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/qml/qml/qqmlvmemetaobject_p.h b/src/qml/qml/qqmlvmemetaobject_p.h
index fcdac3cc53..20b8b99522 100644
--- a/src/qml/qml/qqmlvmemetaobject_p.h
+++ b/src/qml/qml/qqmlvmemetaobject_p.h
@@ -121,12 +121,6 @@ struct QQmlVMEMetaData
int propertyType;
};
- struct MethodData {
- int runtimeFunctionIndex;
- int parameterCount;
- quint16 lineNumber;
- };
-
PropertyData *propertyData() const {
return (PropertyData *)(((char *)const_cast<QQmlVMEMetaData *>(this)) + sizeof(QQmlVMEMetaData));
}
@@ -134,10 +128,6 @@ struct QQmlVMEMetaData
AliasData *aliasData() const {
return (AliasData *)(propertyData() + propertyCount);
}
-
- MethodData *methodData() const {
- return (MethodData *)(aliasData() + aliasCount);
- }
};
class QQmlVMEMetaObject;
@@ -204,7 +194,6 @@ public:
bool aliasTarget(int index, QObject **target, int *coreIndex, int *valueTypeIndex) const;
QV4::ReturnedValue vmeMethod(int index);
- quint16 vmeMethodLineNumber(int index);
void setVmeMethod(int index, const QV4::Value &function);
QV4::ReturnedValue vmeProperty(int index);
void setVMEProperty(int index, const QV4::Value &v);