diff options
Diffstat (limited to 'qtinterface/tqlistiterator.cpp')
-rw-r--r-- | qtinterface/tqlistiterator.cpp | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/qtinterface/tqlistiterator.cpp b/qtinterface/tqlistiterator.cpp index 7edad7d..031d59e 100644 --- a/qtinterface/tqlistiterator.cpp +++ b/qtinterface/tqlistiterator.cpp @@ -24,25 +24,25 @@ Boston, MA 02110-1301, USA. #ifdef USE_QT4 -template <typename T> -TQListIterator<T>::TQListIterator(const QList<T> &t) { - index = 0; - list = t; -} - -template <typename T> -TQListIterator<T>::~TQListIterator() { - // -} - -template <typename T> -T TQListIterator<T>::current() { - if ((index >= 0) && (index < list->size())) { - return list->at(index); - } - else { - return 0; - } -} +// template <typename T> +// TQListIterator<T>::TQListIterator(const QList<T> &t) { +// index = 0; +// list = t; +// } +// +// template <typename T> +// TQListIterator<T>::~TQListIterator() { +// // +// } + +// template <typename T> +// T TQListIterator<T>::current() { +// if ((index >= 0) && (index < list->size())) { +// return list->at(index); +// } +// else { +// return 0; +// } +// } #endif // USE_QT4
\ No newline at end of file |