Replace <qhash.h> with <qhashfunctions.h> where applicable
To avoid source-incompatibilites, wrap in QT_DEPRECATED_SINCE(5, 5) in public headers. Change-Id: Ic3398f4f330e15a3b55065858add26b90fd70e6c Reviewed-by: Olivier Goffart (Woboq GmbH) <ogoffart@woboq.com>
This commit is contained in:
parent
ab8366b592
commit
103086e379
@ -36,7 +36,10 @@
|
||||
|
||||
#include <QtCore/qglobal.h>
|
||||
#include <QtCore/qatomic.h>
|
||||
#if QT_DEPRECATED_SINCE(5, 5)
|
||||
#include <QtCore/qhash.h>
|
||||
#endif
|
||||
#include <QtCore/qhashfunctions.h>
|
||||
|
||||
QT_BEGIN_NAMESPACE
|
||||
|
||||
|
@ -55,7 +55,10 @@ QT_END_NAMESPACE
|
||||
#include <new>
|
||||
#include <QtCore/qatomic.h>
|
||||
#include <QtCore/qobject.h> // for qobject_cast
|
||||
#include <QtCore/qhash.h> // for qHash
|
||||
#if QT_DEPRECATED_SINCE(5, 5)
|
||||
#include <QtCore/qhash.h>
|
||||
#endif
|
||||
#include <QtCore/qhashfunctions.h>
|
||||
|
||||
#if defined(Q_COMPILER_RVALUE_REFS) && defined(Q_COMPILER_VARIADIC_TEMPLATES)
|
||||
# include <utility> // for std::forward
|
||||
|
@ -39,7 +39,10 @@
|
||||
#include <QtCore/qvariant.h>
|
||||
#include <QtCore/qstring.h>
|
||||
#include <QtDBus/qdbusmacros.h>
|
||||
#if QT_DEPRECATED_SINCE(5, 5)
|
||||
#include <QtCore/qhash.h>
|
||||
#endif
|
||||
#include <QtCore/qhashfunctions.h>
|
||||
|
||||
#ifndef QT_NO_DBUS
|
||||
|
||||
|
@ -54,7 +54,10 @@
|
||||
#include <QtGui/qopengl.h>
|
||||
#include <QtGui/qopenglversionfunctions.h>
|
||||
|
||||
#if QT_DEPRECATED_SINCE(5, 5)
|
||||
#include <QtCore/qhash.h>
|
||||
#endif
|
||||
#include <QtCore/qhashfunctions.h>
|
||||
#include <QtCore/qpair.h>
|
||||
#include <QtCore/qvariant.h>
|
||||
|
||||
|
@ -47,7 +47,10 @@
|
||||
|
||||
#ifndef QT_NO_OPENGL
|
||||
|
||||
#if QT_DEPRECATED_SINCE(5, 5)
|
||||
#include <QtCore/qhash.h>
|
||||
#endif
|
||||
#include <QtCore/qhashfunctions.h>
|
||||
#include <QtCore/qpair.h>
|
||||
#include <QtGui/qopengl.h>
|
||||
|
||||
|
@ -38,7 +38,7 @@
|
||||
#include <qdatastream.h>
|
||||
#include <qdebug.h>
|
||||
#include <qmap.h>
|
||||
#include <qhash.h>
|
||||
#include <qhashfunctions.h>
|
||||
|
||||
QT_BEGIN_NAMESPACE
|
||||
|
||||
|
@ -37,7 +37,10 @@
|
||||
#include <QtCore/QtGlobal>
|
||||
#include <QtCore/QString>
|
||||
#include <QtCore/QMetaType>
|
||||
#if QT_DEPRECATED_SINCE(5, 5)
|
||||
#include <QtCore/QHash>
|
||||
#endif
|
||||
#include <QtCore/qhashfunctions.h>
|
||||
|
||||
QT_BEGIN_NAMESPACE
|
||||
|
||||
|
@ -50,7 +50,7 @@
|
||||
#include "QtCore/qmap.h"
|
||||
#include "QtCore/qthread.h"
|
||||
#include "QtCore/qthreadstorage.h"
|
||||
#include "QtCore/qhash.h"
|
||||
#include "QtCore/qhashfunctions.h"
|
||||
#include "QtCore/qatomic.h"
|
||||
#include "QtWidgets/private/qwidget_p.h"
|
||||
#include "QtGui/private/qopenglcontext_p.h"
|
||||
|
Loading…
Reference in New Issue
Block a user