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/motif-customwidget-example.html | |
parent | aaf89d4b48f69c9293feb187db26362e550b5561 (diff) | |
download | tqt3-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.html | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/doc/html/motif-customwidget-example.html b/doc/html/motif-customwidget-example.html index 6e02b4f81..ea42cd026 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 <<a href="qmainwindow-h.html">qmainwindow.h</a>> +#include <<a href="qmainwindow-h.html">ntqmainwindow.h</a>> 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 <<a href="qapplication-h.html">qapplication.h</a>> +#include <<a href="qapplication-h.html">ntqapplication.h</a>> #include <<a href="qmotif-h.html">qmotif.h</a>> @@ -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>( &mainwindow ); - mainwindow.<a href="qwidget.html#show">show</a>(); + app.<a href="ntqapplication.html#setMainWidget">setMainWidget</a>( &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 <<a href="qapplication-h.html">qapplication.h</a>> -#include <<a href="qmenubar-h.html">qmenubar.h</a>> -#include <<a href="qpopupmenu-h.html">qpopupmenu.h</a>> -#include <<a href="qstatusbar-h.html">qstatusbar.h</a>> +#include <<a href="qapplication-h.html">ntqapplication.h</a>> +#include <<a href="qmenubar-h.html">ntqmenubar.h</a>> +#include <<a href="qpopupmenu-h.html">ntqpopupmenu.h</a>> +#include <<a href="qstatusbar-h.html">ntqstatusbar.h</a>> #include <<a href="qmotifwidget-h.html">qmotifwidget.h</a>> @@ -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-><a href="qmenudata.html#insertItem">insertItem</a>( <a href="qobject.html#tr">tr</a>("&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-><a href="ntqmenudata.html#insertItem">insertItem</a>( <a href="ntqobject.html#tr">tr</a>("&Quit"), qApp, SLOT(<a href="ntqapplication.html#quit">quit</a>()) ); - <a href="qmainwindow.html#menuBar">menuBar</a>()->insertItem( <a href="qobject.html#tr">tr</a>("&File"), filemenu ); - <a href="qmainwindow.html#statusBar">statusBar</a>()->message( <a href="qobject.html#tr">tr</a>("This is a TQMainWindow with an XmText widget.") ); + <a href="ntqmainwindow.html#menuBar">menuBar</a>()->insertItem( <a href="ntqobject.html#tr">tr</a>("&File"), filemenu ); + <a href="ntqmainwindow.html#statusBar">statusBar</a>()->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> |