summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/qmlobjectscriptclass_p.h
diff options
context:
space:
mode:
authorBea Lam <bea.lam@nokia.com>2010-02-03 01:33:08 (GMT)
committerBea Lam <bea.lam@nokia.com>2010-02-03 05:24:50 (GMT)
commit28093fa09de04d0633c261a91fd3746c107963fc (patch)
tree732f2beab2e91af65cf0ead92b3874437ddeadb9 /src/declarative/qml/qmlobjectscriptclass_p.h
parentb437255afe8348d0e5b865bd28cbf0500b3750f7 (diff)
parent9da60fd314e0a307a9247552e416ca09ac613dd2 (diff)
downloadQt-28093fa09de04d0633c261a91fd3746c107963fc.zip
Qt-28093fa09de04d0633c261a91fd3746c107963fc.tar.gz
Qt-28093fa09de04d0633c261a91fd3746c107963fc.tar.bz2
Merge branch 'kinetic-declarativeui' of scm.dev.nokia.troll.no:qt/kinetic into kinetic-declarativeui
Diffstat (limited to 'src/declarative/qml/qmlobjectscriptclass_p.h')
-rw-r--r--src/declarative/qml/qmlobjectscriptclass_p.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/declarative/qml/qmlobjectscriptclass_p.h b/src/declarative/qml/qmlobjectscriptclass_p.h
index adb26b0..470c555 100644
--- a/src/declarative/qml/qmlobjectscriptclass_p.h
+++ b/src/declarative/qml/qmlobjectscriptclass_p.h
@@ -65,7 +65,7 @@ class QScriptContext;
class QScriptEngine;
class QmlContext;
-#if (QT_VERSION > QT_VERSION_CHECK(4, 6, 2))
+#if (QT_VERSION > QT_VERSION_CHECK(4, 6, 2)) || defined(QT_HAVE_QSCRIPTDECLARATIVECLASS_VALUE)
class Q_AUTOTEST_EXPORT QmlObjectMethodScriptClass : public QScriptDeclarativeClass
{
public:
@@ -118,7 +118,7 @@ protected:
virtual QObject *toQObject(Object *, bool *ok = 0);
private:
-#if (QT_VERSION > QT_VERSION_CHECK(4, 6, 2))
+#if (QT_VERSION > QT_VERSION_CHECK(4, 6, 2)) || defined(QT_HAVE_QSCRIPTDECLARATIVECLASS_VALUE)
QmlObjectMethodScriptClass methods;
#endif