QtBase  v6.3.1
Typedefs
qcontainerfwd.h File Reference
#include <QtCore/qglobal.h>
#include <utility>
Include dependency graph for qcontainerfwd.h:

Go to the source code of this file.

Typedefs

template<typename T1 , typename T2 >
using QPair = std::pair< T1, T2 >
 
template<typename T >
using QVector = QList< T >
 
using QStringList = QList< QString >
 
using QByteArrayList = QList< QByteArray >
 
using QVariantList = QList< QVariant >
 
using QVariantMap = QMap< QString, QVariant >
 
using QVariantHash = QHash< QString, QVariant >
 
using QVariantPair = QPair< QVariant, QVariant >
 

Typedef Documentation

◆ QByteArrayList

Definition at line 65 of file qcontainerfwd.h.

◆ QPair

template<typename T1 , typename T2 >
using QPair = std::pair<T1, T2>

Definition at line 56 of file qcontainerfwd.h.

◆ QStringList

QStringList::QStringList

Constructs a string list that contains the given string, str. Longer lists are easily created like this:

See also
append()

Constructs a copy of other.

This operation takes \l{constant time}, because QStringList is \l{implicitly shared}. This makes returning a QStringList from a function very fast. If a shared instance is modified, it will be copied (copy-on-write), and that takes \l{linear time}.

See also
operator=()

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Since
5.4

Move-constructs from QList<QString>.

After a successful construction, other will be empty.

Definition at line 64 of file qcontainerfwd.h.

◆ QVariantHash

using QVariantHash = QHash<QString, QVariant>
related

Definition at line 76 of file qcontainerfwd.h.

◆ QVariantList

using QVariantList = QList<QVariant>
related

Definition at line 74 of file qcontainerfwd.h.

◆ QVariantMap

using QVariantMap = QMap<QString, QVariant>
related

Definition at line 75 of file qcontainerfwd.h.

◆ QVariantPair

Definition at line 77 of file qcontainerfwd.h.

◆ QVector

template<typename T >
using QVector = QList<T>

Definition at line 63 of file qcontainerfwd.h.