Change QConnectionSenderSwitcher et al to use signal index range
authorKent Hansen <kent.hansen@nokia.com>
Thu, 31 May 2012 19:18:34 +0000 (21:18 +0200)
committerQt by Nokia <qt-info@nokia.com>
Sun, 3 Jun 2012 09:04:50 +0000 (11:04 +0200)
commit6d996dd74d80b763fa1c835453c3fb18832be050
tree5522657372c847661462205b9b912552d1ade88d
parent0d86ca432ae39574dd644de1ebc73597a2e43974
Change QConnectionSenderSwitcher et al to use signal index range

First step towards getting rid of the signal_absolute_index variable
from QMetaObject::activate() (which requires computation of the
class's method offset).

This also required changing the implementation of the public function
senderSignalIndex() so it still returns an index in the full method
range.

Change-Id: I58571eb3c8099ea5b673682872c53875f5ea8c13
Reviewed-by: Olivier Goffart <ogoffart@woboq.com>
src/corelib/kernel/qobject.cpp
src/corelib/kernel/qobject_p.h