summaryrefslogtreecommitdiffstats
path: root/doc/html/porting.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/html/porting.html')
-rw-r--r--doc/html/porting.html48
1 files changed, 24 insertions, 24 deletions
diff --git a/doc/html/porting.html b/doc/html/porting.html
index 62bede808..a85e5dd49 100644
--- a/doc/html/porting.html
+++ b/doc/html/porting.html
@@ -174,7 +174,7 @@ the top of the file giving the error.
<li> <tt>&lt;ntqpainter.h&gt;</tt>
<li> <tt>&lt;ntqpen.h&gt;</tt>
<li> <tt>&lt;tqstringlist.h&gt;</tt>
-<li> <tt>&lt;ntqregexp.h&gt;</tt>
+<li> <tt>&lt;tqregexp.h&gt;</tt>
<li> <tt>&lt;tqstrlist.h&gt;</tt>
<li> <tt>&lt;tqstyle.h&gt;</tt>
<li> <tt>&lt;tqvaluelist.h&gt;</tt>
@@ -361,7 +361,7 @@ new code.
<li> <a href="ntqmessagebox.html#message">TQMessageBox::message</a>( const <a href="tqstring.html">TQString</a> &amp; caption, const TQString &amp; text, const TQString &amp; buttonText = <a href="tqstring.html#TQString-null">TQString::null</a>, <a href="tqwidget.html">TQWidget</a> *parent = 0, const char *= 0 )
<li> <a href="ntqmessagebox.html#query">TQMessageBox::query</a>( const TQString &amp; caption, const TQString &amp; text, const TQString &amp; yesButtonText = TQString::null, const TQString &amp; noButtonText = TQString::null, TQWidget *parent = 0, const char *= 0 )
<li> <a href="ntqmessagebox.html#standardIcon">TQMessageBox::standardIcon</a>( Icon icon, GUIStyle style )
-<li> <a href="ntqregexp.html#match">TQRegExp::match</a>( const TQString &amp; str, int index = 0, int *len = 0, bool indexIsStart = TRUE ) const
+<li> <a href="tqregexp.html#match">TQRegExp::match</a>( const TQString &amp; str, int index = 0, int *len = 0, bool indexIsStart = TRUE ) const
<li> <a href="ntqscrollview.html#childIsVisible">TQScrollView::childIsVisible</a>( TQWidget *child )
<li> <a href="ntqscrollview.html#showChild">TQScrollView::showChild</a>( TQWidget *child, bool show = TRUE )
<li> <a href="ntqsimplerichtext.html#draw">TQSimpleRichText::draw</a>( <a href="ntqpainter.html">TQPainter</a> *p, int x, int y, const <a href="ntqregion.html">TQRegion</a> &amp; clipRegion, const <a href="qcolorgroup.html">TQColorGroup</a> &amp; cg, const <a href="ntqbrush.html">TQBrush</a> *paper = 0 ) const
@@ -416,7 +416,7 @@ 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="#f0f0f0"> <td valign="top">TQArray <td valign="top"><a href="tqmemarray.html">TQMemArray</a> <td valign="top"><tt>&lt;tqmemarray.h&gt;</tt>
<tr bgcolor="#d0d0d0"> <td valign="top">TQCollection <td valign="top"><a href="tqptrcollection.html">TQPtrCollection</a> <td valign="top"><tt>&lt;tqptrcollection.h&gt;</tt>
<tr bgcolor="#f0f0f0"> <td valign="top">TQList <td valign="top"><a href="tqptrlist.html">TQPtrList</a> <td valign="top"><tt>&lt;tqptrlist.h&gt;</tt>
<tr bgcolor="#d0d0d0"> <td valign="top">TQListIterator <td valign="top"><a href="tqptrlistiterator.html">TQPtrListIterator</a> <td valign="top"><tt>&lt;tqptrlist.h&gt;</tt>
@@ -528,12 +528,12 @@ TQPrinter::Compatible flag to the TQPrinter constructor.
<p> On X11, TQPrinter used to generate encapsulated postscript when
fullPage() was TRUE and only one page was printed. This does not
happen by default anymore, providing a more consistent printing output.
-<p> <h2> <a href="ntqregexp.html">TQRegExp</a>
+<p> <h2> <a href="tqregexp.html">TQRegExp</a>
</h2>
-<a name="17"></a><p> The <a href="ntqregexp.html">TQRegExp</a> class has been rewritten to support many of the features of Perl
-regular expressions. Both the <a href="ntqregexp.html#regular-expression">regular expression</a> syntax and the TQRegExp
+<a name="17"></a><p> The <a href="tqregexp.html">TQRegExp</a> class has been rewritten to support many of the features of Perl
+regular expressions. Both the <a href="tqregexp.html#regular-expression">regular expression</a> syntax and the TQRegExp
interface have been modified.
-<p> Be also aware that <tt>&lt;ntqregexp.h&gt;</tt> is no longer included
+<p> Be also aware that <tt>&lt;tqregexp.h&gt;</tt> is no longer included
automatically when you include <tt>&lt;tqstringlist.h&gt;</tt>. See
<a href="#Headers">above</a> for details.
<p>
@@ -546,40 +546,40 @@ of these (actually, <tt>&#92;&#92;</tt> in C++ strings), unless it is already
there.
<p> Example: Old code like
<pre>
- <a href="ntqregexp.html">TQRegExp</a> rx( "([0-9|]*\\)" ); // works in TQt 2.x
+ <a href="tqregexp.html">TQRegExp</a> rx( "([0-9|]*\\)" ); // works in TQt 2.x
</pre>
should be converted into
<pre>
- <a href="ntqregexp.html">TQRegExp</a> rx( "\\([0-9\\|]*\\)" ); // works in TQt 2.x and 3.x
+ <a href="tqregexp.html">TQRegExp</a> rx( "\\([0-9\\|]*\\)" ); // works in TQt 2.x and 3.x
</pre>
(Within character classes, the backslash is not necessary in front of certain
characters, e.g. <tt>|</tt>, but it doesn't hurt.)
<p> Wildcard patterns need no conversion. Here are two examples:
<pre>
- <a href="ntqregexp.html">TQRegExp</a> wild( "(*.*)" );
- wild.<a href="ntqregexp.html#setWildcard">setWildcard</a>( TRUE );
+ <a href="tqregexp.html">TQRegExp</a> wild( "(*.*)" );
+ wild.<a href="tqregexp.html#setWildcard">setWildcard</a>( TRUE );
</pre>
<pre>
// TRUE as third argument means wildcard
- <a href="ntqregexp.html">TQRegExp</a> wild( "(*.*)", FALSE, TRUE );
+ <a href="tqregexp.html">TQRegExp</a> wild( "(*.*)", FALSE, TRUE );
</pre>
-However, when they are used, make sure to use <a href="ntqregexp.html#exactMatch">TQRegExp::exactMatch</a>()
-rather than the obsolete <a href="ntqregexp.html#match">TQRegExp::match</a>(). TQRegExp::match(), like
+However, when they are used, make sure to use <a href="tqregexp.html#exactMatch">TQRegExp::exactMatch</a>()
+rather than the obsolete <a href="tqregexp.html#match">TQRegExp::match</a>(). TQRegExp::match(), like
TQRegExp::find(), tries to find a match somewhere in the target
string, while TQRegExp::exactMatch() tries to match the whole target
string.
-<p> <h3> <a href="ntqregexp.html#operator-eq">TQRegExp::operator=</a>()
+<p> <h3> <a href="tqregexp.html#operator-eq">TQRegExp::operator=</a>()
</h3>
-<a name="17-2"></a><p> This function has been replaced by <a href="ntqregexp.html#setPattern">TQRegExp::setPattern</a>() in TQt 2.2.
+<a name="17-2"></a><p> This function has been replaced by <a href="tqregexp.html#setPattern">TQRegExp::setPattern</a>() in TQt 2.2.
Old code such as
<pre>
- <a href="ntqregexp.html">TQRegExp</a> rx( "alpha" );
- rx.<a href="ntqregexp.html#setCaseSensitive">setCaseSensitive</a>( FALSE );
- rx.<a href="ntqregexp.html#setWildcard">setWildcard</a>( TRUE );
+ <a href="tqregexp.html">TQRegExp</a> rx( "alpha" );
+ rx.<a href="tqregexp.html#setCaseSensitive">setCaseSensitive</a>( FALSE );
+ rx.<a href="tqregexp.html#setWildcard">setWildcard</a>( TRUE );
rx = "beta";
</pre>
@@ -600,14 +600,14 @@ which is what one expects.
<a name="17-3"></a><p> The following function is now obsolete, as it has an unwieldy
parameter list and was poorly named:
<ul>
-<li> bool <a href="ntqregexp.html#match">TQRegExp::match</a>( const <a href="tqstring.html">TQString</a> &amp; str, int index = 0,
+<li> bool <a href="tqregexp.html#match">TQRegExp::match</a>( const <a href="tqstring.html">TQString</a> &amp; str, int index = 0,
int * len = 0, bool indexIsStart = TRUE ) const
</ul>
-It will be removed in a future version of TQt. Its <a href="ntqregexp.html#match">documentation</a> explains how to replace it.
+It will be removed in a future version of TQt. Its <a href="tqregexp.html#match">documentation</a> explains how to replace it.
<p> <h3> TQRegExp::find()
</h3>
<a name="17-4"></a><p> This function was removed, after a brief appearance in TQt 2.2. Its
-name clashed with <a href="tqstring.html#find">TQString::find</a>(). Use <a href="ntqregexp.html#search">TQRegExp::search</a>() or <a href="tqstring.html#find">TQString::find</a>() instead.
+name clashed with <a href="tqstring.html#find">TQString::find</a>(). Use <a href="tqregexp.html#search">TQRegExp::search</a>() or <a href="tqstring.html#find">TQString::find</a>() instead.
<p> <h3> <a href="tqstring.html#findRev">TQString::findRev</a>() and <a href="tqstring.html#contains">TQString::contains</a>()
</h3>
<a name="17-5"></a><p> <a href="tqstring.html#findRev">TQString::findRev</a>()'s and <a href="tqstring.html#contains">TQString::contains</a>()'s semantics have changed
@@ -627,7 +627,7 @@ returns 1, not 13 or 14.
<p> This change affect very few existing programs.
<p> <h3> <a href="tqstring.html#replace">TQString::replace</a>()
</h3>
-<a name="17-6"></a><p> With TQt 1.0 and 2.0, a <a href="tqstring.html">TQString</a> is converted implicitly into a <a href="ntqregexp.html">TQRegExp</a>
+<a name="17-6"></a><p> With TQt 1.0 and 2.0, a <a href="tqstring.html">TQString</a> is converted implicitly into a <a href="tqregexp.html">TQRegExp</a>
as the first argument to TQString::replace():
<pre>
<a href="tqstring.html">TQString</a> text = fetch_it_from_somewhere();
@@ -649,7 +649,7 @@ without breaking source compatibility.
modal dialog instead.
<p> <h2> TQSortedList
</h2>
-<a name="19"></a><p> The TQSortedList class is now obsolete. Consider using a <a href="ntqdict.html">TQDict</a>, a <a href="tqmap.html">TQMap</a>
+<a name="19"></a><p> The TQSortedList class is now obsolete. Consider using a <a href="tqdict.html">TQDict</a>, a <a href="tqmap.html">TQMap</a>
or a plain <a href="tqptrlist.html">TQPtrList</a> instead.
<p> <h2> TQTableView
</h2>