diff options
Diffstat (limited to 'doc/html/motif-walkthrough-10.html')
-rw-r--r-- | doc/html/motif-walkthrough-10.html | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/html/motif-walkthrough-10.html b/doc/html/motif-walkthrough-10.html index 35ab043c8..2644630e8 100644 --- a/doc/html/motif-walkthrough-10.html +++ b/doc/html/motif-walkthrough-10.html @@ -43,7 +43,7 @@ existing projects. <p> <h2> Using Unicode </h2> <a name="1"></a><p> Support for <a href="i18n.html">internationalization</a> is very easy -with TQt. Using <a href="qstring.html">TQString</a> instead of <tt>char*</tt> for storing text gives +with TQt. Using <a href="ntqstring.html">TQString</a> instead of <tt>char*</tt> for storing text gives us support for most of the written languages around the world. Our <tt>Page</tt> and <tt>Options</tt> structs look much simpler now. <p> @@ -51,12 +51,12 @@ us support for most of the written languages around the world. Our <tt>Page</tt <p> <pre></pre> <p> All functions that use the <tt>Page</tt> and <tt>Options</tt> structs need to be updated to use TQString properly. Since TQString is also an <a href="shclass.html#implicitly-shared">implicitly shared</a> class, we no longer have to do any memory management with our -strings. We can remove all occurences of the <a href="qcstring.html#qstrdup">qstrdup</a>() function, +strings. We can remove all occurences of the <a href="ntqcstring.html#qstrdup">qstrdup</a>() function, and we never need to use <em>new</em> or <em>delete</em> when done with a string. TQString will allocate and delete data when needed. <p> Here are the <tt>MainWindow::fileOpen()</tt> and <tt>MainWindow::pageChange()</tt> functions from <tt>mainwindow.ui.h</tt>. Notice that the code no longer -uses <em>delete</em> or <a href="qcstring.html#qstrdup">qstrdup</a>() when storing text. +uses <em>delete</em> or <a href="ntqcstring.html#qstrdup">qstrdup</a>() when storing text. <p> <p> <pre></pre> @@ -75,7 +75,7 @@ very similar to those shown above. <a name="2"></a><p> TQt provides many <a href="io.html">input and output</a> classes. We can use these in <tt>MainWindow::readDB()</tt> and <tt>MainWindow::saveDB()</tt>. Currently, these functions use functions only found on UNIX machines. -Using <a href="qfile.html">TQFile</a> and <a href="qtextstream.html">TQTextStream</a> removes this dependency on UNIX, and we can +Using <a href="ntqfile.html">TQFile</a> and <a href="ntqtextstream.html">TQTextStream</a> removes this dependency on UNIX, and we can begin building and testing our application on Microsoft Windows and Apple Mac OS X. <p> The platform-independent versions of the <tt>MainWindow::readDB()</tt> and @@ -84,7 +84,7 @@ Apple Mac OS X. </h2> <a name="3"></a><p> Since we used the <em>TQt Designer</em> to design the <em>Main Window</em> widget, we can extend the interface easily. We can use some of the -more advanced features of <a href="qmainwindow.html">TQMainWindow</a>, which includes dockable +more advanced features of <a href="ntqmainwindow.html">TQMainWindow</a>, which includes dockable toolbars. Adding these is simple with the <em>TQt Designer</em>. The final version of our project includes a toolbar, which provides tquick access to the <em>Open</em>, <em>Save</em>, <em>Print</em>, <em>New Page</em> and <em>Delete to Trash</em> actions. |