summaryrefslogtreecommitdiffstats
path: root/doc/html/simple-application-example.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/html/simple-application-example.html')
-rw-r--r--doc/html/simple-application-example.html20
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-&gt;<a href="ntqmenudata.html#insertSeparator">insertSeparator</a>();
- file-&gt;<a href="ntqmenudata.html#insertItem">insertItem</a>( "&amp;Close", this, TQ_SLOT(<a href="ntqwidget.html#close">close</a>()), CTRL+Key_W );
+ file-&gt;<a href="ntqmenudata.html#insertItem">insertItem</a>( "&amp;Close", this, TQ_SLOT(<a href="tqwidget.html#close">close</a>()), CTRL+Key_W );
<a name="x1544"></a> file-&gt;<a href="ntqmenudata.html#insertItem">insertItem</a>( "&amp;Quit", tqApp, TQ_SLOT( <a href="ntqapplication.html#closeAllWindows">closeAllWindows</a>() ), CTRL+Key_Q );
@@ -219,11 +219,11 @@ private:
help-&gt;<a href="ntqmenudata.html#insertItem">insertItem</a>( "What's &amp;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-&gt;<a href="ntqwidget.html#setFocus">setFocus</a>();
+ e-&gt;<a href="tqwidget.html#setFocus">setFocus</a>();
<a href="ntqmainwindow.html#setCentralWidget">setCentralWidget</a>( e );
<a href="ntqmainwindow.html#statusBar">statusBar</a>()-&gt;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-&gt;<a href="ntqwidget.html#setCaption">setCaption</a>("TQt Example - Application");
- ed-&gt;<a href="ntqwidget.html#show">show</a>();
+ ed-&gt;<a href="tqwidget.html#setCaption">setCaption</a>("TQt Example - Application");
+ ed-&gt;<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( &amp;f );
<a name="x1589"></a><a name="x1586"></a> e-&gt;<a href="ntqtextedit.html#setText">setText</a>( ts.<a href="ntqtextstream.html#read">read</a>() );
<a name="x1585"></a> e-&gt;<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>()-&gt;message( "Loaded document " + fileName, 2000 );
}
@@ -287,7 +287,7 @@ void <a name="f463"></a>ApplicationWindow::save()
e-&gt;<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>()-&gt;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-&gt;<a href="ntqtextedit.html#isModified">isModified</a>() ) {
<a name="x1545"></a> ce-&gt;<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-&gt;<a href="ntqwidget.html#setCaption">setCaption</a>( "TQt Example - Application" );
-<a name="x1598"></a> mw-&gt;<a href="ntqwidget.html#show">show</a>();
+ mw-&gt;<a href="tqwidget.html#setCaption">setCaption</a>( "TQt Example - Application" );
+<a name="x1598"></a> mw-&gt;<a href="tqwidget.html#show">show</a>();
<a name="x1599"></a> a.<a href="tqobject.html#connect">connect</a>( &amp;a, TQ_SIGNAL(<a href="ntqapplication.html#lastWindowClosed">lastWindowClosed</a>()), &amp;a, TQ_SLOT(<a href="ntqapplication.html#quit">quit</a>()) );
return a.<a href="ntqapplication.html#exec">exec</a>();
}