QSlotObjectBase: make 'impl' and 'ref' private
authorMarc Mutz <marc.mutz@kdab.com>
Mon, 20 Aug 2012 13:52:19 +0000 (15:52 +0200)
committerQt by Nokia <qt-info@nokia.com>
Sun, 26 Aug 2012 12:34:13 +0000 (14:34 +0200)
commite6c50609c8a098304ab6b2a41aa371563ba45d2e
tree635a0e64a9a9addf6b4d0d3bfefb2a3e2e85e37d
parent2d78e241918453a978f46a6246234cff881e9174
QSlotObjectBase: make 'impl' and 'ref' private

This allows to fold the deref() and the destroy() operations into one,
destroyIfLastRef().

The member variables were renamed since there's now a member function
of the same name (ref()).

Change-Id: Ib94416d9e658065bbf5d3711ecafaf0eb063af17
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Olivier Goffart <ogoffart@woboq.com>
src/corelib/kernel/qobject.cpp
src/corelib/kernel/qobject_impl.h