diff options
Diffstat (limited to 'doc/html/simple-application-example.html')
-rw-r--r-- | doc/html/simple-application-example.html | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/doc/html/simple-application-example.html b/doc/html/simple-application-example.html index 986be2d61..a40441fc4 100644 --- a/doc/html/simple-application-example.html +++ b/doc/html/simple-application-example.html @@ -204,7 +204,7 @@ private: file-><a href="ntqmenudata.html#insertSeparator">insertSeparator</a>(); - file-><a href="ntqmenudata.html#insertItem">insertItem</a>( "&Close", this, TQ_SLOT(<a href="ntqwidget.html#close">close</a>()), CTRL+Key_W ); + file-><a href="ntqmenudata.html#insertItem">insertItem</a>( "&Close", this, TQ_SLOT(<a href="tqwidget.html#close">close</a>()), CTRL+Key_W ); <a name="x1544"></a> file-><a href="ntqmenudata.html#insertItem">insertItem</a>( "&Quit", tqApp, TQ_SLOT( <a href="ntqapplication.html#closeAllWindows">closeAllWindows</a>() ), CTRL+Key_Q ); @@ -219,11 +219,11 @@ private: help-><a href="ntqmenudata.html#insertItem">insertItem</a>( "What's &This", this, TQ_SLOT(<a href="ntqmainwindow.html#whatsThis">whatsThis</a>()), SHIFT+Key_F1 ); e = new <a href="ntqtextedit.html">TQTextEdit</a>( this, "editor" ); - e-><a href="ntqwidget.html#setFocus">setFocus</a>(); + e-><a href="tqwidget.html#setFocus">setFocus</a>(); <a href="ntqmainwindow.html#setCentralWidget">setCentralWidget</a>( e ); <a href="ntqmainwindow.html#statusBar">statusBar</a>()->message( "Ready", 2000 ); - <a href="ntqwidget.html#resize">resize</a>( 450, 600 ); + <a href="tqwidget.html#resize">resize</a>( 450, 600 ); } @@ -237,8 +237,8 @@ ApplicationWindow::~ApplicationWindow() void <a name="f460"></a>ApplicationWindow::newDoc() { ApplicationWindow *ed = new ApplicationWindow; - ed-><a href="ntqwidget.html#setCaption">setCaption</a>("TQt Example - Application"); - ed-><a href="ntqwidget.html#show">show</a>(); + ed-><a href="tqwidget.html#setCaption">setCaption</a>("TQt Example - Application"); + ed-><a href="tqwidget.html#show">show</a>(); } void <a name="f461"></a>ApplicationWindow::choose() @@ -261,7 +261,7 @@ void <a name="f462"></a>ApplicationWindow::load( const <a href="ntqstring.html"> <a href="ntqtextstream.html">TQTextStream</a> ts( &f ); <a name="x1589"></a><a name="x1586"></a> e-><a href="ntqtextedit.html#setText">setText</a>( ts.<a href="ntqtextstream.html#read">read</a>() ); <a name="x1585"></a> e-><a href="ntqtextedit.html#setModified">setModified</a>( FALSE ); - <a href="ntqwidget.html#setCaption">setCaption</a>( fileName ); + <a href="tqwidget.html#setCaption">setCaption</a>( fileName ); <a href="ntqmainwindow.html#statusBar">statusBar</a>()->message( "Loaded document " + fileName, 2000 ); } @@ -287,7 +287,7 @@ void <a name="f463"></a>ApplicationWindow::save() e-><a href="ntqtextedit.html#setModified">setModified</a>( FALSE ); - <a href="ntqwidget.html#setCaption">setCaption</a>( filename ); + <a href="tqwidget.html#setCaption">setCaption</a>( filename ); <a href="ntqmainwindow.html#statusBar">statusBar</a>()->message( TQString( "File %1 saved" ).arg( filename ), 2000 ); } @@ -347,7 +347,7 @@ void <a name="f465"></a>ApplicationWindow::print() } } -<a name="x1592"></a>void ApplicationWindow::<a href="ntqwidget.html#closeEvent">closeEvent</a>( <a href="qcloseevent.html">TQCloseEvent</a>* ce ) +<a name="x1592"></a>void ApplicationWindow::<a href="tqwidget.html#closeEvent">closeEvent</a>( <a href="qcloseevent.html">TQCloseEvent</a>* ce ) { <a name="x1583"></a> if ( !e-><a href="ntqtextedit.html#isModified">isModified</a>() ) { <a name="x1545"></a> ce-><a href="qcloseevent.html#accept">accept</a>(); @@ -406,8 +406,8 @@ void <a name="f467"></a>ApplicationWindow::aboutTQt() int main( int argc, char ** argv ) { <a href="ntqapplication.html">TQApplication</a> a( argc, argv ); ApplicationWindow *mw = new ApplicationWindow(); - mw-><a href="ntqwidget.html#setCaption">setCaption</a>( "TQt Example - Application" ); -<a name="x1598"></a> mw-><a href="ntqwidget.html#show">show</a>(); + mw-><a href="tqwidget.html#setCaption">setCaption</a>( "TQt Example - Application" ); +<a name="x1598"></a> mw-><a href="tqwidget.html#show">show</a>(); <a name="x1599"></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>()) ); return a.<a href="ntqapplication.html#exec">exec</a>(); } |