diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-07-07 17:05:34 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-07-07 18:33:18 +0900 |
commit | fd565e9bad03fc401559959b8c3a5f8e3d819b2f (patch) | |
tree | 8804166da8a3147b259290b784e537c75bd3b334 | |
parent | 7c116f3bf7ce2c552af7dd8709ee6e726844ef20 (diff) | |
download | tqt3-fd565e9bad03fc401559959b8c3a5f8e3d819b2f.tar.gz tqt3-fd565e9bad03fc401559959b8c3a5f8e3d819b2f.zip |
Reintroduced porting documentation previously removed
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
-rw-r--r-- | doc/html/porting.html | 15 | ||||
-rw-r--r-- | doc/porting3.doc | 17 |
2 files changed, 32 insertions, 0 deletions
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. +<p> <h2> Collection Class Renaming +</h2> +<a name="6"></a><p> 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. +<p> <center><table cellpadding="4" cellspacing="2" border="0"> +<tr bgcolor="#a2c511"> <th valign="top">Old Name <th valign="top">New Name <th valign="top">New Header File +<tr bgcolor="#f0f0f0"> <td valign="top">TQArray <td valign="top"><a href="ntqmemarray.html">TQMemArray</a> <td valign="top"><tt><ntqmemarray.h></tt> +<tr bgcolor="#d0d0d0"> <td valign="top">TQCollection <td valign="top"><a href="ntqptrcollection.html">TQPtrCollection</a> <td valign="top"><tt><ntqptrcollection.h></tt> +<tr bgcolor="#f0f0f0"> <td valign="top">TQList <td valign="top"><a href="ntqptrlist.html">TQPtrList</a> <td valign="top"><tt><ntqptrlist.h></tt> +<tr bgcolor="#d0d0d0"> <td valign="top">TQListIterator <td valign="top"><a href="qptrlistiterator.html">TQPtrListIterator</a> <td valign="top"><tt><ntqptrlist.h></tt> +<tr bgcolor="#f0f0f0"> <td valign="top">TQQueue <td valign="top"><a href="ntqptrqueue.html">TQPtrQueue</a> <td valign="top"><tt><ntqptrqueue.h></tt> +<tr bgcolor="#d0d0d0"> <td valign="top">TQStack <td valign="top"><a href="ntqptrstack.html">TQPtrStack</a> <td valign="top"><tt><ntqptrstack.h></tt> +<tr bgcolor="#f0f0f0"> <td valign="top">TQVector <td valign="top"><a href="ntqptrvector.html">TQPtrVector</a> <td valign="top"><tt><ntqptrvector.h></tt> +</table></center> <p> <h2> <a href="ntqbuttongroup.html">TQButtonGroup</a> </h2> <a name="7"></a><p> In TQt 2.x, the function <a href="ntqbuttongroup.html#selected">TQButtonGroup::selected</a>() 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 <ntqmemarray.h> +\row \i QCollection \i \l QPtrCollection \i \c <ntqptrcollection.h> +\row \i QList \i \l QPtrList \i \c <ntqptrlist.h> +\row \i QListIterator \i \l QPtrListIterator \i \c <ntqptrlist.h> +\row \i QQueue \i \l QPtrQueue \i \c <ntqptrqueue.h> +\row \i QStack \i \l QPtrStack \i \c <ntqptrstack.h> +\row \i QVector \i \l QPtrVector \i \c <ntqptrvector.h> +\endtable + \section1 QButtonGroup In TQt 2.x, the function QButtonGroup::selected() returns the selected |