summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-07-07 17:05:34 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-07-07 18:33:18 +0900
commitfd565e9bad03fc401559959b8c3a5f8e3d819b2f (patch)
tree8804166da8a3147b259290b784e537c75bd3b334 /doc
parent7c116f3bf7ce2c552af7dd8709ee6e726844ef20 (diff)
downloadtqt3-fd565e9bad03fc401559959b8c3a5f8e3d819b2f.tar.gz
tqt3-fd565e9bad03fc401559959b8c3a5f8e3d819b2f.zip
Reintroduced porting documentation previously removed
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'doc')
-rw-r--r--doc/html/porting.html15
-rw-r--r--doc/porting3.doc17
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>&lt;ntqmemarray.h&gt;</tt>
+<tr bgcolor="#d0d0d0"> <td valign="top">TQCollection <td valign="top"><a href="ntqptrcollection.html">TQPtrCollection</a> <td valign="top"><tt>&lt;ntqptrcollection.h&gt;</tt>
+<tr bgcolor="#f0f0f0"> <td valign="top">TQList <td valign="top"><a href="ntqptrlist.html">TQPtrList</a> <td valign="top"><tt>&lt;ntqptrlist.h&gt;</tt>
+<tr bgcolor="#d0d0d0"> <td valign="top">TQListIterator <td valign="top"><a href="qptrlistiterator.html">TQPtrListIterator</a> <td valign="top"><tt>&lt;ntqptrlist.h&gt;</tt>
+<tr bgcolor="#f0f0f0"> <td valign="top">TQQueue <td valign="top"><a href="ntqptrqueue.html">TQPtrQueue</a> <td valign="top"><tt>&lt;ntqptrqueue.h&gt;</tt>
+<tr bgcolor="#d0d0d0"> <td valign="top">TQStack <td valign="top"><a href="ntqptrstack.html">TQPtrStack</a> <td valign="top"><tt>&lt;ntqptrstack.h&gt;</tt>
+<tr bgcolor="#f0f0f0"> <td valign="top">TQVector <td valign="top"><a href="ntqptrvector.html">TQPtrVector</a> <td valign="top"><tt>&lt;ntqptrvector.h&gt;</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