summaryrefslogtreecommitdiffstats
path: root/doc/html/qaction-application-example.html
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-06-02 23:07:22 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-06-02 23:22:42 +0900
commit8ac0e970e4464d9f8f73c0fb34a178ff135be8c3 (patch)
treeb95884617b9a37accc843676d5d42be4116a3f54 /doc/html/qaction-application-example.html
parent68b81013e8668f50fc18b7e26a520ec93a7a1251 (diff)
downloadtqt3-8ac0e970e4464d9f8f73c0fb34a178ff135be8c3.tar.gz
tqt3-8ac0e970e4464d9f8f73c0fb34a178ff135be8c3.zip
Rename ntqwidget* related files to equivalent tqwidget*
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'doc/html/qaction-application-example.html')
-rw-r--r--doc/html/qaction-application-example.html18
1 files changed, 9 insertions, 9 deletions
diff --git a/doc/html/qaction-application-example.html b/doc/html/qaction-application-example.html
index 3da2205d4..101052362 100644
--- a/doc/html/qaction-application-example.html
+++ b/doc/html/qaction-application-example.html
@@ -185,7 +185,7 @@ private:
fileCloseAction = new <a href="ntqaction.html">TQAction</a>( "Close", "&amp;Close", CTRL+Key_W, this,
"close" );
<a href="tqobject.html#connect">connect</a>( fileCloseAction, TQ_SIGNAL( <a href="ntqaction.html#activated">activated</a>() ) , this,
- TQ_SLOT( <a href="ntqwidget.html#close">close</a>() ) );
+ TQ_SLOT( <a href="tqwidget.html#close">close</a>() ) );
fileQuitAction = new <a href="ntqaction.html">TQAction</a>( "Quit", "&amp;Quit", CTRL+Key_Q, this,
"quit" );
@@ -233,11 +233,11 @@ private:
// create and define the central widget
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 );
}
@@ -251,7 +251,7 @@ ApplicationWindow::~ApplicationWindow()
void <a name="f376"></a>ApplicationWindow::newDoc()
{
ApplicationWindow *ed = new ApplicationWindow;
- ed-&gt;<a href="ntqwidget.html#show">show</a>();
+ ed-&gt;<a href="tqwidget.html#show">show</a>();
}
void <a name="f377"></a>ApplicationWindow::choose()
@@ -274,7 +274,7 @@ void <a name="f378"></a>ApplicationWindow::load( const <a href="ntqstring.html">
<a href="ntqtextstream.html">TQTextStream</a> ts( &amp;f );
<a name="x1171"></a><a name="x1168"></a> e-&gt;<a href="ntqtextedit.html#setText">setText</a>( ts.<a href="ntqtextstream.html#read">read</a>() );
<a name="x1167"></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 );
}
@@ -300,7 +300,7 @@ void <a name="f379"></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 );
}
@@ -360,7 +360,7 @@ void <a name="f381"></a>ApplicationWindow::print()
}
}
-<a name="x1173"></a>void ApplicationWindow::<a href="ntqwidget.html#closeEvent">closeEvent</a>( <a href="qcloseevent.html">TQCloseEvent</a>* ce )
+<a name="x1173"></a>void ApplicationWindow::<a href="tqwidget.html#closeEvent">closeEvent</a>( <a href="qcloseevent.html">TQCloseEvent</a>* ce )
{
<a name="x1165"></a> if ( !e-&gt;<a href="ntqtextedit.html#isModified">isModified</a>() ) {
<a name="x1128"></a> ce-&gt;<a href="qcloseevent.html#accept">accept</a>();
@@ -419,8 +419,8 @@ void <a name="f383"></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>( "Document 1" );
-<a name="x1178"></a> mw-&gt;<a href="ntqwidget.html#show">show</a>();
+ mw-&gt;<a href="tqwidget.html#setCaption">setCaption</a>( "Document 1" );
+<a name="x1178"></a> mw-&gt;<a href="tqwidget.html#show">show</a>();
<a name="x1179"></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>();
}