Logo Search packages:      
Sourcecode: qt4-x11 version File versions

template<typename T>
void QList< T >::removeLast (  )  [inline, inherited]

Removes the last item in the list. Calling this function is equivalent to calling removeAt(size() - 1). The list must not be empty. If the list can be empty, call isEmpty() before calling this function.

See also:
removeAt(), takeLast()

Definition at line 257 of file qlist.h.

Referenced by QPatternist::NormalizeUnicodeFN::compress(), QDBusConnection::objectRegisteredAt(), QList< QPostEvent >::pop_back(), QDBusConnection::registerObject(), QFSCompletor::splitPath(), and QList< T >::takeLast().

{ Q_ASSERT(!isEmpty()); erase(--end()); }

Generated by  Doxygen 1.6.0   Back to index