summaryrefslogtreecommitdiffstats
path: root/src/declarative/util/qmlconnection.cpp
diff options
context:
space:
mode:
authorMartin Jones <martin.jones@nokia.com>2009-04-29 00:10:35 (GMT)
committerMartin Jones <martin.jones@nokia.com>2009-04-29 00:10:35 (GMT)
commitdc5a2f46bd9676e69ed81d0b83199a533d1fca21 (patch)
tree9eb4b410c5243cceb45962bb880da865b80ea891 /src/declarative/util/qmlconnection.cpp
parent978cf2724888f13ba1a0ebab65056c05fe112dad (diff)
parent1cb0906f04ed49de26575252740b8bb5190e3025 (diff)
downloadQt-dc5a2f46bd9676e69ed81d0b83199a533d1fca21.zip
Qt-dc5a2f46bd9676e69ed81d0b83199a533d1fca21.tar.gz
Qt-dc5a2f46bd9676e69ed81d0b83199a533d1fca21.tar.bz2
Merge branch 'kinetic-declarativeui' of git@scm.dev.nokia.troll.no:qt/kinetic into kinetic-declarativeui
Conflicts: src/declarative/fx/qfximageitem.cpp src/declarative/fx/qfxpathview.cpp src/declarative/util/qmllistmodel.cpp
Diffstat (limited to 'src/declarative/util/qmlconnection.cpp')
-rw-r--r--src/declarative/util/qmlconnection.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/declarative/util/qmlconnection.cpp b/src/declarative/util/qmlconnection.cpp
index 500e728..5cd4371 100644
--- a/src/declarative/util/qmlconnection.cpp
+++ b/src/declarative/util/qmlconnection.cpp
@@ -64,7 +64,7 @@ public:
\qmlclass Connection QmlConnection
\brief The Connection element describes generalized connections to signals.
- JavaScript-in-HTML style \l {qmlformatsignalscpp}{signal properties} do not allow:
+ JavaScript-in-HTML style signal properties do not allow:
\list
\i connecting to signals with the same name but different parameters
\i conformance checking that parameters are correctly named
@@ -173,12 +173,12 @@ void QmlConnection::connectIfValid()
QObject *sender = d->signalSender ? d->signalSender : parent();
const QMetaObject *mo = sender->metaObject();
int methods = mo->methodCount();
- for(int ii = 0; ii < methods; ++ii) {
+ for (int ii = 0; ii < methods; ++ii) {
QMetaMethod method = mo->method(ii);
QString methodName = QLatin1String(method.signature());
int idx = methodName.indexOf(QLatin1Char('('));
methodName = methodName.left(idx);
- if(methodName == signalname && (lparen<0 || method.parameterNames() == sigparams)) {
+ if (methodName == signalname && (lparen<0 || method.parameterNames() == sigparams)) {
sigIdx = ii;
break;
}