diff options
Diffstat (limited to 'doc/html/mdi-example.html')
-rw-r--r-- | doc/html/mdi-example.html | 150 |
1 files changed, 75 insertions, 75 deletions
diff --git a/doc/html/mdi-example.html b/doc/html/mdi-example.html index a2e48908e..f241b345a 100644 --- a/doc/html/mdi-example.html +++ b/doc/html/mdi-example.html @@ -50,7 +50,7 @@ that it provides a Multiple Document Interface (MDI). #ifndef APPLICATION_H #define APPLICATION_H -#include <<a href="qmainwindow-h.html">ntqmainwindow.h</a>> +#include <<a href="tqmainwindow-h.html">tqmainwindow.h</a>> #include <<a href="tqptrlist-h.html">tqptrlist.h</a>> class TQTextEdit; @@ -60,7 +60,7 @@ class TQWorkspace; class TQPopupMenu; class TQMovie; -class MDIWindow: public <a href="ntqmainwindow.html">TQMainWindow</a> +class MDIWindow: public <a href="tqmainwindow.html">TQMainWindow</a> { <a href="metaobjects.html#TQ_OBJECT">TQ_OBJECT</a> public: @@ -85,7 +85,7 @@ private: }; -class ApplicationWindow: public <a href="ntqmainwindow.html">TQMainWindow</a> +class ApplicationWindow: public <a href="tqmainwindow.html">TQMainWindow</a> { TQ_OBJECT public: @@ -112,9 +112,9 @@ private slots: private: <a href="ntqprinter.html">TQPrinter</a> *printer; - <a href="ntqworkspace.html">TQWorkspace</a>* ws; - <a href="ntqtoolbar.html">TQToolBar</a> *fileTools; - <a href="ntqpopupmenu.html">TQPopupMenu</a>* windowsMenu; + <a href="tqworkspace.html">TQWorkspace</a>* ws; + <a href="tqtoolbar.html">TQToolBar</a> *fileTools; + <a href="tqpopupmenu.html">TQPopupMenu</a>* windowsMenu; }; @@ -134,18 +134,18 @@ private: *****************************************************************************/ #include "application.h" -#include <<a href="qworkspace-h.html">ntqworkspace.h</a>> +#include <<a href="tqworkspace-h.html">tqworkspace.h</a>> #include <<a href="tqimage-h.html">tqimage.h</a>> #include <<a href="qpixmap-h.html">ntqpixmap.h</a>> -#include <<a href="qtoolbar-h.html">ntqtoolbar.h</a>> -#include <<a href="qtoolbutton-h.html">ntqtoolbutton.h</a>> -#include <<a href="qpopupmenu-h.html">ntqpopupmenu.h</a>> -#include <<a href="qmenubar-h.html">ntqmenubar.h</a>> +#include <<a href="tqtoolbar-h.html">tqtoolbar.h</a>> +#include <<a href="tqtoolbutton-h.html">tqtoolbutton.h</a>> +#include <<a href="tqpopupmenu-h.html">tqpopupmenu.h</a>> +#include <<a href="tqmenubar-h.html">tqmenubar.h</a>> #include <<a href="qmovie-h.html">ntqmovie.h</a>> #include <<a href="qfile-h.html">ntqfile.h</a>> #include <<a href="qfiledialog-h.html">ntqfiledialog.h</a>> #include <<a href="qlabel-h.html">ntqlabel.h</a>> -#include <<a href="qstatusbar-h.html">ntqstatusbar.h</a>> +#include <<a href="tqstatusbar-h.html">tqstatusbar.h</a>> #include <<a href="qmessagebox-h.html">ntqmessagebox.h</a>> #include <<a href="qprinter-h.html">ntqprinter.h</a>> #include <<a href="qapplication-h.html">ntqapplication.h</a>> @@ -176,23 +176,23 @@ const char * filePrintText = "Click this button to print the file you " "You can also select the Print command from the File menu."; <a name="f535"></a>ApplicationWindow::ApplicationWindow() - : <a href="ntqmainwindow.html">TQMainWindow</a>( 0, "example application main window", WDestructiveClose ) + : <a href="tqmainwindow.html">TQMainWindow</a>( 0, "example application main window", WDestructiveClose ) { int id; <a href="ntqpixmap.html">TQPixmap</a> openIcon, saveIcon; - fileTools = new <a href="ntqtoolbar.html">TQToolBar</a>( this, "file operations" ); - <a href="ntqmainwindow.html#addToolBar">addToolBar</a>( fileTools, tr( "File Operations" ), DockTop, TRUE ); + fileTools = new <a href="tqtoolbar.html">TQToolBar</a>( this, "file operations" ); + <a href="tqmainwindow.html#addToolBar">addToolBar</a>( fileTools, tr( "File Operations" ), DockTop, TRUE ); openIcon = TQPixmap( fileopen ); TQToolButton * fileOpen - = new <a href="ntqtoolbutton.html">TQToolButton</a>( openIcon, "Open File", <a href="tqstring.html#TQString-null">TQString::null</a>, + = new <a href="tqtoolbutton.html">TQToolButton</a>( openIcon, "Open File", <a href="tqstring.html#TQString-null">TQString::null</a>, this, TQ_SLOT(load()), fileTools, "open file" ); saveIcon = TQPixmap( filesave ); TQToolButton * fileSave - = new <a href="ntqtoolbutton.html">TQToolButton</a>( saveIcon, "Save File", TQString::null, + = new <a href="tqtoolbutton.html">TQToolButton</a>( saveIcon, "Save File", TQString::null, this, TQ_SLOT(save()), fileTools, "save file" ); #ifndef TQT_NO_PRINTER @@ -201,7 +201,7 @@ const char * filePrintText = "Click this button to print the file you " printIcon = TQPixmap( fileprint ); TQToolButton * filePrint - = new <a href="ntqtoolbutton.html">TQToolButton</a>( printIcon, "Print File", TQString::null, + = new <a href="tqtoolbutton.html">TQToolButton</a>( printIcon, "Print File", TQString::null, this, TQ_SLOT(print()), fileTools, "print file" ); <a name="x2075"></a> TQWhatsThis::<a href="ntqwhatsthis.html#add">add</a>( filePrint, filePrintText ); #endif @@ -211,52 +211,52 @@ const char * filePrintText = "Click this button to print the file you " TQWhatsThis::<a href="ntqwhatsthis.html#add">add</a>( fileOpen, fileOpenText ); TQWhatsThis::<a href="ntqwhatsthis.html#add">add</a>( fileSave, fileSaveText ); - <a href="ntqpopupmenu.html">TQPopupMenu</a> * file = new <a href="ntqpopupmenu.html">TQPopupMenu</a>( this ); - <a href="ntqmainwindow.html#menuBar">menuBar</a>()->insertItem( "&File", file ); + <a href="tqpopupmenu.html">TQPopupMenu</a> * file = new <a href="tqpopupmenu.html">TQPopupMenu</a>( this ); + <a href="tqmainwindow.html#menuBar">menuBar</a>()->insertItem( "&File", file ); - file-><a href="ntqmenudata.html#insertItem">insertItem</a>( "&New", this, TQ_SLOT(newDoc()), CTRL+Key_N ); + file-><a href="tqmenudata.html#insertItem">insertItem</a>( "&New", this, TQ_SLOT(newDoc()), CTRL+Key_N ); - id = file-><a href="ntqmenudata.html#insertItem">insertItem</a>( openIcon, "&Open...", + id = file-><a href="tqmenudata.html#insertItem">insertItem</a>( openIcon, "&Open...", this, TQ_SLOT(load()), CTRL+Key_O ); -<a name="x2035"></a> file-><a href="ntqmenudata.html#setWhatsThis">setWhatsThis</a>( id, fileOpenText ); +<a name="x2035"></a> file-><a href="tqmenudata.html#setWhatsThis">setWhatsThis</a>( id, fileOpenText ); - id = file-><a href="ntqmenudata.html#insertItem">insertItem</a>( saveIcon, "&Save", + id = file-><a href="tqmenudata.html#insertItem">insertItem</a>( saveIcon, "&Save", this, TQ_SLOT(save()), CTRL+Key_S ); - file-><a href="ntqmenudata.html#setWhatsThis">setWhatsThis</a>( id, fileSaveText ); - id = file-><a href="ntqmenudata.html#insertItem">insertItem</a>( "Save &As...", this, TQ_SLOT(saveAs()) ); - file-><a href="ntqmenudata.html#setWhatsThis">setWhatsThis</a>( id, fileSaveText ); + file-><a href="tqmenudata.html#setWhatsThis">setWhatsThis</a>( id, fileSaveText ); + id = file-><a href="tqmenudata.html#insertItem">insertItem</a>( "Save &As...", this, TQ_SLOT(saveAs()) ); + file-><a href="tqmenudata.html#setWhatsThis">setWhatsThis</a>( id, fileSaveText ); #ifndef TQT_NO_PRINTER - file-><a href="ntqmenudata.html#insertSeparator">insertSeparator</a>(); - id = file-><a href="ntqmenudata.html#insertItem">insertItem</a>( printIcon, "&Print...", + file-><a href="tqmenudata.html#insertSeparator">insertSeparator</a>(); + id = file-><a href="tqmenudata.html#insertItem">insertItem</a>( printIcon, "&Print...", this, TQ_SLOT(print()), CTRL+Key_P ); - file-><a href="ntqmenudata.html#setWhatsThis">setWhatsThis</a>( id, filePrintText ); + file-><a href="tqmenudata.html#setWhatsThis">setWhatsThis</a>( id, filePrintText ); #endif - file-><a href="ntqmenudata.html#insertSeparator">insertSeparator</a>(); - file-><a href="ntqmenudata.html#insertItem">insertItem</a>( "&Close", this, TQ_SLOT(closeWindow()), CTRL+Key_W ); -<a name="x2020"></a> file-><a href="ntqmenudata.html#insertItem">insertItem</a>( "&Quit", tqApp, TQ_SLOT( <a href="ntqapplication.html#closeAllWindows">closeAllWindows</a>() ), CTRL+Key_Q ); + 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 ); - 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="tqobject.html#connect">connect</a>( windowsMenu, TQ_SIGNAL( <a href="ntqpopupmenu.html#aboutToShow">aboutToShow</a>() ), + windowsMenu = new <a href="tqpopupmenu.html">TQPopupMenu</a>( this ); +<a name="x2049"></a> windowsMenu-><a href="tqpopupmenu.html#setCheckable">setCheckable</a>( TRUE ); +<a name="x2048"></a> <a href="tqobject.html#connect">connect</a>( windowsMenu, TQ_SIGNAL( <a href="tqpopupmenu.html#aboutToShow">aboutToShow</a>() ), this, TQ_SLOT( windowsMenuAboutToShow() ) ); - <a href="ntqmainwindow.html#menuBar">menuBar</a>()->insertItem( "&Windows", windowsMenu ); + <a href="tqmainwindow.html#menuBar">menuBar</a>()->insertItem( "&Windows", windowsMenu ); - <a href="ntqmainwindow.html#menuBar">menuBar</a>()->insertSeparator(); - <a href="ntqpopupmenu.html">TQPopupMenu</a> * help = new <a href="ntqpopupmenu.html">TQPopupMenu</a>( this ); - <a href="ntqmainwindow.html#menuBar">menuBar</a>()->insertItem( "&Help", help ); + <a href="tqmainwindow.html#menuBar">menuBar</a>()->insertSeparator(); + <a href="tqpopupmenu.html">TQPopupMenu</a> * help = new <a href="tqpopupmenu.html">TQPopupMenu</a>( this ); + <a href="tqmainwindow.html#menuBar">menuBar</a>()->insertItem( "&Help", help ); - help-><a href="ntqmenudata.html#insertItem">insertItem</a>( "&About", this, TQ_SLOT(about()), Key_F1); - help-><a href="ntqmenudata.html#insertItem">insertItem</a>( "About &TQt", this, TQ_SLOT(aboutTQt())); - help-><a href="ntqmenudata.html#insertSeparator">insertSeparator</a>(); - help-><a href="ntqmenudata.html#insertItem">insertItem</a>( "What's &This", this, TQ_SLOT(<a href="ntqmainwindow.html#whatsThis">whatsThis</a>()), SHIFT+Key_F1); + help-><a href="tqmenudata.html#insertItem">insertItem</a>( "&About", this, TQ_SLOT(about()), Key_F1); + help-><a href="tqmenudata.html#insertItem">insertItem</a>( "About &TQt", this, TQ_SLOT(aboutTQt())); + help-><a href="tqmenudata.html#insertSeparator">insertSeparator</a>(); + help-><a href="tqmenudata.html#insertItem">insertItem</a>( "What's &This", this, TQ_SLOT(<a href="tqmainwindow.html#whatsThis">whatsThis</a>()), SHIFT+Key_F1); <a href="ntqvbox.html">TQVBox</a>* vb = new <a href="ntqvbox.html">TQVBox</a>( this ); vb-><a href="ntqframe.html#setFrameStyle">setFrameStyle</a>( TQFrame::StyledPanel | TQFrame::Sunken ); - ws = new <a href="ntqworkspace.html">TQWorkspace</a>( vb ); -<a name="x2092"></a> ws-><a href="ntqworkspace.html#setScrollBarsEnabled">setScrollBarsEnabled</a>( TRUE ); - <a href="ntqmainwindow.html#setCentralWidget">setCentralWidget</a>( vb ); + ws = new <a href="tqworkspace.html">TQWorkspace</a>( vb ); +<a name="x2092"></a> ws-><a href="tqworkspace.html#setScrollBarsEnabled">setScrollBarsEnabled</a>( TRUE ); + <a href="tqmainwindow.html#setCentralWidget">setCentralWidget</a>( vb ); - <a href="ntqmainwindow.html#statusBar">statusBar</a>()->message( "Ready", 2000 ); + <a href="tqmainwindow.html#statusBar">statusBar</a>()->message( "Ready", 2000 ); } @@ -276,7 +276,7 @@ MDIWindow* <a name="f536"></a>ApplicationWindow::newDoc() w-><a href="tqwidget.html#setCaption">setCaption</a>("unnamed document"); <a name="x2085"></a> w-><a href="tqwidget.html#setIcon">setIcon</a>( TQPixmap("document.xpm") ); // show the very first window in maximized mode -<a name="x2094"></a> if ( ws-><a href="ntqworkspace.html#windowList">windowList</a>().isEmpty() ) +<a name="x2094"></a> if ( ws-><a href="tqworkspace.html#windowList">windowList</a>().isEmpty() ) <a name="x2087"></a> w-><a href="tqwidget.html#showMaximized">showMaximized</a>(); else w-><a href="tqwidget.html#show">show</a>(); @@ -290,13 +290,13 @@ void <a name="f537"></a>ApplicationWindow::load() MDIWindow* w = newDoc(); w->load( fn ); } else { - <a href="ntqmainwindow.html#statusBar">statusBar</a>()->message( "Loading aborted", 2000 ); + <a href="tqmainwindow.html#statusBar">statusBar</a>()->message( "Loading aborted", 2000 ); } } void <a name="f538"></a>ApplicationWindow::save() { -<a name="x2090"></a> MDIWindow* m = (MDIWindow*)ws-><a href="ntqworkspace.html#activeWindow">activeWindow</a>(); +<a name="x2090"></a> MDIWindow* m = (MDIWindow*)ws-><a href="tqworkspace.html#activeWindow">activeWindow</a>(); if ( m ) m->save(); } @@ -304,7 +304,7 @@ void <a name="f538"></a>ApplicationWindow::save() void <a name="f539"></a>ApplicationWindow::saveAs() { - MDIWindow* m = (MDIWindow*)ws-><a href="ntqworkspace.html#activeWindow">activeWindow</a>(); + MDIWindow* m = (MDIWindow*)ws-><a href="tqworkspace.html#activeWindow">activeWindow</a>(); if ( m ) m->saveAs(); } @@ -313,7 +313,7 @@ void <a name="f539"></a>ApplicationWindow::saveAs() void <a name="f540"></a>ApplicationWindow::print() { #ifndef TQT_NO_PRINTER - MDIWindow* m = (MDIWindow*)ws-><a href="ntqworkspace.html#activeWindow">activeWindow</a>(); + MDIWindow* m = (MDIWindow*)ws-><a href="tqworkspace.html#activeWindow">activeWindow</a>(); if ( m ) m->print( printer ); #endif @@ -322,7 +322,7 @@ void <a name="f540"></a>ApplicationWindow::print() void <a name="f541"></a>ApplicationWindow::closeWindow() { - MDIWindow* m = (MDIWindow*)ws-><a href="ntqworkspace.html#activeWindow">activeWindow</a>(); + MDIWindow* m = (MDIWindow*)ws-><a href="tqworkspace.html#activeWindow">activeWindow</a>(); if ( m ) <a name="x2076"></a> m-><a href="tqwidget.html#close">close</a>(); } @@ -343,28 +343,28 @@ void <a name="f543"></a>ApplicationWindow::aboutTQt() void <a name="f544"></a>ApplicationWindow::windowsMenuAboutToShow() { -<a name="x2029"></a> windowsMenu-><a href="ntqmenudata.html#clear">clear</a>(); -<a name="x2091"></a> int cascadeId = windowsMenu-><a href="ntqmenudata.html#insertItem">insertItem</a>("&Cascade", ws, TQ_SLOT(<a href="ntqworkspace.html#cascade">cascade</a>() ) ); -<a name="x2093"></a> int tileId = windowsMenu-><a href="ntqmenudata.html#insertItem">insertItem</a>("&Tile", ws, TQ_SLOT(<a href="ntqworkspace.html#tile">tile</a>() ) ); - int horTileId = windowsMenu-><a href="ntqmenudata.html#insertItem">insertItem</a>("Tile &Horizontally", this, TQ_SLOT(tileHorizontal() ) ); - if ( ws-><a href="ntqworkspace.html#windowList">windowList</a>().isEmpty() ) { -<a name="x2033"></a> windowsMenu-><a href="ntqmenudata.html#setItemEnabled">setItemEnabled</a>( cascadeId, FALSE ); - windowsMenu-><a href="ntqmenudata.html#setItemEnabled">setItemEnabled</a>( tileId, FALSE ); - windowsMenu-><a href="ntqmenudata.html#setItemEnabled">setItemEnabled</a>( horTileId, FALSE ); +<a name="x2029"></a> windowsMenu-><a href="tqmenudata.html#clear">clear</a>(); +<a name="x2091"></a> int cascadeId = windowsMenu-><a href="tqmenudata.html#insertItem">insertItem</a>("&Cascade", ws, TQ_SLOT(<a href="tqworkspace.html#cascade">cascade</a>() ) ); +<a name="x2093"></a> int tileId = windowsMenu-><a href="tqmenudata.html#insertItem">insertItem</a>("&Tile", ws, TQ_SLOT(<a href="tqworkspace.html#tile">tile</a>() ) ); + int horTileId = windowsMenu-><a href="tqmenudata.html#insertItem">insertItem</a>("Tile &Horizontally", this, TQ_SLOT(tileHorizontal() ) ); + if ( ws-><a href="tqworkspace.html#windowList">windowList</a>().isEmpty() ) { +<a name="x2033"></a> windowsMenu-><a href="tqmenudata.html#setItemEnabled">setItemEnabled</a>( cascadeId, FALSE ); + windowsMenu-><a href="tqmenudata.html#setItemEnabled">setItemEnabled</a>( tileId, FALSE ); + windowsMenu-><a href="tqmenudata.html#setItemEnabled">setItemEnabled</a>( horTileId, FALSE ); } - windowsMenu-><a href="ntqmenudata.html#insertSeparator">insertSeparator</a>(); - TQWidgetList windows = ws-><a href="ntqworkspace.html#windowList">windowList</a>(); + windowsMenu-><a href="tqmenudata.html#insertSeparator">insertSeparator</a>(); + TQWidgetList windows = ws-><a href="tqworkspace.html#windowList">windowList</a>(); <a name="x2054"></a> for ( int i = 0; i < int(windows.count()); ++i ) { -<a name="x2053"></a> int id = windowsMenu-><a href="ntqmenudata.html#insertItem">insertItem</a>(windows.at(i)->caption(), +<a name="x2053"></a> int id = windowsMenu-><a href="tqmenudata.html#insertItem">insertItem</a>(windows.at(i)->caption(), this, TQ_SLOT( windowsMenuActivated( int ) ) ); -<a name="x2034"></a> windowsMenu-><a href="ntqmenudata.html#setItemParameter">setItemParameter</a>( id, i ); -<a name="x2032"></a> windowsMenu-><a href="ntqmenudata.html#setItemChecked">setItemChecked</a>( id, ws-><a href="ntqworkspace.html#activeWindow">activeWindow</a>() == windows.at(i) ); +<a name="x2034"></a> windowsMenu-><a href="tqmenudata.html#setItemParameter">setItemParameter</a>( id, i ); +<a name="x2032"></a> windowsMenu-><a href="tqmenudata.html#setItemChecked">setItemChecked</a>( id, ws-><a href="tqworkspace.html#activeWindow">activeWindow</a>() == windows.at(i) ); } } void <a name="f545"></a>ApplicationWindow::windowsMenuActivated( int id ) { - <a href="tqwidget.html">TQWidget</a>* w = ws-><a href="ntqworkspace.html#windowList">windowList</a>().at( id ); + <a href="tqwidget.html">TQWidget</a>* w = ws-><a href="tqworkspace.html#windowList">windowList</a>().at( id ); if ( w ) <a name="x2088"></a> w-><a href="tqwidget.html#showNormal">showNormal</a>(); <a name="x2084"></a> w-><a href="tqwidget.html#setFocus">setFocus</a>(); @@ -373,12 +373,12 @@ void <a name="f545"></a>ApplicationWindow::windowsMenuActivated( int id ) void <a name="f546"></a>ApplicationWindow::tileHorizontal() { // primitive horizontal tiling - TQWidgetList windows = ws-><a href="ntqworkspace.html#windowList">windowList</a>(); + TQWidgetList windows = ws-><a href="tqworkspace.html#windowList">windowList</a>(); if ( !windows.count() ) return; - if (ws-><a href="ntqworkspace.html#activeWindow">activeWindow</a>()) - ws-><a href="ntqworkspace.html#activeWindow">activeWindow</a>()->showNormal(); + if (ws-><a href="tqworkspace.html#activeWindow">activeWindow</a>()) + ws-><a href="tqworkspace.html#activeWindow">activeWindow</a>()->showNormal(); <a name="x2078"></a> int heightForEach = ws-><a href="tqwidget.html#height">height</a>() / windows.count(); int y = 0; @@ -394,7 +394,7 @@ void <a name="f546"></a>ApplicationWindow::tileHorizontal() <a name="x2077"></a>void ApplicationWindow::<a href="tqwidget.html#closeEvent">closeEvent</a>( <a href="qcloseevent.html">TQCloseEvent</a> *e ) { - TQWidgetList windows = ws-><a href="ntqworkspace.html#windowList">windowList</a>(); + TQWidgetList windows = ws-><a href="tqworkspace.html#windowList">windowList</a>(); if ( windows.count() ) { for ( int i = 0; i < int(windows.count()); ++i ) { <a href="tqwidget.html">TQWidget</a> *window = windows.at( i ); @@ -409,12 +409,12 @@ void <a name="f546"></a>ApplicationWindow::tileHorizontal() } <a name="f547"></a>MDIWindow::MDIWindow( <a href="tqwidget.html">TQWidget</a>* parent, const char* name, int wflags ) - : <a href="ntqmainwindow.html">TQMainWindow</a>( parent, name, wflags ) + : <a href="tqmainwindow.html">TQMainWindow</a>( parent, name, wflags ) { mmovie = 0; medit = new <a href="tqtextedit.html">TQTextEdit</a>( this ); <a href="tqwidget.html#setFocusProxy">setFocusProxy</a>( medit ); - <a href="ntqmainwindow.html#setCentralWidget">setCentralWidget</a>( medit ); + <a href="tqmainwindow.html#setCentralWidget">setCentralWidget</a>( medit ); } MDIWindow::~MDIWindow() @@ -459,7 +459,7 @@ void <a name="f548"></a>MDIWindow::load( const <a href="tqstring.html">TQString< <a name="x2064"></a> if(fn.<a href="tqstring.html#contains">contains</a>(".gif")) { <a href="tqwidget.html">TQWidget</a> * tmp=new <a href="tqwidget.html">TQWidget</a>(this); <a href="tqwidget.html#setFocusProxy">setFocusProxy</a>(tmp); - <a href="ntqmainwindow.html#setCentralWidget">setCentralWidget</a>(tmp); + <a href="tqmainwindow.html#setCentralWidget">setCentralWidget</a>(tmp); <a name="x2079"></a> medit-><a href="tqwidget.html#hide">hide</a>(); delete medit; <a href="ntqmovie.html">TQMovie</a> * qm=new <a href="ntqmovie.html">TQMovie</a>(fn); |