#include <q3valuelist.h>
Inheritance diagram for Q3ValueList< T >:


Definition at line 67 of file q3valuelist.h.
| typedef T Q3ValueList< T >::value_type |
Typedef for T. Provided for STL compatibility.
Reimplemented from QLinkedList< T >.
Definition at line 70 of file q3valuelist.h.
| typedef value_type* Q3ValueList< T >::pointer |
Typedef for T *. Provided for STL compatibility.
Reimplemented from QLinkedList< T >.
Definition at line 71 of file q3valuelist.h.
| typedef const value_type* Q3ValueList< T >::const_pointer |
Typedef for const T *. Provided for STL compatibility.
Reimplemented from QLinkedList< T >.
Definition at line 72 of file q3valuelist.h.
| typedef value_type& Q3ValueList< T >::reference |
Typedef for T &. Provided for STL compatibility.
Reimplemented from QLinkedList< T >.
Definition at line 73 of file q3valuelist.h.
| typedef const value_type& Q3ValueList< T >::const_reference |
Typedef for const T &. Provided for STL compatibility.
Reimplemented from QLinkedList< T >.
Definition at line 74 of file q3valuelist.h.
| typedef ptrdiff_t Q3ValueList< T >::difference_type |
Typedef for ptrdiff_t. Provided for STL compatibility.
Reimplemented from QLinkedList< T >.
Definition at line 76 of file q3valuelist.h.
| typedef Q3ValueListIterator<T> Q3ValueList< T >::Iterator |
Qt-style synonym for QList::iterator.
Reimplemented from QLinkedList< T >.
Definition at line 81 of file q3valuelist.h.
| typedef Q3ValueListConstIterator<T> Q3ValueList< T >::ConstIterator |
Qt-style synonym for QList::const_iterator.
Reimplemented from QLinkedList< T >.
Definition at line 82 of file q3valuelist.h.
| typedef Q3ValueListIterator<T> Q3ValueList< T >::iterator |
| typedef Q3ValueListConstIterator<T> Q3ValueList< T >::const_iterator |
| typedef QLinkedList<T>::size_type Q3ValueList< T >::size_type |
Typedef for int. Provided for STL compatibility.
Reimplemented from QLinkedList< T >.
Definition at line 85 of file q3valuelist.h.
| Q3ValueList< T >::Q3ValueList | ( | ) | [inline] |
| Q3ValueList< T >::Q3ValueList | ( | const Q3ValueList< T > & | l | ) | [inline] |
| Q3ValueList< T >::Q3ValueList | ( | const QLinkedList< T > & | l | ) | [inline] |
| Q3ValueList< T >::Q3ValueList | ( | const QList< T > & | l | ) | [inline] |
| Q3ValueList< T >::Q3ValueList | ( | const std::list< T > & | l | ) | [inline] |
| Q3ValueList< T >::~Q3ValueList | ( | ) | [inline] |
| Q3ValueList<T>& Q3ValueList< T >::operator= | ( | const Q3ValueList< T > & | l | ) | [inline] |
Definition at line 105 of file q3valuelist.h.
00106 { 00107 QLinkedList<T>::operator=(l); 00108 return *this; 00109 }
| Q3ValueList<T>& Q3ValueList< T >::operator= | ( | const QList< T > & | l | ) | [inline] |
| Q3ValueList<T>& Q3ValueList< T >::operator= | ( | const std::list< T > & | l | ) | [inline] |
| bool Q3ValueList< T >::operator== | ( | const std::list< T > & | l | ) | const [inline] |
Definition at line 123 of file q3valuelist.h.
00124 { 00125 if (this->size() != l.size()) 00126 return false; 00127 typename Q3ValueList<T>::const_iterator it2 = this->begin(); 00128 #if !defined(Q_CC_MIPS) 00129 typename 00130 #endif 00131 std::list<T>::const_iterator it = l.begin(); 00132 for (; it2 != this->end(); ++it2, ++it) 00133 if (!((*it2) == (*it))) 00134 return false; 00135 return true; 00136 }
| bool Q3ValueList< T >::operator== | ( | const Q3ValueList< T > & | l | ) | const [inline] |
| bool Q3ValueList< T >::operator!= | ( | const Q3ValueList< T > & | l | ) | const [inline] |
| Q3ValueList< T >::operator QList | ( | ) | const [inline] |
Definition at line 141 of file q3valuelist.h.
00141 { 00142 QList<T> list; 00143 for (typename Q3ValueList<T>::const_iterator it = QLinkedList<T>::constBegin(); 00144 it != QLinkedList<T>::constEnd(); ++it) 00145 list.append(*it); 00146 return list; 00147 }
| Q3ValueList<T>& Q3ValueList< T >::operator<< | ( | const T & | x | ) | [inline] |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Appends value to the list.
Reimplemented from QLinkedList< T >.
Definition at line 149 of file q3valuelist.h.
| Q_OUTOFLINE_TEMPLATE void Q3ValueList< T >::insert | ( | typename Q3ValueList< T >::Iterator | pos, | |
| typename Q3ValueList< T >::size_type | n, | |||
| const T & | x | |||
| ) |
| Q3ValueList<T>::Iterator Q3ValueList< T >::insert | ( | typename Q3ValueList< T >::Iterator | pos, | |
| const T & | x | |||
| ) | [inline] |
| Q3ValueList<T>::Iterator Q3ValueList< T >::remove | ( | typename Q3ValueList< T >::Iterator | pos | ) | [inline] |
Definition at line 158 of file q3valuelist.h.
Referenced by Q3GListIteratorList::remove(), Q3CanvasChunk::remove(), Q3DataTable::removeColumn(), and Q3Socket::tryConnecting().
00159 { return QLinkedList<T>::erase(pos); }
| int Q3ValueList< T >::remove | ( | const T & | value | ) | [inline] |
| Q3ValueList<T> Q3ValueList< T >::operator+ | ( | const Q3ValueList< T > & | l | ) | const [inline] |
Definition at line 163 of file q3valuelist.h.
00164 { return static_cast<Q3ValueList<T> >(QLinkedList<T>::operator+(l)); }
| Q3ValueList<T>& Q3ValueList< T >::operator+= | ( | const Q3ValueList< T > & | l | ) | [inline] |
| Q3ValueList<T>::Iterator Q3ValueList< T >::fromLast | ( | ) | [inline] |
| Q3ValueList<T>::ConstIterator Q3ValueList< T >::fromLast | ( | ) | const [inline] |
| Q3ValueList<T>::Iterator Q3ValueList< T >::append | ( | const T & | x | ) | [inline] |
Inserts value at the end of the list.
Example:
QLinkedList<QString> list; list.append("one"); list.append("two"); list.append("three"); // list: ["one", "two", "three"]
This is the same as list.insert(end(), value).
Reimplemented from QLinkedList< T >.
Definition at line 173 of file q3valuelist.h.
Referenced by Q3Canvas::collisions(), Q3CanvasItemList::operator+(), Q3ValueList< bool >::operator+=(), Q3ValueList< bool >::operator<<(), Q3ValueList< bool >::operator=(), and Q3ValueList< bool >::Q3ValueList().
00174 { QLinkedList<T>::append(x); return --this->end(); }
| Q3ValueList<T>::Iterator Q3ValueList< T >::prepend | ( | const T & | x | ) | [inline] |
Inserts value at the beginning of the list.
Example:
QLinkedList<QString> list; list.prepend("one"); list.prepend("two"); list.prepend("three"); // list: ["three", "two", "one"]
This is the same as list.insert(begin(), value).
Reimplemented from QLinkedList< T >.
Definition at line 175 of file q3valuelist.h.
Referenced by Q3CanvasChunk::add(), and Q3Canvas::allItems().
00176 { QLinkedList<T>::prepend(x); return this->begin(); }
| Q3ValueList<T>::Iterator Q3ValueList< T >::at | ( | typename Q3ValueList< T >::size_type | i | ) | [inline] |
Definition at line 178 of file q3valuelist.h.
Referenced by Q3ValueList< bool >::operator[](), Q3DataTable::removeColumn(), and Q3DataTable::setColumnWidth().
| Q3ValueList<T>::ConstIterator Q3ValueList< T >::at | ( | typename Q3ValueList< T >::size_type | i | ) | const [inline] |
| Q3ValueList<T>::size_type Q3ValueList< T >::contains | ( | const T & | x | ) | const [inline] |
Returns true if the list contains an occurrence of value; otherwise returns false.
This function requires the value type to have an implementation of operator==().
Reimplemented from QLinkedList< T >.
Definition at line 182 of file q3valuelist.h.
00183 { return QLinkedList<T>::count(x); }
| Q3ValueList<T>& Q3ValueList< T >::operator+= | ( | const T & | x | ) | [inline] |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Appends value to the list.
Reimplemented from QLinkedList< T >.
Definition at line 185 of file q3valuelist.h.
| T& Q3ValueList< T >::operator[] | ( | typename Q3ValueList< T >::size_type | i | ) | [inline] |
| const T& Q3ValueList< T >::operator[] | ( | typename Q3ValueList< T >::size_type | i | ) | const [inline] |
1.5.1