summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKent Hansen <khansen@trolltech.com>2009-06-03 17:34:43 +0200
committerKent Hansen <khansen@trolltech.com>2009-06-03 17:34:43 +0200
commit3fa28b90e5e8118d98aaf3a1e5a1edd9cf835910 (patch)
tree6b9df65111dd1b46f6744258e4fb07a97001041f
parented4d11640ac6166c0970de613a9ca4b39946b4a3 (diff)
fix typesystem bug
QEasingCurve is a value type.
-rw-r--r--generator/typesystem_core-common.xml2
-rw-r--r--generator/typesystem_core-qtscript.xml4
-rw-r--r--generator/typesystem_core.xml4
3 files changed, 5 insertions, 5 deletions
diff --git a/generator/typesystem_core-common.xml b/generator/typesystem_core-common.xml
index bda8bd1..54caa48 100644
--- a/generator/typesystem_core-common.xml
+++ b/generator/typesystem_core-common.xml
@@ -1184,7 +1184,7 @@
<object-type name="QAbstractAnimation" />
<object-type name="QAnimationGroup" />
- <object-type name="QEasingCurve" />
+ <value-type name="QEasingCurve" />
<object-type name="QParallelAnimationGroup" />
<object-type name="QPauseAnimation" />
<object-type name="QPropertyAnimation" />
diff --git a/generator/typesystem_core-qtscript.xml b/generator/typesystem_core-qtscript.xml
index 919948b..bc3ab33 100644
--- a/generator/typesystem_core-qtscript.xml
+++ b/generator/typesystem_core-qtscript.xml
@@ -1446,14 +1446,14 @@
</object-type>
- <object-type name="QEasingCurve">
+ <value-type name="QEasingCurve">
<modify-function signature="QEasingCurve(QEasingCurve)" remove="all" />
<modify-function signature="operator=(QEasingCurve)" remove="all"/>
<modify-function signature="operator==(const QEasingCurve &amp;)const" remove="all"/>
<modify-function signature="operator!=(const QEasingCurve &amp;)const" remove="all"/>
<modify-function signature="setCustomType(double)" remove="all"/>
<modify-function signature="customType()const" remove="all"/>
- </object-type>
+ </value-type>
<object-type name="QPropertyAnimation">
<modify-function signature="QPropertyAnimation(QObject*,QByteArray,QObject*)">
diff --git a/generator/typesystem_core.xml b/generator/typesystem_core.xml
index 61a6c49..a100b07 100644
--- a/generator/typesystem_core.xml
+++ b/generator/typesystem_core.xml
@@ -2518,14 +2518,14 @@
<object-type name="QAbstractAnimation"/>
<object-type name="QAnimationGroup"/>
- <object-type name="QEasingCurve">
+ <value-type name="QEasingCurve">
<modify-function signature="QEasingCurve(QEasingCurve)" remove="all"/>
<modify-function signature="operator=(QEasingCurve)" remove="all"/>
<modify-function signature="operator==(const QEasingCurve &amp;)const" remove="all"/>
<modify-function signature="operator!=(const QEasingCurve &amp;)const" remove="all"/>
<modify-function signature="setCustomType(double)" remove="all"/>
<modify-function signature="customType()const" remove="all"/>
- </object-type>
+ </value-type>
<object-type name="QParallelAnimationGroup"/>
<object-type name="QPauseAnimation"/>
<object-type name="QPropertyAnimation">