diff options
Diffstat (limited to 'doc/html/simple-application-example.html')
-rw-r--r-- | doc/html/simple-application-example.html | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/doc/html/simple-application-example.html b/doc/html/simple-application-example.html index d69636988..764656365 100644 --- a/doc/html/simple-application-example.html +++ b/doc/html/simple-application-example.html @@ -110,8 +110,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>> @@ -243,7 +243,7 @@ void <a name="f460"></a>ApplicationWindow::newDoc() void <a name="f461"></a>ApplicationWindow::choose() { -<a name="x1549"></a> <a href="tqstring.html">TQString</a> fn = TQFileDialog::<a href="ntqfiledialog.html#getOpenFileName">getOpenFileName</a>( TQString::null, TQString::null, +<a name="x1549"></a> <a href="tqstring.html">TQString</a> fn = TQFileDialog::<a href="tqfiledialog.html#getOpenFileName">getOpenFileName</a>( TQString::null, TQString::null, this); if ( !fn.<a href="tqstring.html#isEmpty">isEmpty</a>() ) load( fn ); @@ -254,8 +254,8 @@ void <a name="f461"></a>ApplicationWindow::choose() void <a name="f462"></a>ApplicationWindow::load( const <a href="tqstring.html">TQString</a> &fileName ) { - <a href="ntqfile.html">TQFile</a> f( fileName ); -<a name="x1548"></a> 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 ); +<a name="x1548"></a> 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 ); @@ -274,8 +274,8 @@ void <a name="f463"></a>ApplicationWindow::save() } <a name="x1588"></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; @@ -283,7 +283,7 @@ void <a name="f463"></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 ); @@ -295,7 +295,7 @@ void <a name="f463"></a>ApplicationWindow::save() void <a name="f464"></a>ApplicationWindow::saveAs() { -<a name="x1550"></a> <a href="tqstring.html">TQString</a> fn = TQFileDialog::<a href="ntqfiledialog.html#getSaveFileName">getSaveFileName</a>( TQString::null, TQString::null, +<a name="x1550"></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; |