Ensure QListIterator gets defined inside the qtnamespace

Change-Id: I9078893d530836396453c8cc0d2870d77989f076
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
This commit is contained in:
Lars Knoll 2019-10-30 16:33:11 +01:00
parent ce59d0ecb2
commit 7f70a4afa4

View File

@ -44,10 +44,12 @@
#include <QtCore/qcontainerfwd.h> #include <QtCore/qcontainerfwd.h>
#if !defined(QT_NO_JAVA_STYLE_ITERATORS) #if !defined(QT_NO_JAVA_STYLE_ITERATORS)
QT_BEGIN_NAMESPACE
template<typename T> template<typename T>
using QMutableListIterator = QMutableVectorIterator<T>; using QMutableListIterator = QMutableVectorIterator<T>;
template<typename T> template<typename T>
using QListIterator = QVectorIterator<T>; using QListIterator = QVectorIterator<T>;
QT_END_NAMESPACE
#endif #endif
#include <QtCore/qbytearraylist.h> #include <QtCore/qbytearraylist.h>