summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/qdeclarativelistscriptclass_p.h
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_p.h
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_p.h')
-rw-r--r--src/declarative/qml/qdeclarativelistscriptclass_p.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/declarative/qml/qdeclarativelistscriptclass_p.h b/src/declarative/qml/qdeclarativelistscriptclass_p.h
index 68c680d..89984a1 100644
--- a/src/declarative/qml/qdeclarativelistscriptclass_p.h
+++ b/src/declarative/qml/qdeclarativelistscriptclass_p.h
@@ -53,13 +53,13 @@
// We mean it.
//
-#include <private/qdeclarativescriptclass_p.h>
+#include <private/qscriptdeclarativeclass_p.h>
#include "qdeclarativelist.h"
QT_BEGIN_NAMESPACE
class QDeclarativeEngine;
-class QDeclarativeListScriptClass : public QDeclarativeScriptClass
+class QDeclarativeListScriptClass : public QScriptDeclarativeClass
{
public:
QDeclarativeListScriptClass(QDeclarativeEngine *);
@@ -71,7 +71,7 @@ public:
protected:
virtual QScriptClass::QueryFlags queryProperty(Object *, const Identifier &,
QScriptClass::QueryFlags flags);
- virtual ScriptValue property(Object *, const Identifier &);
+ virtual Value property(Object *, const Identifier &);
virtual QVariant toVariant(Object *, bool *ok);
private: