summaryrefslogtreecommitdiffstats
path: root/doc/html/motif-walkthrough-8.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/html/motif-walkthrough-8.html')
-rw-r--r--doc/html/motif-walkthrough-8.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/html/motif-walkthrough-8.html b/doc/html/motif-walkthrough-8.html
index fbb387fad..687c519e6 100644
--- a/doc/html/motif-walkthrough-8.html
+++ b/doc/html/motif-walkthrough-8.html
@@ -69,7 +69,7 @@ application on all platforms supported by TQt.
<p> </ul>
<p> </ol>
<p> We will use the first approach to complete the migration of the
-example project used in this walkthrough, using <a href="ntqtextedit.html">TQTextEdit</a>, <a href="ntqlabel.html">TQLabel</a> and
+example project used in this walkthrough, using <a href="tqtextedit.html">TQTextEdit</a>, <a href="ntqlabel.html">TQLabel</a> and
<a href="ntqspinbox.html">TQSpinBox</a> to provide a similar look. The only difference is that we
will not have tabs.
<p> We use <a href="designer-manual.html">TQt Designer</a> to add the
@@ -125,7 +125,7 @@ number (with an indication that the page is invalid).
<p> The <tt>PageChange()</tt> function is moved from <tt>todo.cpp</tt> to the <tt>MainWindow::pageChange()</tt> function in <tt>mainwindow.ui.h</tt>. As with the
<tt>MainWindow::setPae()</tt> function, we need to modify the code to use
the new widgets in our <em>Main Window</em> widget.
-<p> Note: <a href="ntqtextedit.html#text">TQTextEdit::text</a>() returns a <a href="tqstring.html">TQString</a>, which needs to be converted
+<p> Note: <a href="tqtextedit.html#text">TQTextEdit::text</a>() returns a <a href="tqstring.html">TQString</a>, which needs to be converted
into a normal <tt>char*</tt> array. To do this we create a copy of the
string in the local encoding. We need to make the copy using <a href="ntqcstring.html#qstrdup">tqstrdup</a>() because the data contained in the <a href="ntqcstring.html">TQCString</a> returned by
<a href="tqstring.html#local8Bit">TQString::local8Bit</a>() is deallocated when the TQCString is destroyed.
@@ -141,7 +141,7 @@ renamed to <tt>MainWindow::readDB()</tt> and <tt>MainWindow::saveDB()</tt>,
respectively. We need to modify the code in order to make the code
work properly.
<p> First, We add <tt>#include</tt> statements for the <tt>MainWindow</tt>, <a href="ntqspinbox.html">TQSpinBox</a>
-and <a href="ntqtextedit.html">TQTextEdit</a> classes.
+and <a href="tqtextedit.html">TQTextEdit</a> classes.
<p>
<pre></pre><pre></pre>
@@ -160,7 +160,7 @@ values.
<p> <pre></pre>
<p> In the <tt>MainWindow::saveDB()</tt> function, we need to store the text
-currently displayed, so we use <a href="ntqtextedit.html#text">TQTextEdit::text</a>() instead of <tt>XmTextGetString()</tt>. Note: TQTextEdit::text() returns a <a href="tqstring.html">TQString</a>, which
+currently displayed, so we use <a href="tqtextedit.html#text">TQTextEdit::text</a>() instead of <tt>XmTextGetString()</tt>. Note: TQTextEdit::text() returns a <a href="tqstring.html">TQString</a>, which
needs to be converted into a normal <tt>char*</tt> array. To do this we
create a copy of the string in the local encoding. We need to make
the copy using <a href="ntqcstring.html#qstrdup">tqstrdup</a>() because the data contained in the <a href="ntqcstring.html">TQCString</a>