Use QPointer instead of QWeakPointer.
authorStephen Kelly <stephen.kelly@kdab.com>
Wed, 30 May 2012 11:53:24 +0000 (13:53 +0200)
committerQt by Nokia <qt-info@nokia.com>
Tue, 5 Jun 2012 16:42:26 +0000 (18:42 +0200)
commit7d28f7772cd8f5aad63359ed0b9c57c12923dc85
tree71e1cc4d972f7417b0d510451aacfce2e98eafa7
parentfa7c9bbe1cc71a16835c373095515513ab5949db
Use QPointer instead of QWeakPointer.

The use of QWeakPointer for tracking QObject pointers is to be
deprecated.

Change-Id: If460ca7f515db77af24030152f4bd56e1a5fae7c
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
26 files changed:
src/corelib/animation/qabstractanimation.cpp
src/corelib/animation/qpropertyanimation_p.h
src/corelib/plugin/qlibrary_p.h
src/corelib/statemachine/qabstracttransition_p.h
src/corelib/statemachine/qstate.cpp
src/gui/kernel/qguiapplication.cpp
src/gui/kernel/qguiapplication_p.h
src/gui/kernel/qinputmethod_p.h
src/gui/kernel/qwindowsysteminterface_qpa_p.h
src/network/access/qnetworkrequest_p.h
src/plugins/platforms/xcb/qxcbdrag.h
src/widgets/dialogs/qdialog.cpp
src/widgets/graphicsview/qgraphicsscene.cpp
src/widgets/itemviews/qabstractitemview_p.h
src/widgets/kernel/qaction.cpp
src/widgets/kernel/qapplication.cpp
src/widgets/kernel/qwidget.cpp
src/widgets/kernel/qwidgetwindow_qpa_p.h
src/widgets/widgets/qdatetimeedit.cpp
src/widgets/widgets/qdatetimeedit_p.h
src/widgets/widgets/qmenu.cpp
tests/auto/corelib/thread/qthread/tst_qthread.cpp
tests/auto/gui/kernel/qtouchevent/tst_qtouchevent.cpp
tests/auto/other/gestures/tst_gestures.cpp
tests/auto/other/qsharedpointer_and_qwidget/tst_qsharedpointer_and_qwidget.cpp
tests/auto/widgets/widgets/qmenu/tst_qmenu.cpp