diff --git a/doc/html/porting.html b/doc/html/porting.html index 8f13fa2b..e095549c 100644 --- a/doc/html/porting.html +++ b/doc/html/porting.html @@ -395,6 +395,21 @@ You might have been relying on the non-portable and unpredictable behavior resulting from these directives. We strongly recommend that you either make use of the safe qstr* variants directly or ensure that no 0 pointer is passed to the standard C functions in your code base. +

Collection Class Renaming +

+

The classes TQArray, TQCollection, TQList, TQListIterator, TQQueue, TQStack +and TQVector have been renamed as per the following table. The original +names are no longer avaialable. +

+
Old Name New Name New Header File +
TQArray TQMemArray <ntqmemarray.h> +
TQCollection TQPtrCollection <ntqptrcollection.h> +
TQList TQPtrList <ntqptrlist.h> +
TQListIterator TQPtrListIterator <ntqptrlist.h> +
TQQueue TQPtrQueue <ntqptrqueue.h> +
TQStack TQPtrStack <ntqptrstack.h> +
TQVector TQPtrVector <ntqptrvector.h> +

TQButtonGroup

In TQt 2.x, the function TQButtonGroup::selected() returns the selected diff --git a/doc/porting3.doc b/doc/porting3.doc index 01f8fb05..8d55bbe8 100644 --- a/doc/porting3.doc +++ b/doc/porting3.doc @@ -355,6 +355,23 @@ resulting from these directives. We strongly recommend that you either make use of the safe qstr* variants directly or ensure that no 0 pointer is passed to the standard C functions in your code base. +\section1 Collection Class Renaming + +The classes QArray, QCollection, QList, QListIterator, QQueue, QStack +and QVector have been renamed as per the following table. The original +names are no longer avaialable. + +\table +\header \i Old Name \i New Name \i New Header File +\row \i QArray \i \l QMemArray \i \c +\row \i QCollection \i \l QPtrCollection \i \c +\row \i QList \i \l QPtrList \i \c +\row \i QListIterator \i \l QPtrListIterator \i \c +\row \i QQueue \i \l QPtrQueue \i \c +\row \i QStack \i \l QPtrStack \i \c +\row \i QVector \i \l QPtrVector \i \c +\endtable + \section1 QButtonGroup In TQt 2.x, the function QButtonGroup::selected() returns the selected