90 for (
int i = 0;
i < 1000; ++
i) {
91 if (
map[
i] == okButton)
98 QMapIterator<QString, int>
i(
map);
150 return e1.dateOfBirth() < e2.dateOfBirth();
213 map.insert(
"December", 12);
244 if (prev.
key().startsWith(
'_'))
261 if (
i.
key() ==
"Hello")
271 map.insert(
"December", 12);
282 map1.
insert(
"plenty", 100);
283 map1.
insert(
"plenty", 2000);
286 map2.
insert(
"plenty", 5000);
QString name() const
[5] //! [6]
Employee(const QString &name, QDate dateOfBirth)
The QDate class provides date functions.
bool operator<(const QElapsedTimer &lhs, const QElapsedTimer &rhs) noexcept
iterator insert(const Key &key, const T &value)
T value(const Key &key, const T &defaultValue=T()) const
QList< T > values() const
iterator erase(const_iterator it)
QList< Key > keys() const
bool contains(const Key &key) const
const_iterator cend() const
const_iterator cbegin() const
iterator find(const Key &key)
iterator lowerBound(const Key &key)
iterator upperBound(const Key &key)
const_iterator constBegin() const
key_iterator keyBegin() const
Key key(const T &value, const Key &defaultKey=Key()) const
const_iterator constEnd() const
key_iterator keyEnd() const
iterator insert(const Key &key, const T &value)
The QString class provides a Unicode character string.
bool startsWith(const QString &s, Qt::CaseSensitivity cs=Qt::CaseSensitive) const
qDeleteAll(list.begin(), list.end())
typename C::const_iterator const_iterator
QTextStream & endl(QTextStream &stream)
EGLOutputLayerEXT EGLint EGLAttrib value
GLenum GLsizei GLsizei GLint * values
[16]
GLbitfield GLuint64 timeout
[4]