QtBase
v6.3.1
|
Go to the source code of this file.
Functions | |
QList< QString > | list (200, "Pass") |
[1] More... | |
if (list[0]=="Liz") list[0] | |
[2] More... | |
for (qsizetype i=0;i< list.size();++i) | |
[3] More... | |
if(i !=-1) cout<< "First occurrence of Harumi is at position "<< i<< Qt QList< int > | list (10) |
[5] More... | |
list | append ("one") |
list | append ("two") |
list | append (three) |
list | append (std::move(three)) |
list | emplace (1, 2, 'b') |
list | emplaceBack (3, 'a') |
qDebug ()<< list | |
[1] More... | |
list | prepend ("one") |
list | prepend ("two") |
list | prepend ("three") |
list<< 2.718<< 1.442<< 0.4342;list.insert(1, 3, 9.9);QList< QString > | list (3) |
list | fill ("Yes") |
list | fill ("oh", 5) |
Variables | |
QList< int > | integerList |
[0] More... | |
QList< QString > | stringList |
QList< QString > | list (200) {"a", "ccc"} |
[0] More... | |
qsizetype | i = list.indexOf("Harumi") |
[4] More... | |
int * | data = list.data() |
QString | three = "three" |
auto & | ref = list.emplaceBack() |
list append | ( | "one" | ) |
list append | ( | "two" | ) |
list fill | ( | "oh" | , |
5 | |||
) |
list fill | ( | "Yes" | ) |
for | ( | ) |
[3]
[0]
[4]
Definition at line 74 of file src_corelib_tools_qlist.cpp.
if | ( | list | [0] = ="Liz" | ) |
[2]
[3]
[5]
[6]
list<< 2.718 << 1.442 << 0.4342;list.insert(1, 3, 9.9);QList<QString> list | ( | 3 | ) |
list prepend | ( | "one" | ) |
list prepend | ( | "three" | ) |
list prepend | ( | "two" | ) |
qDebug | ( | ) |
[1]
[7]
[toString]
|
related |
Definition at line 90 of file src_corelib_tools_qlist.cpp.
qsizetype i = list.indexOf("Harumi") |
QList<int> integerList |
[0]
Definition at line 52 of file src_corelib_tools_qlist.cpp.
list<< "A" << "B" << "C" << "B" << "A";list.indexOf("B"); list.indexOf("B", 1); list.indexOf("B", 2); list.indexOf("X"); QList<QString> list | ( | 200 | ) | {"a", "ccc"} |
[0]
[11]
[6]
[1]
[2]
[7]
[move-append]
[emplace]
[emplace-back]
[emplace-back-ref]
[8]
[9]
[12]
Definition at line 97 of file src_corelib_tools_qlist.cpp.
ref = list.emplaceBack() |
Definition at line 135 of file src_corelib_tools_qlist.cpp.
Definition at line 53 of file src_corelib_tools_qlist.cpp.
QString three = "three" |
Definition at line 100 of file src_corelib_tools_qlist.cpp.