diff options
author | Darrell Anderson <humanreadable@yahoo.com> | 2012-11-27 20:55:12 -0600 |
---|---|---|
committer | Darrell Anderson <humanreadable@yahoo.com> | 2012-11-27 20:55:12 -0600 |
commit | 992df30f3c50b5439c2b5f8621ab6e928d9346eb (patch) | |
tree | acdd3b48b9f30eeda4f94092172ffb3042fca766 /doc/html/motif-walkthrough-8.html | |
parent | 74ce99a42a0dc9d9a168156a2f5d146edb9bb555 (diff) | |
parent | 84f70969d95344d402d6f6152a6373469a3718ca (diff) | |
download | tqt3-992df30f3c50b5439c2b5f8621ab6e928d9346eb.tar.gz tqt3-992df30f3c50b5439c2b5f8621ab6e928d9346eb.zip |
Merge branch 'master' of http://scm.trinitydesktop.org/scm/git/tqt3
Diffstat (limited to 'doc/html/motif-walkthrough-8.html')
-rw-r--r-- | doc/html/motif-walkthrough-8.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/html/motif-walkthrough-8.html b/doc/html/motif-walkthrough-8.html index d0a2c5720..1202ffdd2 100644 --- a/doc/html/motif-walkthrough-8.html +++ b/doc/html/motif-walkthrough-8.html @@ -127,7 +127,7 @@ number (with an indication that the page is invalid). the new widgets in our <em>Main Window</em> widget. <p> Note: <a href="ntqtextedit.html#text">TQTextEdit::text</a>() returns a <a href="ntqstring.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">qstrdup</a>() because the data contained in the <a href="ntqcstring.html">TQCString</a> returned by +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="ntqstring.html#local8Bit">TQString::local8Bit</a>() is deallocated when the TQCString is destroyed. <p> <pre></pre> <p> The <tt>TextChanged()</tt> function does nothing more than set the <tt>modified</tt> variable to 1. Our new <tt>MainWindow::textChanged()</tt> function @@ -163,7 +163,7 @@ values. 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="ntqstring.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">qstrdup</a>() because the data contained in the <a href="ntqcstring.html">TQCString</a> +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="ntqstring.html#local8Bit">TQString::local8Bit</a>() is deallocated when the TQCString is destroyed. <p> <pre></pre> |