![]()  | 
  
    Qt 6.x
    
   The Qt SDK 
   | 
 
#include <QtCore/qtconfigmacros.h>#include <QtCore/qtypes.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 > | 
| Constructs a string list that contains the given string, str.   | |
| using | QByteArrayList = QList< QByteArray > | 
| using | QVariantList = QList< QVariant > | 
| using | QVariantMap = QMap< QString, QVariant > | 
| using | QVariantHash = QHash< QString, QVariant > | 
| using | QVariantPair = QPair< QVariant, QVariant > | 
| using QByteArrayList = QList<QByteArray> | 
Definition at line 36 of file qcontainerfwd.h.
| using QPair = std::pair<T1, T2> | 
Definition at line 25 of file qcontainerfwd.h.
| QStringList::QStringList | 
Constructs a string list that contains the given string, str.
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
Constructs a copy of other.
Longer lists are easily created like this:
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}.
Move-constructs from QList<QString>.
After a successful construction, other will be empty.
Definition at line 34 of file qcontainerfwd.h.
      
  | 
  related | 
Definition at line 47 of file qcontainerfwd.h.
      
  | 
  related | 
Definition at line 45 of file qcontainerfwd.h.
      
  | 
  related | 
Definition at line 46 of file qcontainerfwd.h.
| using QVariantPair = QPair<QVariant, QVariant> | 
Definition at line 48 of file qcontainerfwd.h.
Definition at line 33 of file qcontainerfwd.h.