// file : odb/qt/containers/list-iterator.hxx // copyright : Copyright (c) 2005-2013 Code Synthesis Tools CC // license : GNU GPL v2; see accompanying LICENSE file #ifndef ODB_QT_CONTAINERS_LIST_ITERATOR_HXX #define ODB_QT_CONTAINERS_LIST_ITERATOR_HXX #include #include #include // Java-style QListIterator-like iterator. You can also use the // QListIterator directly (but not QMutableListIterator). // template class QOdbListIterator: public QListIterator { public: QOdbListIterator (const QOdbList& c): QListIterator (c) {} QOdbListIterator& operator=(const QOdbList& c) { static_cast&> (*this) = c; return *this; } }; #include #endif // ODB_QT_CONTAINERS_LIST_ITERATOR_HXX