diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-11-25 14:05:14 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-11-25 14:05:14 -0600 |
commit | bd87b2af9dde0633e56a792665cdec7a9675da95 (patch) | |
tree | 372fc8bc287d9712646388e9543b291a30b9cbd6 /doc/html/motif-walkthrough-10.html | |
parent | c5e69959c9eeb6a1396f1a60d7cf4f9781a2d47c (diff) | |
download | tqt3-bd87b2af9dde0633e56a792665cdec7a9675da95.tar.gz tqt3-bd87b2af9dde0633e56a792665cdec7a9675da95.zip |
Automated update from Qt3
Diffstat (limited to 'doc/html/motif-walkthrough-10.html')
-rw-r--r-- | doc/html/motif-walkthrough-10.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/html/motif-walkthrough-10.html b/doc/html/motif-walkthrough-10.html index 2644630e8..b5e64017b 100644 --- a/doc/html/motif-walkthrough-10.html +++ b/doc/html/motif-walkthrough-10.html @@ -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="ntqcstring.html#qstrdup">qstrdup</a>() function, +strings. We can remove all occurences of the <a href="ntqcstring.html#qstrdup">tqstrdup</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="ntqcstring.html#qstrdup">qstrdup</a>() when storing text. +uses <em>delete</em> or <a href="ntqcstring.html#qstrdup">tqstrdup</a>() when storing text. <p> <p> <pre></pre> |