diff options
author | Alexis Menard <alexis.menard@nokia.com> | 2009-04-23 12:02:52 (GMT) |
---|---|---|
committer | Alexis Menard <alexis.menard@nokia.com> | 2009-04-23 12:04:03 (GMT) |
commit | f4671866dec50c624ddd7da08e77d6438b183ff1 (patch) | |
tree | 5eb0b438270b2bf902422e15664092d70e4c9b07 /src | |
parent | 7f4c36b07da085549bdc93c65e6b839a43877b0b (diff) | |
download | Qt-f4671866dec50c624ddd7da08e77d6438b183ff1.zip Qt-f4671866dec50c624ddd7da08e77d6438b183ff1.tar.gz Qt-f4671866dec50c624ddd7da08e77d6438b183ff1.tar.bz2 |
Fix signal usage from Qmlcomponent
Diffstat (limited to 'src')
-rw-r--r-- | src/declarative/fx/qfxitem.cpp | 4 | ||||
-rw-r--r-- | src/declarative/util/qfxview.cpp | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/declarative/fx/qfxitem.cpp b/src/declarative/fx/qfxitem.cpp index 4574392..ed65b84 100644 --- a/src/declarative/fx/qfxitem.cpp +++ b/src/declarative/fx/qfxitem.cpp @@ -783,7 +783,7 @@ void QFxItem::setQml(const QString &qml) if(!d->_qmlcomp->isLoading()) qmlLoaded(); else - QObject::connect(d->_qmlcomp, SIGNAL(statusChanged(Status)), + QObject::connect(d->_qmlcomp, SIGNAL(statusChanged(QmlComponent::Status)), this, SLOT(qmlLoaded())); } } @@ -1650,7 +1650,7 @@ void QFxItem::newChild(const QString &type) if(!d->_qmlnewcomp.last()->isLoading()) qmlLoaded(); else - connect(d->_qmlnewcomp.last(), SIGNAL(statusChanged(Status)), + connect(d->_qmlnewcomp.last(), SIGNAL(statusChanged(QmlComponent::Status)), this, SLOT(qmlLoaded())); } diff --git a/src/declarative/util/qfxview.cpp b/src/declarative/util/qfxview.cpp index 4aa0932..a8b8eea 100644 --- a/src/declarative/util/qfxview.cpp +++ b/src/declarative/util/qfxview.cpp @@ -203,13 +203,13 @@ void QFxView::execute() if(!d->component->isLoading()) { continueExecute(); } else { - connect(d->component, SIGNAL(statusChanged(Status)), this, SLOT(continueExecute())); + connect(d->component, SIGNAL(statusChanged(QmlComponent::Status)), this, SLOT(continueExecute())); } } void QFxView::continueExecute() { - disconnect(d->component, SIGNAL(statusChanged(Status)), this, SLOT(continueExecute())); + disconnect(d->component, SIGNAL(statusChanged(QmlComponent::Status)), this, SLOT(continueExecute())); if(!d->component){ qWarning() << "Error in loading" << d->source; |