diff options
author | David Boddie <dboddie@trolltech.com> | 2009-08-28 13:01:55 (GMT) |
---|---|---|
committer | David Boddie <dboddie@trolltech.com> | 2009-08-28 13:01:55 (GMT) |
commit | 7a69207653d97037d76b3dedfa3fa67033962eb3 (patch) | |
tree | 0be4650fc332d9c5197dac3877567cb23504db77 /src/corelib/kernel/qobject.cpp | |
parent | 9725ab222ffceb34b93af01631b273404ab784a9 (diff) | |
parent | 406f13e53ad78ba65b15ee7f06787e1d8a5d3fdd (diff) | |
download | Qt-7a69207653d97037d76b3dedfa3fa67033962eb3.zip Qt-7a69207653d97037d76b3dedfa3fa67033962eb3.tar.gz Qt-7a69207653d97037d76b3dedfa3fa67033962eb3.tar.bz2 |
Merge branch '4.6' of git@scm.dev.nokia.troll.no:qt/qt into 4.6
Diffstat (limited to 'src/corelib/kernel/qobject.cpp')
-rw-r--r-- | src/corelib/kernel/qobject.cpp | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/src/corelib/kernel/qobject.cpp b/src/corelib/kernel/qobject.cpp index 1f35c73..8abe28e 100644 --- a/src/corelib/kernel/qobject.cpp +++ b/src/corelib/kernel/qobject.cpp @@ -240,18 +240,20 @@ static void computeOffsets(const QMetaObject *metaobject, int *signalOffset, int } } -/*! \internal +/* This vector contains the all connections from an object. - Each object may have one vector containing the lists of connections for a given signal. - The index in the vector correspond to the signal index. - The signal index is the one returned by QObjectPrivate::signalIndex (not QMetaObject::indexOfSignal). + Each object may have one vector containing the lists of + connections for a given signal. The index in the vector correspond + to the signal index. The signal index is the one returned by + QObjectPrivate::signalIndex (not QMetaObject::indexOfSignal). Negative index means connections to all signals. This vector is protected by the object mutex (signalSlotMutexes()) - Each Connection is also part of a 'senders' linked list. The mutex of the receiver must be locked when touching - the pointers of this linked list. + Each Connection is also part of a 'senders' linked list. The mutex + of the receiver must be locked when touching the pointers of this + linked list. */ class QObjectConnectionListVector : public QVector<QObjectPrivate::ConnectionList> { |