diff options
Diffstat (limited to 'doc/html/motif-customwidget-example.html')
-rw-r--r-- | doc/html/motif-customwidget-example.html | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/doc/html/motif-customwidget-example.html b/doc/html/motif-customwidget-example.html index 9f414f838..858741b36 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">ntqmainwindow.h</a>> +#include <<a href="tqmainwindow-h.html">tqmainwindow.h</a>> class TQMotifWidget; -class MainWindow : public <a href="ntqmainwindow.html">TQMainWindow</a> +class MainWindow : public <a href="tqmainwindow.html">TQMainWindow</a> { public: MainWindow(); @@ -82,9 +82,9 @@ int main( int argc, char **argv ) <p> <pre>#include "mainwindow.h" #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="tqmenubar-h.html">tqmenubar.h</a>> +#include <<a href="tqpopupmenu-h.html">tqpopupmenu.h</a>> +#include <<a href="tqstatusbar-h.html">tqstatusbar.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="ntqmainwindow.html">TQMainWindow</a>( 0, "mainwindow" ) + : <a href="tqmainwindow.html">TQMainWindow</a>( 0, "mainwindow" ) { - <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="tqobject.html#tr">tr</a>("&Quit"), tqApp, TQ_SLOT(<a href="ntqapplication.html#quit">quit</a>()) ); + <a href="tqpopupmenu.html">TQPopupMenu</a> *filemenu = new <a href="tqpopupmenu.html">TQPopupMenu</a>( this ); + filemenu-><a href="tqmenudata.html#insertItem">insertItem</a>( <a href="tqobject.html#tr">tr</a>("&Quit"), tqApp, TQ_SLOT(<a href="ntqapplication.html#quit">quit</a>()) ); - <a href="ntqmainwindow.html#menuBar">menuBar</a>()->insertItem( <a href="tqobject.html#tr">tr</a>("&File"), filemenu ); - <a href="ntqmainwindow.html#statusBar">statusBar</a>()->message( <a href="tqobject.html#tr">tr</a>("This is a TQMainWindow with an XmText widget.") ); + <a href="tqmainwindow.html#menuBar">menuBar</a>()->insertItem( <a href="tqobject.html#tr">tr</a>("&File"), filemenu ); + <a href="tqmainwindow.html#statusBar">statusBar</a>()->message( <a href="tqobject.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,7 +129,7 @@ int main( int argc, char **argv ) XtManageChild( texteditor ); XtManageChild( button ); - <a href="ntqmainwindow.html#setCentralWidget">setCentralWidget</a>( customwidget ); + <a href="tqmainwindow.html#setCentralWidget">setCentralWidget</a>( customwidget ); <a href="tqwidget.html#resize">resize</a>( 400, 600 ); } |