22QList<QString>
list = {
"A",
"B",
"C",
"D"};
29QList<QString>
list = {
"A",
"B",
"C",
"D"};
36QList<QString>
list = {
"A",
"B",
"C",
"D"};
44QList<QString>
list = {
"A",
"B",
"C",
"D"};
55while (
i.hasPrevious())
61QMutableListIterator<int>
i(
list);
63 if (
i.next() % 2 != 0)
70QMutableListIterator<int>
i(
list);
72while (
i.hasPrevious()) {
73 if (
i.previous() % 2 != 0)
80QMutableListIterator<int>
i(
list);
89QMutableListIterator<int>
i(
list);
96QMap<QString, QString>
map = {
98 {
"Guatemala City",
"Guatemala"},
99 {
"Mexico City",
"Mexico"},
106 if (
i.next().key().endsWith(
"City"))
113QMap<int, QWidget *>
map;
116QMapIterator<int, QWidget *>
i(
map);
119 hash.insert(
i.key(),
i.value());
125QMutableMapIterator<int, QWidget *>
i(
map);
132QList<QString>
list = {
"A",
"B",
"C",
"D"};
140QList<QString>
list = {
"A",
"B",
"C",
"D"};
157 qDebug() <<
i.key() <<
':' <<
i.value();
163const QList<int>
sizes = splitter->sizes();
168for (
auto i = splitter->sizes().begin();
169 i != splitter->sizes().end(); ++
i)
214QMap<QString, int>
map;
222QMultiMap<QString, int>
map;
237target_compile_definitions(my_app PRIVATE QT_NO_KEYWORDS)
246 if (
in.at(
j).isLetter())
284QList<int>
list = {1, 2, 3, 4, 4, 5};
292QList<int>
list = {2, 3, 1};
305 std::count_if(
list.
begin(),
list.
end(), [](
int element) { return (element % 2 == 0); });
Employee & operator=(const Employee &other)
Employee(const Employee &other)
\inmodule QtCore \reentrant
qsizetype size() const noexcept
const_reference at(qsizetype i) const noexcept
reverse_iterator rbegin()
const_iterator cend() const noexcept
const_iterator cbegin() const noexcept
T value(const Key &key, const T &defaultValue=T()) const
const_iterator cend() const
QList< T > values() const
const_iterator cbegin() const
QList< Key > keys() const
\macro QT_RESTRICTED_CAST_FROM_ASCII
bool isEmpty() const noexcept
Returns true if the string has no characters; otherwise returns false.
QHash< int, QWidget * > hash
[35multi]
QMap< QString, QString > map
[6]
i QList< QString > values
[14]
GLenum GLsizei GLsizei GLint * values
[15]
GLboolean GLboolean GLboolean b
GLboolean GLboolean GLboolean GLboolean a
[7]
GLuint GLsizei const GLuint const GLintptr const GLsizeiptr * sizes
QFuture< QSet< QChar > > set
[10]
QTextStream out(stdout)
[7]