summaryrefslogtreecommitdiffstats
path: root/doc/html/motif-dialog-example.html
diff options
context:
space:
mode:
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 8a72d6847..470b1a0da 100644
--- a/doc/html/motif-dialog-example.html
+++ b/doc/html/motif-dialog-example.html
@@ -39,10 +39,10 @@ body { background: #ffffff; color: black; }
<p> <pre>#ifndef MAINWINDOW_H
#define MAINWINDOW_H
-#include &lt;<a href="qmotifwidget-h.html">qmotifwidget.h</a>&gt;
+#include &lt;<a href="tqmotifwidget-h.html">tqmotifwidget.h</a>&gt;
-class MainWindow : public <a href="qmotifwidget.html">TQMotifWidget</a>
+class MainWindow : public <a href="tqmotifwidget.html">TQMotifWidget</a>
{
public:
MainWindow();
@@ -57,7 +57,7 @@ public:
<p> <hr>
<p> Implementation:
<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 &lt;<a href="tqmotif-h.html">tqmotif.h</a>&gt;
#include "mainwindow.h"
@@ -66,7 +66,7 @@ int main( int argc, char **argv )
{
XtSetLanguageProc( NULL, NULL, NULL );
- <a href="qmotif.html">TQMotif</a> integrator( "dialog" );
+ <a href="tqmotif.html">TQMotif</a> integrator( "dialog" );
<a href="ntqapplication.html">TQApplication</a> app( argc, argv );
MainWindow *mainwindow = new MainWindow;
@@ -114,9 +114,9 @@ static void quitCallback( Widget, XtPointer client_data, XtPointer )
<a name="f560"></a>MainWindow::MainWindow()
- : <a href="qmotifwidget.html">TQMotifWidget</a>( 0, xmMainWindowWidgetClass, NULL, 0, "mainwindow" )
+ : <a href="tqmotifwidget.html">TQMotifWidget</a>( 0, xmMainWindowWidgetClass, NULL, 0, "mainwindow" )
{
- Widget menubar = XmCreateMenuBar( <a href="qmotifwidget.html#motifWidget">motifWidget</a>(), "menubar", NULL, 0 );
+ Widget menubar = XmCreateMenuBar( <a href="tqmotifwidget.html#motifWidget">motifWidget</a>(), "menubar", NULL, 0 );
Widget filemenu = XmCreatePulldownMenu( menubar, "filemenu", NULL, 0 );
Widget item;
@@ -154,14 +154,14 @@ static void quitCallback( Widget, XtPointer client_data, XtPointer )
Arg args[2];
XtSetArg( args[0], XmNeditMode, XmMULTI_LINE_EDIT );
Widget texteditor =
- XmCreateScrolledText( <a href="qmotifwidget.html#motifWidget">motifWidget</a>(), "texteditor",
+ XmCreateScrolledText( <a href="tqmotifwidget.html#motifWidget">motifWidget</a>(), "texteditor",
args, 1 );
XtManageChild( menubar );
XtManageChild( texteditor );
// pick a nice default size
- XtVaSetValues( <a href="qmotifwidget.html#motifWidget">motifWidget</a>(),
+ XtVaSetValues( <a href="tqmotifwidget.html#motifWidget">motifWidget</a>(),
XmNwidth, 400,
XmNheight, 300,
NULL );
@@ -172,10 +172,10 @@ static void quitCallback( Widget, XtPointer client_data, XtPointer )
void <a name="f561"></a>MainWindow::showMotifDialog()
{
- <a href="qmotifdialog.html">TQMotifDialog</a> dialog( this, "custom dialog", TRUE );
+ <a href="tqmotifdialog.html">TQMotifDialog</a> dialog( this, "custom dialog", TRUE );
dialog.<a href="tqwidget.html#setCaption">setCaption</a>( <a href="tqobject.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 );
+<a name="x2707"></a> Widget form = XmCreateForm( dialog.<a href="tqmotifdialog.html#shell">shell</a>(), "custom motif dialog", NULL, 0 );
XmString str;
Arg args[9];
@@ -220,7 +220,7 @@ void <a name="f561"></a>MainWindow::showMotifDialog()
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 customdialog( <a href="tqmotifwidget.html#motifWidget">motifWidget</a>(), "custom dialog", TRUE );
customdialog.<a href="tqdialog.html#exec">exec</a>();
}
</pre>