69 list[0] =
"Elizabeth";
84 cout <<
"First occurrence of Harumi is at position " <<
i <<
Qt::endl;
152 list <<
"alpha" <<
"beta" <<
"delta";
160 list << 2.718 << 1.442 << 0.4342;
178 list <<
"A" <<
"B" <<
"C" <<
"B" <<
"A";
188 list <<
"A" <<
"B" <<
"C" <<
"B" <<
"A";
qsizetype size() const noexcept
QList< T > & fill(parameter_type t, qsizetype size=-1)
iterator insert(qsizetype i, parameter_type t)
const_reference at(qsizetype i) const noexcept
reference emplaceBack(Args &&... args)
void prepend(rvalue_ref t)
iterator emplace(const_iterator before, Args &&... args)
void append(parameter_type t)
The QString class provides a Unicode character string.
QTextStream & endl(QTextStream &stream)
GLint GLsizei GLsizei GLenum GLenum GLsizei void * data
qsizetype lastIndexOf(const QString &str, qsizetype from=-1) const noexcept
qsizetype indexOf(const QString &str, qsizetype from=0) const noexcept