Logging: Mark deprecated API with QT_DEPRECATED
authorKai Koehne <kai.koehne@digia.com>
Tue, 18 Sep 2012 07:57:51 +0000 (09:57 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Tue, 16 Oct 2012 13:29:15 +0000 (15:29 +0200)
commit8fdef974b7014212947fc409543847d97ec7d5b9
tree23fbe671fa5615ef06004b6df9565efc63fb6483
parentc40333ef505cf0cd9f1102f29473d920fdf7675d
Logging: Mark deprecated API with QT_DEPRECATED

Still use it in qtestlib though because using qInstallMessageHandler
here would break all tests (still) using qInstallMsgHandler - Qt always
uses the new message handler if there's one, ignoring any message handler
installed through deprecated API.

Change-Id: I6fefefb315a2421425d2b7787e367fd348a33d83
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
src/corelib/global/qlogging.cpp
src/corelib/global/qlogging.h
src/testlib/qtestlog.cpp