diff options
Diffstat (limited to 'doc/html/mdi-example.html')
-rw-r--r-- | doc/html/mdi-example.html | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/doc/html/mdi-example.html b/doc/html/mdi-example.html index 3a98a4788..3a94262e9 100644 --- a/doc/html/mdi-example.html +++ b/doc/html/mdi-example.html @@ -147,7 +147,7 @@ private: #include <<a href="tqstatusbar-h.html">tqstatusbar.h</a>> #include <<a href="tqmessagebox-h.html">tqmessagebox.h</a>> #include <<a href="tqprinter-h.html">tqprinter.h</a>> -#include <<a href="qapplication-h.html">ntqapplication.h</a>> +#include <<a href="tqapplication-h.html">tqapplication.h</a>> #include <<a href="tqpushbutton-h.html">tqpushbutton.h</a>> #include <<a href="tqaccel-h.html">tqaccel.h</a>> #include <<a href="tqtextstream-h.html">tqtextstream.h</a>> @@ -232,7 +232,7 @@ const char * filePrintText = "Click this button to print the file you " #endif file-><a href="tqmenudata.html#insertSeparator">insertSeparator</a>(); file-><a href="tqmenudata.html#insertItem">insertItem</a>( "&Close", this, TQ_SLOT(closeWindow()), CTRL+Key_W ); -<a name="x2020"></a> file-><a href="tqmenudata.html#insertItem">insertItem</a>( "&Quit", tqApp, TQ_SLOT( <a href="ntqapplication.html#closeAllWindows">closeAllWindows</a>() ), CTRL+Key_Q ); +<a name="x2020"></a> file-><a href="tqmenudata.html#insertItem">insertItem</a>( "&Quit", tqApp, TQ_SLOT( <a href="tqapplication.html#closeAllWindows">closeAllWindows</a>() ), CTRL+Key_Q ); windowsMenu = new <a href="tqpopupmenu.html">TQPopupMenu</a>( this ); <a name="x2049"></a> windowsMenu-><a href="tqpopupmenu.html#setCheckable">setCheckable</a>( TRUE ); @@ -569,17 +569,17 @@ void <a name="f551"></a>MDIWindow::print( <a href="tqprinter.html">TQPrinter</a> ** *****************************************************************************/ -#include <<a href="qapplication-h.html">ntqapplication.h</a>> +#include <<a href="tqapplication-h.html">tqapplication.h</a>> #include "application.h" int main( int argc, char ** argv ) { - <a href="ntqapplication.html">TQApplication</a> a( argc, argv ); + <a href="tqapplication.html">TQApplication</a> a( argc, argv ); ApplicationWindow * mw = new ApplicationWindow(); - a.<a href="ntqapplication.html#setMainWidget">setMainWidget</a>(mw); + a.<a href="tqapplication.html#setMainWidget">setMainWidget</a>(mw); mw-><a href="tqwidget.html#setCaption">setCaption</a>( "TQt Example - Multiple Documents Interface (MDI)" ); mw-><a href="tqwidget.html#show">show</a>(); -<a name="x2097"></a><a name="x2096"></a> a.<a href="tqobject.html#connect">connect</a>( &a, TQ_SIGNAL(<a href="ntqapplication.html#lastWindowClosed">lastWindowClosed</a>()), &a, TQ_SLOT(<a href="ntqapplication.html#quit">quit</a>()) ); - int res = a.<a href="ntqapplication.html#exec">exec</a>(); +<a name="x2097"></a><a name="x2096"></a> a.<a href="tqobject.html#connect">connect</a>( &a, TQ_SIGNAL(<a href="tqapplication.html#lastWindowClosed">lastWindowClosed</a>()), &a, TQ_SLOT(<a href="tqapplication.html#quit">quit</a>()) ); + int res = a.<a href="tqapplication.html#exec">exec</a>(); return res; } </pre> |