diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-01-26 23:32:43 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-01-26 23:32:43 -0600 |
commit | ea318d1431c89e647598c510c4245c6571aa5f46 (patch) | |
tree | 996d29b80c30d453dda86d1a23162d441628f169 /doc/html/extension-dialog-example.html | |
parent | aaf89d4b48f69c9293feb187db26362e550b5561 (diff) | |
download | tqt3-ea318d1431c89e647598c510c4245c6571aa5f46.tar.gz tqt3-ea318d1431c89e647598c510c4245c6571aa5f46.zip |
Update to latest tqt3 automated conversion
Diffstat (limited to 'doc/html/extension-dialog-example.html')
-rw-r--r-- | doc/html/extension-dialog-example.html | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/doc/html/extension-dialog-example.html b/doc/html/extension-dialog-example.html index 281905abf..074b091ce 100644 --- a/doc/html/extension-dialog-example.html +++ b/doc/html/extension-dialog-example.html @@ -36,7 +36,7 @@ body { background: #ffffff; color: black; } <p> <p> This example demonstrates how to create an extension dialog. <p> Essentially all that is necessary is to create a standard dialog -and then create a <a href="qwidget.html">TQWidget</a> form to be used as the extension. See +and then create a <a href="ntqwidget.html">TQWidget</a> form to be used as the extension. See the article in <a href="http://doc.trolltech.com/qq/">TQt Quarterly</a> issue #3. <p> <hr> @@ -67,15 +67,15 @@ DBFILE = extension.db *****************************************************************************/ #include "dialogform.h" #include "extension.h" -#include <<a href="qapplication-h.html">qapplication.h</a>> -#include <<a href="qcheckbox-h.html">qcheckbox.h</a>> -#include <<a href="qlineedit-h.html">qlineedit.h</a>> +#include <<a href="qapplication-h.html">ntqapplication.h</a>> +#include <<a href="qcheckbox-h.html">ntqcheckbox.h</a>> +#include <<a href="qlineedit-h.html">ntqlineedit.h</a>> void MainForm::init() { sessions = FALSE; logging = FALSE; - log_filename = <a href="qstring.html#TQString-null">TQString::null</a>; + log_filename = <a href="ntqstring.html#TQString-null">TQString::null</a>; log_errors = TRUE; log_actions = TRUE; } @@ -102,7 +102,7 @@ void MainForm::optionsDlg() void MainForm::quit() { -<a name="x2865"></a> TQApplication::<a href="qapplication.html#exit">exit</a>( 0 ); +<a name="x2865"></a> TQApplication::<a href="ntqapplication.html#exit">exit</a>( 0 ); } </pre> @@ -126,7 +126,7 @@ void DialogForm::toggleDetails() { extensionShown = !extensionShown; showExtension( extensionShown ); - <a href="qstring.html">TQString</a> text = tr( "&Details " ); + <a href="ntqstring.html">TQString</a> text = tr( "&Details " ); text += TQString( extensionShown ? "<<<" : ">>>" ); detailsPushButton->setText( text ); } @@ -143,16 +143,16 @@ void DialogForm::toggleDetails() <p> <hr> <p> Main: -<p> <pre>#include <<a href="qapplication-h.html">qapplication.h</a>> +<p> <pre>#include <<a href="qapplication-h.html">ntqapplication.h</a>> #include "mainform.h" int main( int argc, char ** argv ) { - <a href="qapplication.html">TQApplication</a> a( argc, argv ); + <a href="ntqapplication.html">TQApplication</a> a( argc, argv ); MainForm *w = new MainForm; w->show(); -<a name="x2868"></a><a name="x2867"></a> a.<a href="qobject.html#connect">connect</a>( &a, SIGNAL( <a href="qapplication.html#lastWindowClosed">lastWindowClosed</a>() ), w, SLOT( quit() ) ); - return a.<a href="qapplication.html#exec">exec</a>(); +<a name="x2868"></a><a name="x2867"></a> a.<a href="ntqobject.html#connect">connect</a>( &a, SIGNAL( <a href="ntqapplication.html#lastWindowClosed">lastWindowClosed</a>() ), w, SLOT( quit() ) ); + return a.<a href="ntqapplication.html#exec">exec</a>(); } </pre> |