69 list <<
"A" <<
"B" <<
"C" <<
"D";
78 QListIterator<QString>
i(
list);
80 while (
i.hasPrevious())
86 QMutableListIterator<int>
i(
list);
88 if (
i.next() % 2 != 0)
95 QMutableListIterator<int>
i(
list);
97 while (
i.hasPrevious()) {
98 if (
i.previous() % 2 != 0)
105 QMutableListIterator<int>
i(
list);
106 while (
i.hasNext()) {
114 QMutableListIterator<int>
i(
list);
129 while (
i.hasNext()) {
130 if (
i.next().key().endsWith(
"City"))
140 QMapIterator<int, QWidget *>
i(
map);
141 while (
i.hasNext()) {
143 hash.insert(
i.key(),
i.value());
149 QMutableMapIterator<int, QWidget *>
i(
map);
157 list <<
"A" <<
"B" <<
"C" <<
"D";
167 list <<
"A" <<
"B" <<
"C" <<
"D";
187 qDebug() <<
i.key() <<
':' <<
i.value();
200 for (
i = splitter->sizes().begin();
201 i != splitter->sizes().end(); ++
i)
219 while (
i.hasNext()) {
271 CONFIG += no_keywords
284 for (
int j = 0;
j <
in.size(); ++
j) {
285 if (
in[
j].isLetter())
344 std::count_if(
list.
begin(),
list.
end(), [](
int element) { return (element % 2 == 0); });
Employee(const Employee &other)
Employee & operator=(const Employee &other)
The QDate class provides date functions.
The QHash class is a template class that provides a hash-table-based dictionary.
const_iterator constBegin() const noexcept
reverse_iterator rbegin()
const_iterator constEnd() const noexcept
iterator insert(const Key &key, const T &value)
T value(const Key &key, const T &defaultValue=T()) const
QList< T > values() const
QList< Key > keys() const
const_iterator constBegin() const
const_iterator constEnd() const
The QString class provides a Unicode character string.
QSet< int > set(list.begin(), list.end())
QHash< int, QWidget * > hash
[35multi]
QMap< QString, QString > map
[6]
list<< "A"<< "B"<< "C"<< "D";QList< QString >::iterator i
[11]
QList< QString > values
[15]
typename C::const_iterator const_iterator
GLenum GLsizei GLsizei GLint * values
[16]
GLboolean GLboolean GLboolean b
GLboolean GLboolean GLboolean GLboolean a
[7]
GLuint GLsizei const GLuint const GLintptr const GLsizeiptr * sizes
QTextStream out(stdout)
[7]