summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/qmlcomponent.cpp
diff options
context:
space:
mode:
authorAaron Kennedy <aaron.kennedy@nokia.com>2009-07-27 05:20:37 (GMT)
committerAaron Kennedy <aaron.kennedy@nokia.com>2009-07-27 05:20:37 (GMT)
commit752a15ca59b1b209aa67c3fbee53868b3a22df80 (patch)
tree1403cb3d0c3ff3dbadb201bedfe079db7c021b9b /src/declarative/qml/qmlcomponent.cpp
parentef1a5d6bad05b99765658b3ca916bd3c5f507db0 (diff)
downloadQt-752a15ca59b1b209aa67c3fbee53868b3a22df80.zip
Qt-752a15ca59b1b209aa67c3fbee53868b3a22df80.tar.gz
Qt-752a15ca59b1b209aa67c3fbee53868b3a22df80.tar.bz2
Make private stuff private
Diffstat (limited to 'src/declarative/qml/qmlcomponent.cpp')
-rw-r--r--src/declarative/qml/qmlcomponent.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/declarative/qml/qmlcomponent.cpp b/src/declarative/qml/qmlcomponent.cpp
index 7dcc373..8fb7736 100644
--- a/src/declarative/qml/qmlcomponent.cpp
+++ b/src/declarative/qml/qmlcomponent.cpp
@@ -330,7 +330,7 @@ void QmlComponent::setData(const QByteArray &data, const QUrl &url)
d->url = url;
QmlCompositeTypeData *typeData =
- d->engine->d_func()->typeManager.getImmediate(data, url);
+ QmlEnginePrivate::get(d->engine)->typeManager.getImmediate(data, url);
if (typeData->status == QmlCompositeTypeData::Waiting) {
@@ -361,7 +361,7 @@ void QmlComponent::loadUrl(const QUrl &url)
d->url = url;
QmlCompositeTypeData *data =
- d->engine->d_func()->typeManager.get(d->url);
+ QmlEnginePrivate::get(d->engine)->typeManager.get(d->url);
if (data->status == QmlCompositeTypeData::Waiting) {
@@ -481,8 +481,8 @@ QObject *QmlComponent::beginCreate(QmlContext *context)
return 0;
}
- if (!d->engine->d_func()->rootComponent)
- d->engine->d_func()->rootComponent = this;
+ if (!QmlEnginePrivate::get(d->engine)->rootComponent)
+ QmlEnginePrivate::get(d->engine)->rootComponent = this;
QmlContextPrivate *contextPriv =
static_cast<QmlContextPrivate *>(QObjectPrivate::get(context));
@@ -500,7 +500,7 @@ QObject *QmlComponent::beginCreate(QmlContext *context)
if (vme.isError())
d->errors = vme.errors();
- QmlEnginePrivate *ep = d->engine->d_func();
+ QmlEnginePrivate *ep = QmlEnginePrivate::get(d->engine);
if (ep->rootComponent == this) {
ep->rootComponent = 0;