summaryrefslogtreecommitdiffstats
path: root/doc/html/motif-dialog-example.html
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-01-26 23:32:43 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-01-26 23:32:43 -0600
commitea318d1431c89e647598c510c4245c6571aa5f46 (patch)
tree996d29b80c30d453dda86d1a23162d441628f169 /doc/html/motif-dialog-example.html
parentaaf89d4b48f69c9293feb187db26362e550b5561 (diff)
downloadtqt3-ea318d1431c89e647598c510c4245c6571aa5f46.tar.gz
tqt3-ea318d1431c89e647598c510c4245c6571aa5f46.zip
Update to latest tqt3 automated conversion
Diffstat (limited to 'doc/html/motif-dialog-example.html')
-rw-r--r--doc/html/motif-dialog-example.html22
1 files changed, 11 insertions, 11 deletions
diff --git a/doc/html/motif-dialog-example.html b/doc/html/motif-dialog-example.html
index b30ffda91..87b861801 100644
--- a/doc/html/motif-dialog-example.html
+++ b/doc/html/motif-dialog-example.html
@@ -56,7 +56,7 @@ public:
<p> <hr>
<p> Implementation:
-<p> <pre>#include &lt;<a href="qapplication-h.html">qapplication.h</a>&gt;
+<p> <pre>#include &lt;<a href="qapplication-h.html">ntqapplication.h</a>&gt;
#include &lt;<a href="qmotif-h.html">qmotif.h</a>&gt;
#include "mainwindow.h"
@@ -67,13 +67,13 @@ int main( int argc, char **argv )
XtSetLanguageProc( NULL, NULL, NULL );
<a href="qmotif.html">TQMotif</a> integrator( "dialog" );
- <a href="qapplication.html">TQApplication</a> app( argc, argv );
+ <a href="ntqapplication.html">TQApplication</a> app( argc, argv );
MainWindow *mainwindow = new MainWindow;
- app.<a href="qapplication.html#setMainWidget">setMainWidget</a>( mainwindow );
- mainwindow-&gt;<a href="qwidget.html#show">show</a>();
+ app.<a href="ntqapplication.html#setMainWidget">setMainWidget</a>( mainwindow );
+ mainwindow-&gt;<a href="ntqwidget.html#show">show</a>();
- return app.<a href="qapplication.html#exec">exec</a>();
+ return app.<a href="ntqapplication.html#exec">exec</a>();
}
</pre>
@@ -91,7 +91,7 @@ int main( int argc, char **argv )
#include &lt;Xm/Form.h&gt;
#include &lt;Xm/LabelG.h&gt;
-#include &lt;<a href="qapplication-h.html">qapplication.h</a>&gt;
+#include &lt;<a href="qapplication-h.html">ntqapplication.h</a>&gt;
static void motifDialogCallback( Widget, XtPointer client_data, XtPointer )
@@ -109,7 +109,7 @@ static void qtDialogCallback( Widget, XtPointer client_data, XtPointer )
static void quitCallback( Widget, XtPointer client_data, XtPointer )
{
MainWindow *mw = (MainWindow *) client_data;
-<a name="x2708"></a> mw-&gt;<a href="qwidget.html#close">close</a>();
+<a name="x2708"></a> mw-&gt;<a href="ntqwidget.html#close">close</a>();
}
@@ -166,14 +166,14 @@ static void quitCallback( Widget, XtPointer client_data, XtPointer )
XmNheight, 300,
NULL );
- <a href="qwidget.html#setCaption">setCaption</a>( <a href="qobject.html#tr">tr</a>("TQMotif Dialog Example") );
+ <a href="ntqwidget.html#setCaption">setCaption</a>( <a href="ntqobject.html#tr">tr</a>("TQMotif Dialog Example") );
}
void <a name="f561"></a>MainWindow::showMotifDialog()
{
<a href="qmotifdialog.html">TQMotifDialog</a> dialog( this, "custom dialog", TRUE );
- dialog.<a href="qwidget.html#setCaption">setCaption</a>( <a href="qobject.html#tr">tr</a>("Custom <a href="motif-extension.html#Motif">Motif</a> Dialog") );
+ dialog.<a href="ntqwidget.html#setCaption">setCaption</a>( <a href="ntqobject.html#tr">tr</a>("Custom <a href="motif-extension.html#Motif">Motif</a> Dialog") );
<a name="x2707"></a> Widget form = XmCreateForm( dialog.<a href="qmotifdialog.html#shell">shell</a>(), "custom motif dialog", NULL, 0 );
@@ -214,14 +214,14 @@ void <a name="f561"></a>MainWindow::showMotifDialog()
XtAddCallback( button, XmNactivateCallback,
(XtCallbackProc) TQMotifDialog::acceptCallback, &amp;dialog );
-<a name="x2706"></a> dialog.<a href="qdialog.html#exec">exec</a>();
+<a name="x2706"></a> dialog.<a href="ntqdialog.html#exec">exec</a>();
}
void <a name="f562"></a>MainWindow::showTQtDialog()
{
// custom TQt-based dialog using a Motif-based parent
CustomDialog customdialog( <a href="qmotifwidget.html#motifWidget">motifWidget</a>(), "custom dialog", TRUE );
- customdialog.<a href="qdialog.html#exec">exec</a>();
+ customdialog.<a href="ntqdialog.html#exec">exec</a>();
}
</pre>