diff options
Diffstat (limited to 'qtinterface/interface_tqt3/tqlistiterator.h')
-rw-r--r-- | qtinterface/interface_tqt3/tqlistiterator.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/qtinterface/interface_tqt3/tqlistiterator.h b/qtinterface/interface_tqt3/tqlistiterator.h index c4a0e60..fbe7c9d 100644 --- a/qtinterface/interface_tqt3/tqlistiterator.h +++ b/qtinterface/interface_tqt3/tqlistiterator.h @@ -26,7 +26,7 @@ Boston, MA 02110-1301, USA. #ifdef USE_QT4 -// Implement the TQListIterator class +// Implement the TQPtrListIterator class // For Qt4, this is a combination of the QList::iterator and QMutableListIterator classes, // with the constructor from QMutableListIterator used primarily @@ -34,13 +34,13 @@ Boston, MA 02110-1301, USA. #include <Qt/ntqlist.h> template <typename T> -//class TQListIterator : public QList<T>::iterator -//class TQListIterator : public QMutableListIterator -class TQListIterator +//class TQPtrListIterator : public QList<T>::iterator +//class TQPtrListIterator : public QMutableListIterator +class TQPtrListIterator { public: - inline TQListIterator(const QList<T> &t) {index = 0; list = &t;} - inline ~TQListIterator() {} + inline TQPtrListIterator(const QList<T> &t) {index = 0; list = &t;} + inline ~TQPtrListIterator() {} inline T current() { if ((index >= 0) && (index < list->size())) { |