/*!
Inserts \a value at the beginning of the array.
- This is the same as \c{insert(0, \a value)}.
+ This is the same as \c{insert(0, value)} and will prepend \a value to the array.
\sa append(), insert()
*/
/*!
Removes the value at index position \a i. \a i must be a valid
- index position in the array (i.e., \c{0 <= \a i < size()}).
+ index position in the array (i.e., \c{0 <= i < size()}).
\sa insert(), replace()
*/
/*!
Removes the item at index position \a i and returns it. \a i must
- be a valid index position in the array (i.e., \c{0 <= \a i < size()}).
+ be a valid index position in the array (i.e., \c{0 <= i < size()}).
If you don't use the return value, removeAt() is more efficient.
/*!
Replaces the item at index position \a i with \a value. \a i must
- be a valid index position in the array (i.e., \c{0 <= \a i < size()}).
+ be a valid index position in the array (i.e., \c{0 <= i < size()}).
\sa operator[](), removeAt()
*/
/*!
Returns the value at index position \a i as a modifiable reference.
- \a i must be a valid index position in the array (i.e., \c{0 <= \a i <
+ \a i must be a valid index position in the array (i.e., \c{0 <= i <
size()}).
The return value is of type QJsonValueRef, a helper class for QJsonArray
/*! \fn void QJsonArray::push_back(const QJsonValue &value)
This function is provided for STL compatibility. It is equivalent
- to \l{QJsonArray::append()}{append(\a value)}.
+ to \l{QJsonArray::append()}{append(value)} and will append \a value to the array.
*/
/*! \fn void QJsonArray::push_front(const QJsonValue &value)
This function is provided for STL compatibility. It is equivalent
- to \l{QJsonArray::prepend()}{prepend(\a value)}.
+ to \l{QJsonArray::prepend()}{prepend(value)} and will prepend \a value to the array.
*/
/*! \fn void QJsonArray::pop_front()
/*! \fn QJsonValueRef QJsonArray::iterator::operator[](int j) const
- Returns a modifiable reference to the item at position \c{*this + j}.
+ Returns a modifiable reference to the item at offset \a j from the
+ item pointed to by this iterator (the item at position \c{*this + j}).
This function is provided to make QJsonArray iterators behave like C++
pointers.
/*! \fn QJsonValue QJsonArray::const_iterator::operator[](int j) const
- Returns the item at position \c{*this + j}.
+ Returns the item at offset \a j from the item pointed to by this iterator (the item at
+ position \c{*this + j}).
This function is provided to make QJsonArray iterators behave like C++
pointers.