diff options
author | Stephen Kelly <stephen.kelly@kdab.com> | 2012-05-25 10:31:03 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-06-07 19:08:51 +0200 |
commit | ee7fa67eb0060b9c794bae4c7b06110c3b9626e0 (patch) | |
tree | 13401c7dcdb54f1e7ffbdd9c5a369c5c371dacdd /src/sql/kernel | |
parent | 77a03ebd8da28c3811fe505b2a84e2d42743005f (diff) |
Deprecate the use of QWeakPointer to track QObjects.
The main problem with using QWeakPointer to track QObjects is that it
has API to convert to QSharedPointer, which is undefined behavior. There
is no need to overload the meaning of QWeakPointer with QObject
tracking.
QPointer is more suitable and should be used instead. Because QPointer
is implemented in terms of QWeakPointer, we need to add some overloads
which are not deprecated.
Change-Id: If0333e4800c9fd277629cc69185c9ca3e4e7e81d
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/sql/kernel')
0 files changed, 0 insertions, 0 deletions