diff options
author | Marc Mutz <marc.mutz@kdab.com> | 2012-03-06 12:11:25 +0100 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-03-22 17:45:47 +0100 |
commit | 3f7741fbe7ab4140f8f971c0cf88bb04e7feea6b (patch) | |
tree | b5457b93c6ff142032cc5cc819a6c2e67baa887f /tests/benchmarks/network/access/qnetworkreply/tst_qnetworkreply.cpp | |
parent | 6a54344e223b23f3334409930b7a072d257dd947 (diff) |
QPointer: some optimisations
Implement QPointer in terms of QPointerBase,
a non-template roughly the same as
QPointer<QObject>, to reduce the amount of
template code being generated.
Also mark QPointer as movable, fake an
isNull() for qdoc, and remove qpointer.h's
content from QT_NO_QOBJECT builds (some
indirect include hits the missing
QWeakPointer(QObject*) constructor when
bootstrapping; worked before b/c QPointer
is a template; QPointerBase isn't, though).
Change-Id: I657826601f570f954d80b84bb0334dd3a7452859
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'tests/benchmarks/network/access/qnetworkreply/tst_qnetworkreply.cpp')
0 files changed, 0 insertions, 0 deletions