diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-07-10 18:56:16 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-07-10 18:56:16 +0900 |
commit | 252a2ec8b0f0f9cf20c947737087b24a8185b588 (patch) | |
tree | b48be8863db3bc1c223ac270a258b5c1124cb0e3 /doc/html/tqaction-application-example.html | |
parent | 87d29563e3ccdeb7fea0197e262e667ef323ff9c (diff) | |
download | tqt3-252a2ec8b0f0f9cf20c947737087b24a8185b588.tar.gz tqt3-252a2ec8b0f0f9cf20c947737087b24a8185b588.zip |
Rename IO and network class nt* related files to equivalent tq*
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'doc/html/tqaction-application-example.html')
-rw-r--r-- | doc/html/tqaction-application-example.html | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/doc/html/tqaction-application-example.html b/doc/html/tqaction-application-example.html index 0adf7d842..d81f8b19c 100644 --- a/doc/html/tqaction-application-example.html +++ b/doc/html/tqaction-application-example.html @@ -111,8 +111,8 @@ private: #include <<a href="tqpopupmenu-h.html">tqpopupmenu.h</a>> #include <<a href="tqmenubar-h.html">tqmenubar.h</a>> #include <<a href="tqtextedit-h.html">tqtextedit.h</a>> -#include <<a href="qfile-h.html">ntqfile.h</a>> -#include <<a href="qfiledialog-h.html">ntqfiledialog.h</a>> +#include <<a href="tqfile-h.html">tqfile.h</a>> +#include <<a href="tqfiledialog-h.html">tqfiledialog.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>> @@ -256,7 +256,7 @@ void <a name="f376"></a>ApplicationWindow::newDoc() void <a name="f377"></a>ApplicationWindow::choose() { -<a name="x1132"></a> <a href="tqstring.html">TQString</a> fn = TQFileDialog::<a href="ntqfiledialog.html#getOpenFileName">getOpenFileName</a>( <a href="tqstring.html#TQString-null">TQString::null</a>, TQString::null, +<a name="x1132"></a> <a href="tqstring.html">TQString</a> fn = TQFileDialog::<a href="tqfiledialog.html#getOpenFileName">getOpenFileName</a>( <a href="tqstring.html#TQString-null">TQString::null</a>, TQString::null, this); if ( !fn.<a href="tqstring.html#isEmpty">isEmpty</a>() ) load( fn ); @@ -267,8 +267,8 @@ void <a name="f377"></a>ApplicationWindow::choose() void <a name="f378"></a>ApplicationWindow::load( const <a href="tqstring.html">TQString</a> &fileName ) { - <a href="ntqfile.html">TQFile</a> f( fileName ); - if ( !f.<a href="ntqfile.html#open">open</a>( <a href="ntqfile.html#open">IO_ReadOnly</a> ) ) + <a href="tqfile.html">TQFile</a> f( fileName ); + if ( !f.<a href="tqfile.html#open">open</a>( <a href="tqfile.html#open">IO_ReadOnly</a> ) ) return; <a href="tqtextstream.html">TQTextStream</a> ts( &f ); @@ -287,8 +287,8 @@ void <a name="f379"></a>ApplicationWindow::save() } <a name="x1170"></a> <a href="tqstring.html">TQString</a> text = e-><a href="tqtextedit.html#text">text</a>(); - <a href="ntqfile.html">TQFile</a> f( filename ); - if ( !f.<a href="ntqfile.html#open">open</a>( <a href="ntqfile.html#open">IO_WriteOnly</a> ) ) { + <a href="tqfile.html">TQFile</a> f( filename ); + if ( !f.<a href="tqfile.html#open">open</a>( <a href="tqfile.html#open">IO_WriteOnly</a> ) ) { <a href="tqmainwindow.html#statusBar">statusBar</a>()->message( TQString("Could not write to %1").arg(filename), 2000 ); return; @@ -296,7 +296,7 @@ void <a name="f379"></a>ApplicationWindow::save() <a href="tqtextstream.html">TQTextStream</a> t( &f ); t << text; - f.<a href="ntqfile.html#close">close</a>(); + f.<a href="tqfile.html#close">close</a>(); e-><a href="tqtextedit.html#setModified">setModified</a>( FALSE ); @@ -308,7 +308,7 @@ void <a name="f379"></a>ApplicationWindow::save() void <a name="f380"></a>ApplicationWindow::saveAs() { -<a name="x1133"></a> <a href="tqstring.html">TQString</a> fn = TQFileDialog::<a href="ntqfiledialog.html#getSaveFileName">getSaveFileName</a>( TQString::null, TQString::null, +<a name="x1133"></a> <a href="tqstring.html">TQString</a> fn = TQFileDialog::<a href="tqfiledialog.html#getSaveFileName">getSaveFileName</a>( TQString::null, TQString::null, this ); if ( !fn.<a href="tqstring.html#isEmpty">isEmpty</a>() ) { filename = fn; |