| 1 | // Copyright (C) 2020 The Qt Company Ltd. |
| 2 | // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only |
| 3 | |
| 4 | #ifndef QVECTOR_H |
| 5 | #define QVECTOR_H |
| 6 | |
| 7 | #include <QtCore/qlist.h> |
| 8 | #include <QtCore/qcontainerfwd.h> |
| 9 | |
| 10 | #if 0 |
| 11 | #pragma qt_class(QVector) |
| 12 | #pragma qt_class(QMutableVectorIterator) |
| 13 | #pragma qt_class(QVectorIterator) |
| 14 | #endif |
| 15 | |
| 16 | QT_BEGIN_NAMESPACE |
| 17 | |
| 18 | #if !defined(QT_NO_JAVA_STYLE_ITERATORS) |
| 19 | template<typename T> |
| 20 | using QMutableVectorIterator = QMutableListIterator<T>; |
| 21 | template<typename T> |
| 22 | using QVectorIterator = QListIterator<T>; |
| 23 | #endif |
| 24 | |
| 25 | QT_END_NAMESPACE |
| 26 | |
| 27 | #endif // QVECTOR_H |
| 28 | |