diff options
Diffstat (limited to 'doc/html/mdi-example.html')
-rw-r--r-- | doc/html/mdi-example.html | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/doc/html/mdi-example.html b/doc/html/mdi-example.html index c9da97ae0..681eebc78 100644 --- a/doc/html/mdi-example.html +++ b/doc/html/mdi-example.html @@ -156,7 +156,7 @@ private: #include <<a href="qpainter-h.html">ntqpainter.h</a>> #include <<a href="qpaintdevicemetrics-h.html">ntqpaintdevicemetrics.h</a>> #include <<a href="qwhatsthis-h.html">ntqwhatsthis.h</a>> -#include <<a href="qobjectlist-h.html">ntqobjectlist.h</a>> +#include <<a href="tqobjectlist-h.html">tqobjectlist.h</a>> #include <<a href="qvbox-h.html">ntqvbox.h</a>> #include <<a href="qsimplerichtext-h.html">ntqsimplerichtext.h</a>> @@ -237,7 +237,7 @@ const char * filePrintText = "Click this button to print the file you " windowsMenu = new <a href="ntqpopupmenu.html">TQPopupMenu</a>( this ); <a name="x2049"></a> windowsMenu-><a href="ntqpopupmenu.html#setCheckable">setCheckable</a>( TRUE ); -<a name="x2048"></a> <a href="ntqobject.html#connect">connect</a>( windowsMenu, TQ_SIGNAL( <a href="ntqpopupmenu.html#aboutToShow">aboutToShow</a>() ), +<a name="x2048"></a> <a href="tqobject.html#connect">connect</a>( windowsMenu, TQ_SIGNAL( <a href="ntqpopupmenu.html#aboutToShow">aboutToShow</a>() ), this, TQ_SLOT( windowsMenuAboutToShow() ) ); <a href="ntqmainwindow.html#menuBar">menuBar</a>()->insertItem( "&Windows", windowsMenu ); @@ -272,7 +272,7 @@ ApplicationWindow::~ApplicationWindow() MDIWindow* <a name="f536"></a>ApplicationWindow::newDoc() { MDIWindow* w = new MDIWindow( ws, 0, WDestructiveClose ); - <a href="ntqobject.html#connect">connect</a>( w, TQ_SIGNAL( message(const <a href="ntqstring.html">TQString</a>&, int) ), statusBar(), TQ_SLOT( message(const <a href="ntqstring.html">TQString</a>&, int )) ); + <a href="tqobject.html#connect">connect</a>( w, TQ_SIGNAL( message(const <a href="ntqstring.html">TQString</a>&, int) ), statusBar(), TQ_SLOT( message(const <a href="ntqstring.html">TQString</a>&, int )) ); w-><a href="ntqwidget.html#setCaption">setCaption</a>("unnamed document"); <a name="x2085"></a> w-><a href="ntqwidget.html#setIcon">setIcon</a>( TQPixmap("document.xpm") ); // show the very first window in maximized mode @@ -426,8 +426,8 @@ void MDIWindow::<a href="ntqwidget.html#closeEvent">closeEvent</a>( <a href="qcl { <a name="x2069"></a> if ( medit-><a href="ntqtextedit.html#isModified">isModified</a>() ) { switch( TQMessageBox::<a href="ntqmessagebox.html#warning">warning</a>( this, "Save Changes", - <a href="ntqobject.html#tr">tr</a>("Save changes to %1?").arg( <a href="ntqwidget.html#caption">caption</a>() ), - <a href="ntqobject.html#tr">tr</a>("Yes"), tr("No"), tr("Cancel") ) ) { + <a href="tqobject.html#tr">tr</a>("Save changes to %1?").arg( <a href="ntqwidget.html#caption">caption</a>() ), + <a href="tqobject.html#tr">tr</a>("Yes"), tr("No"), tr("Cancel") ) ) { case 0: { save(); @@ -582,7 +582,7 @@ int main( int argc, char ** argv ) { a.<a href="ntqapplication.html#setMainWidget">setMainWidget</a>(mw); mw-><a href="ntqwidget.html#setCaption">setCaption</a>( "TQt Example - Multiple Documents Interface (MDI)" ); mw-><a href="ntqwidget.html#show">show</a>(); -<a name="x2097"></a><a name="x2096"></a> a.<a href="ntqobject.html#connect">connect</a>( &a, TQ_SIGNAL(<a href="ntqapplication.html#lastWindowClosed">lastWindowClosed</a>()), &a, TQ_SLOT(<a href="ntqapplication.html#quit">quit</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>(); return res; } |