#include </home/clem/local/src/opie/qmake/include/qptrlist.h>
Inheritance diagram for QPtrList< type >:


Public Member Functions | |
| QPtrList () | |
| QPtrList (const QPtrList< type > &l) | |
| ~QPtrList () | |
| QPtrList< type > & | operator= (const QPtrList< type > &l) |
| bool | operator== (const QPtrList< type > &list) const |
| bool | operator!= (const QPtrList< type > &list) const |
| uint | count () const |
| bool | isEmpty () const |
| bool | insert (uint i, const type *d) |
| void | inSort (const type *d) |
| void | prepend (const type *d) |
| void | append (const type *d) |
| bool | remove (uint i) |
| bool | remove () |
| bool | remove (const type *d) |
| bool | removeRef (const type *d) |
| void | removeNode (QLNode *n) |
| bool | removeFirst () |
| bool | removeLast () |
| type * | take (uint i) |
| type * | take () |
| type * | takeNode (QLNode *n) |
| void | clear () |
| void | sort () |
| int | find (const type *d) |
| int | findNext (const type *d) |
| int | findRef (const type *d) |
| int | findNextRef (const type *d) |
| uint | contains (const type *d) const |
| uint | containsRef (const type *d) const |
| bool | replace (uint i, const type *d) |
| type * | at (uint i) |
| int | at () const |
| type * | current () const |
| QLNode * | currentNode () const |
| type * | getFirst () const |
| type * | getLast () const |
| type * | first () |
| type * | last () |
| type * | next () |
| type * | prev () |
| void | toVector (QGVector *vec) const |
| template<> | |
| void | deleteItem (QPtrCollection::Item) |
Private Member Functions | |
| void | deleteItem (Item d) |
|
|||||||||
|
Definition at line 53 of file qptrlist.h. |
|
||||||||||
|
Definition at line 54 of file qptrlist.h. |
|
|||||||||
|
Definition at line 55 of file qptrlist.h. |
|
||||||||||
|
|||||||||
|
Returns the current index. Reimplemented from QGList. Definition at line 89 of file qptrlist.h. |
|
||||||||||
|
|||||||||
|
Removes all items from the list. Reimplemented from QGList. Definition at line 78 of file qptrlist.h. Referenced by Qt3::QTextCommandHistory::addCommand(), Qt3::QTextFlow::clear(), Referee::fillMapName(), QDir::readDirEntries(), KAsteroidsView::reset(), and QPtrList< QCacheItem >::~QPtrList(). |
|
||||||||||
|
Definition at line 84 of file qptrlist.h. Referenced by Qt3::QTextFlow::registerFloatingItem(). |
|
||||||||||
|
Definition at line 85 of file qptrlist.h. Referenced by OJanusWidget::removePage(). |
|
|||||||||
|
|||||||||
|
Definition at line 90 of file qptrlist.h. Referenced by VcprojGenerator::writeSubDirs(). |
|
|||||||||
|
Returns the current node. Reimplemented from QGList. Definition at line 91 of file qptrlist.h. |
|
||||||||||
|
Definition at line 112 of file qptrlist.h. |
|
||||||||||
|
Definition at line 117 of file qptrlist.h. References QPtrCollection::del_item, and type. |
|
||||||||||
|
Definition at line 80 of file qptrlist.h. Referenced by QGPluginManager::library(), and LanguageSettings::reset(). |
|
||||||||||
|
Definition at line 81 of file qptrlist.h. |
|
||||||||||
|
Definition at line 83 of file qptrlist.h. |
|
||||||||||
|
Definition at line 82 of file qptrlist.h. Referenced by OJanusWidget::activePageIndex(), OJanusWidget::pageIndex(), OJanusWidget::removePage(), and OJanusWidget::showPage(). |
|
|||||||||
|
|||||||||
|
Definition at line 92 of file qptrlist.h. |
|
|||||||||
|
Definition at line 93 of file qptrlist.h. |
|
||||||||||||||||
|
Definition at line 64 of file qptrlist.h. Referenced by Qt3::QTextCommandHistory::addCommand(), and QCList::insert(). |
|
||||||||||
|
Definition at line 65 of file qptrlist.h. |
|
|||||||||
|
Definition at line 63 of file qptrlist.h. Referenced by KALedMeter::drawContents(), Referee::fillMapName(), Qt3::QTextFlow::isEmpty(), KAsteroidsView::processPowerups(), and Win32MakefileGenerator::writeSubDirs(). |
|
|||||||||
|
Returns the last list item. Sets this to current. Reimplemented from QGList. Reimplemented in QCList. Definition at line 95 of file qptrlist.h. Referenced by Qt3::QTextDocument::focusNextPrevChild(), and QCList::last(). |
|
|||||||||
|
||||||||||
|
Definition at line 60 of file qptrlist.h. |
|
||||||||||
|
Definition at line 56 of file qptrlist.h. Referenced by QGDItList::operator=(), and QStrList::operator=(). |
|
||||||||||
|
Definition at line 58 of file qptrlist.h. |
|
||||||||||
|
Definition at line 66 of file qptrlist.h. Referenced by Konsole::init(). |
|
|||||||||
|
Returns the previous list item (before current). Sets this to current. Reimplemented from QGList. Reimplemented in QCList. Definition at line 97 of file qptrlist.h. Referenced by Qt3::QTextDocument::focusNextPrevChild(), and QCList::prev(). |
|
||||||||||
|
Definition at line 70 of file qptrlist.h. |
|
|||||||||
|
Definition at line 69 of file qptrlist.h. |
|
||||||||||
|
Definition at line 68 of file qptrlist.h. Referenced by ProcessManager::remove(). |
|
|||||||||
|
Removes the first item in the list. Reimplemented from QGList. Reimplemented in QCList. Definition at line 73 of file qptrlist.h. Referenced by Qt3::QTextCommandHistory::addCommand(), and QCList::removeFirst(). |
|
|||||||||
|
Removes the last item in the list. Reimplemented from QGList. Reimplemented in QCList. Definition at line 74 of file qptrlist.h. Referenced by QCList::removeLast(). |
|
||||||||||
|
Removes the node n from the list. Reimplemented from QGList. Definition at line 72 of file qptrlist.h. |
|
||||||||||
|
||||||||||||||||
|
Definition at line 87 of file qptrlist.h. |
|
|||||||||
|
Sorts the list by the result of the virtual compareItems() function. The Heap-Sort algorithm is used for sorting. It sorts n items with O(n*log n) compares. This is the asymptotic optimal solution of the sorting problem. Reimplemented from QGList. Definition at line 79 of file qptrlist.h. |
|
|||||||||
|
Takes the current item out of the list. Reimplemented from QGList. Definition at line 76 of file qptrlist.h. |
|
||||||||||
|
Definition at line 75 of file qptrlist.h. Referenced by Qt3::QTextCommandHistory::addCommand(), and QGPluginManager::library(). |
|
||||||||||
|
Takes the node n out of the list. Reimplemented from QGList. Definition at line 77 of file qptrlist.h. |
|
||||||||||
|
Converts the list to a vector, vector. Reimplemented from QGList. Definition at line 98 of file qptrlist.h. |
1.4.2