diff options
author | Aaron Kennedy <aaron.kennedy@nokia.com> | 2009-07-27 05:20:37 (GMT) |
---|---|---|
committer | Aaron Kennedy <aaron.kennedy@nokia.com> | 2009-07-27 05:20:37 (GMT) |
commit | 752a15ca59b1b209aa67c3fbee53868b3a22df80 (patch) | |
tree | 1403cb3d0c3ff3dbadb201bedfe079db7c021b9b /src/declarative/fx/qfxitem.cpp | |
parent | ef1a5d6bad05b99765658b3ca916bd3c5f507db0 (diff) | |
download | Qt-752a15ca59b1b209aa67c3fbee53868b3a22df80.zip Qt-752a15ca59b1b209aa67c3fbee53868b3a22df80.tar.gz Qt-752a15ca59b1b209aa67c3fbee53868b3a22df80.tar.bz2 |
Make private stuff private
Diffstat (limited to 'src/declarative/fx/qfxitem.cpp')
-rw-r--r-- | src/declarative/fx/qfxitem.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/declarative/fx/qfxitem.cpp b/src/declarative/fx/qfxitem.cpp index 6c6fcd3..247ea53 100644 --- a/src/declarative/fx/qfxitem.cpp +++ b/src/declarative/fx/qfxitem.cpp @@ -49,7 +49,8 @@ #include <QtScript/qscriptengine.h> #include <private/qfxperf_p.h> -#include "qmlengine.h" +#include <QtDeclarative/qmlengine.h> +#include <private/qmlengine_p.h> #include "qmlstate.h" #include "qlistmodelinterface.h" #include "qfxanchors_p.h" @@ -819,7 +820,7 @@ void QFxItem::qmlLoaded() QFxItem* ret = qobject_cast<QFxItem*>(o); if (ret) { ret->setItemParent(this); - QScriptValue v = qmlEngine(this)->scriptEngine()->newQObject(ret); + QScriptValue v = QmlEnginePrivate::getScriptEngine(qmlEngine(this))->newQObject(ret); emit newChildCreated(d->_qmlnewloading.at(i).toString(),v); } |