summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/qdeclarativelistscriptclass.cpp
diff options
context:
space:
mode:
authorAaron Kennedy <aaron.kennedy@nokia.com>2010-04-07 04:25:54 (GMT)
committerAaron Kennedy <aaron.kennedy@nokia.com>2010-04-07 04:26:46 (GMT)
commitec50ac021ba0908bfaeb5fbf1838ffb59ad829d5 (patch)
tree1a6365c8b7487e4f5cf7e489aba8005797005e3c /src/declarative/qml/qdeclarativelistscriptclass.cpp
parentb3beb6ded506f1701b68642d981c63295bc6c6a2 (diff)
downloadQt-ec50ac021ba0908bfaeb5fbf1838ffb59ad829d5.zip
Qt-ec50ac021ba0908bfaeb5fbf1838ffb59ad829d5.tar.gz
Qt-ec50ac021ba0908bfaeb5fbf1838ffb59ad829d5.tar.bz2
Cleanup (remove QDeclarativeScriptClass)
QDeclarativeScriptClass only existed to make compiling against 4.6 and 4.7 easier.
Diffstat (limited to 'src/declarative/qml/qdeclarativelistscriptclass.cpp')
-rw-r--r--src/declarative/qml/qdeclarativelistscriptclass.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/declarative/qml/qdeclarativelistscriptclass.cpp b/src/declarative/qml/qdeclarativelistscriptclass.cpp
index 3958dd5..d27427e 100644
--- a/src/declarative/qml/qdeclarativelistscriptclass.cpp
+++ b/src/declarative/qml/qdeclarativelistscriptclass.cpp
@@ -54,7 +54,7 @@ struct ListData : public QScriptDeclarativeClass::Object {
};
QDeclarativeListScriptClass::QDeclarativeListScriptClass(QDeclarativeEngine *e)
-: QDeclarativeScriptClass(QDeclarativeEnginePrivate::getScriptEngine(e)), engine(e)
+: QScriptDeclarativeClass(QDeclarativeEnginePrivate::getScriptEngine(e)), engine(e)
{
QScriptEngine *scriptEngine = QDeclarativeEnginePrivate::getScriptEngine(engine);
Q_UNUSED(scriptEngine);
@@ -114,7 +114,7 @@ QDeclarativeListScriptClass::queryProperty(Object *object, const Identifier &nam
}
}
-QDeclarativeListScriptClass::ScriptValue QDeclarativeListScriptClass::property(Object *obj, const Identifier &name)
+QDeclarativeListScriptClass::Value QDeclarativeListScriptClass::property(Object *obj, const Identifier &name)
{
QScriptEngine *scriptEngine = QDeclarativeEnginePrivate::getScriptEngine(engine);
QDeclarativeEnginePrivate *enginePriv = QDeclarativeEnginePrivate::get(engine);