From fd565e9bad03fc401559959b8c3a5f8e3d819b2f Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Fri, 7 Jul 2023 17:05:34 +0900 Subject: Reintroduced porting documentation previously removed Signed-off-by: Michele Calgaro --- doc/html/porting.html | 15 +++++++++++++++ doc/porting3.doc | 17 +++++++++++++++++ 2 files changed, 32 insertions(+) (limited to 'doc') diff --git a/doc/html/porting.html b/doc/html/porting.html index 8f13fa2b5..e095549c0 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 01f8fb052..8d55bbe88 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 -- cgit v1.2.1