summaryrefslogtreecommitdiffstats
path: root/doc/html/motif-customwidget-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-customwidget-example.html
parentaaf89d4b48f69c9293feb187db26362e550b5561 (diff)
downloadtqt3-ea318d1431c89e647598c510c4245c6571aa5f46.tar.gz
tqt3-ea318d1431c89e647598c510c4245c6571aa5f46.zip
Update to latest tqt3 automated conversion
Diffstat (limited to 'doc/html/motif-customwidget-example.html')
-rw-r--r--doc/html/motif-customwidget-example.html36
1 files changed, 18 insertions, 18 deletions
diff --git a/doc/html/motif-customwidget-example.html b/doc/html/motif-customwidget-example.html
index 6e02b4f8..ea42cd02 100644
--- a/doc/html/motif-customwidget-example.html
+++ b/doc/html/motif-customwidget-example.html
@@ -39,12 +39,12 @@ body { background: #ffffff; color: black; }
<p> <pre>#ifndef MAINWINDOW_H
#define MAINWINDOW_H
-#include &lt;<a href="qmainwindow-h.html">qmainwindow.h</a>&gt;
+#include &lt;<a href="qmainwindow-h.html">ntqmainwindow.h</a>&gt;
class TQMotifWidget;
-class MainWindow : public <a href="qmainwindow.html">TQMainWindow</a>
+class MainWindow : public <a href="ntqmainwindow.html">TQMainWindow</a>
{
public:
MainWindow();
@@ -60,7 +60,7 @@ private:
<p> Implementation:
<p> <pre>#include "mainwindow.h"
-#include &lt;<a href="qapplication-h.html">qapplication.h</a>&gt;
+#include &lt;<a href="qapplication-h.html">ntqapplication.h</a>&gt;
#include &lt;<a href="qmotif-h.html">qmotif.h</a>&gt;
@@ -69,22 +69,22 @@ int main( int argc, char **argv )
XtSetLanguageProc( NULL, NULL, NULL );
<a href="qmotif.html">TQMotif</a> integrator( "customwidget" );
- <a href="qapplication.html">TQApplication</a> app( argc, argv );
+ <a href="ntqapplication.html">TQApplication</a> app( argc, argv );
MainWindow mainwindow;
- app.<a href="qapplication.html#setMainWidget">setMainWidget</a>( &amp;mainwindow );
- mainwindow.<a href="qwidget.html#show">show</a>();
+ app.<a href="ntqapplication.html#setMainWidget">setMainWidget</a>( &amp;mainwindow );
+ mainwindow.<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>
<p> <pre>#include "mainwindow.h"
-#include &lt;<a href="qapplication-h.html">qapplication.h</a>&gt;
-#include &lt;<a href="qmenubar-h.html">qmenubar.h</a>&gt;
-#include &lt;<a href="qpopupmenu-h.html">qpopupmenu.h</a>&gt;
-#include &lt;<a href="qstatusbar-h.html">qstatusbar.h</a>&gt;
+#include &lt;<a href="qapplication-h.html">ntqapplication.h</a>&gt;
+#include &lt;<a href="qmenubar-h.html">ntqmenubar.h</a>&gt;
+#include &lt;<a href="qpopupmenu-h.html">ntqpopupmenu.h</a>&gt;
+#include &lt;<a href="qstatusbar-h.html">ntqstatusbar.h</a>&gt;
#include &lt;<a href="qmotifwidget-h.html">qmotifwidget.h</a>&gt;
@@ -94,13 +94,13 @@ int main( int argc, char **argv )
<a name="f563"></a>MainWindow::MainWindow()
- : <a href="qmainwindow.html">TQMainWindow</a>( 0, "mainwindow" )
+ : <a href="ntqmainwindow.html">TQMainWindow</a>( 0, "mainwindow" )
{
- <a href="qpopupmenu.html">TQPopupMenu</a> *filemenu = new <a href="qpopupmenu.html">TQPopupMenu</a>( this );
- filemenu-&gt;<a href="qmenudata.html#insertItem">insertItem</a>( <a href="qobject.html#tr">tr</a>("&amp;Quit"), qApp, SLOT(<a href="qapplication.html#quit">quit</a>()) );
+ <a href="ntqpopupmenu.html">TQPopupMenu</a> *filemenu = new <a href="ntqpopupmenu.html">TQPopupMenu</a>( this );
+ filemenu-&gt;<a href="ntqmenudata.html#insertItem">insertItem</a>( <a href="ntqobject.html#tr">tr</a>("&amp;Quit"), qApp, SLOT(<a href="ntqapplication.html#quit">quit</a>()) );
- <a href="qmainwindow.html#menuBar">menuBar</a>()-&gt;insertItem( <a href="qobject.html#tr">tr</a>("&amp;File"), filemenu );
- <a href="qmainwindow.html#statusBar">statusBar</a>()-&gt;message( <a href="qobject.html#tr">tr</a>("This is a TQMainWindow with an XmText widget.") );
+ <a href="ntqmainwindow.html#menuBar">menuBar</a>()-&gt;insertItem( <a href="ntqobject.html#tr">tr</a>("&amp;File"), filemenu );
+ <a href="ntqmainwindow.html#statusBar">statusBar</a>()-&gt;message( <a href="ntqobject.html#tr">tr</a>("This is a TQMainWindow with an XmText widget.") );
customwidget =
new <a href="qmotifwidget.html">TQMotifWidget</a>( this, xmFormWidgetClass, NULL, 0, "form" );
@@ -129,9 +129,9 @@ int main( int argc, char **argv )
XtManageChild( texteditor );
XtManageChild( button );
- <a href="qmainwindow.html#setCentralWidget">setCentralWidget</a>( customwidget );
+ <a href="ntqmainwindow.html#setCentralWidget">setCentralWidget</a>( customwidget );
- <a href="qwidget.html#resize">resize</a>( 400, 600 );
+ <a href="ntqwidget.html#resize">resize</a>( 400, 600 );
}
</pre>