Fix compilation of public headers with QT_NO_DEPRECATED defined
authorOlivier Goffart <ogoffart@woboq.com>
Mon, 30 Apr 2012 12:26:41 +0000 (14:26 +0200)
committerQt by Nokia <qt-info@nokia.com>
Wed, 2 May 2012 09:14:09 +0000 (11:14 +0200)
commit36b3a6ad3818b6c8d0849d5e5d63de22c2a2a430
tree209a6267ce8ca7a05ae5f9a46b37e6c8255cfbc9
parentbcd477e0bc48bb028193d7707d1ecfbd61b5bdc1
Fix compilation of public headers with QT_NO_DEPRECATED defined

Put the functions in QT_DEPRECATED_SINCE if possible

QPluginLoader::staticInstances is not documented as deprecated, and do
not reference any alternative use. So I unmarked it as deprecated.

Change-Id: I556c3f3657fb0490dd5543fcc56718fe9bd394e7
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@nokia.com>
12 files changed:
src/corelib/plugin/qpluginloader.h
src/gui/accessible/qaccessible.cpp
src/gui/accessible/qaccessible.h
src/gui/kernel/qevent.cpp
src/gui/kernel/qevent.h
src/gui/kernel/qguiapplication.cpp
src/gui/kernel/qguiapplication.h
src/gui/kernel/qinputmethod.h
src/gui/kernel/qwindow.cpp
src/gui/kernel/qwindow.h
src/widgets/kernel/qapplication.cpp
src/widgets/kernel/qapplication.h