diff options
Diffstat (limited to 'doc/html/addressbook-example.html')
-rw-r--r-- | doc/html/addressbook-example.html | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/doc/html/addressbook-example.html b/doc/html/addressbook-example.html index 1c838d793..c6210bcbe 100644 --- a/doc/html/addressbook-example.html +++ b/doc/html/addressbook-example.html @@ -110,7 +110,7 @@ protected: #include <<a href="tqmenubar-h.html">tqmenubar.h</a>> #include <<a href="tqstatusbar-h.html">tqstatusbar.h</a>> #include <<a href="qapplication-h.html">ntqapplication.h</a>> -#include <<a href="qfiledialog-h.html">ntqfiledialog.h</a>> +#include <<a href="tqfiledialog-h.html">tqfiledialog.h</a>> <a name="f263"></a>ABMainWindow::ABMainWindow() : <a href="tqmainwindow.html">TQMainWindow</a>( 0, "example addressbook application" ), @@ -171,7 +171,7 @@ void <a name="f269"></a>ABMainWindow::fileNew() void <a name="f270"></a>ABMainWindow::fileOpen() { -<a name="x567"></a> <a href="tqstring.html">TQString</a> fn = TQFileDialog::<a href="ntqfiledialog.html#getOpenFileName">getOpenFileName</a>( TQString::null, TQString::null, this ); +<a name="x567"></a> <a href="tqstring.html">TQString</a> fn = TQFileDialog::<a href="tqfiledialog.html#getOpenFileName">getOpenFileName</a>( TQString::null, TQString::null, this ); <a name="x571"></a> if ( !fn.<a href="tqstring.html#isEmpty">isEmpty</a>() ) { filename = fn; view->load( filename ); @@ -190,7 +190,7 @@ void <a name="f271"></a>ABMainWindow::fileSave() void <a name="f272"></a>ABMainWindow::fileSaveAs() { -<a name="x568"></a> <a href="tqstring.html">TQString</a> fn = TQFileDialog::<a href="ntqfiledialog.html#getSaveFileName">getSaveFileName</a>( TQString::null, TQString::null, this ); +<a name="x568"></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; fileSave(); @@ -289,7 +289,7 @@ protected: #include <<a href="qlineedit-h.html">ntqlineedit.h</a>> #include <<a href="qlabel-h.html">ntqlabel.h</a>> #include <<a href="qcheckbox-h.html">ntqcheckbox.h</a>> -#include <<a href="qfile-h.html">ntqfile.h</a>> +#include <<a href="tqfile-h.html">tqfile.h</a>> #include <<a href="tqtextstream-h.html">tqtextstream.h</a>> <a name="f274"></a>ABCentralWidget::ABCentralWidget( <a href="tqwidget.html">TQWidget</a> *parent, const char *name ) @@ -309,8 +309,8 @@ void <a name="f275"></a>ABCentralWidget::save( const <a href="tqstring.html">TQS <a name="x590"></a> if ( !listView-><a href="ntqlistview.html#firstChild">firstChild</a>() ) return; - <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> ) ) return; <a href="tqtextstream.html">TQTextStream</a> t( &f ); @@ -322,15 +322,15 @@ void <a name="f275"></a>ABCentralWidget::save( const <a href="tqstring.html">TQS for ( unsigned int i = 0; i < 4; i++ ) t << it.<a href="qlistviewitemiterator.html#current">current</a>()->text( i ) << "\n"; - f.<a href="ntqfile.html#close">close</a>(); + f.<a href="tqfile.html#close">close</a>(); } void <a name="f276"></a>ABCentralWidget::load( const <a href="tqstring.html">TQString</a> &filename ) { <a name="x586"></a> listView-><a href="ntqlistview.html#clear">clear</a>(); - <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> t( &f ); @@ -342,7 +342,7 @@ void <a name="f276"></a>ABCentralWidget::load( const <a href="tqstring.html">TQS <a name="x602"></a><a name="x595"></a> item-><a href="qlistviewitem.html#setText">setText</a>( i, t.<a href="tqtextstream.html#readLine">readLine</a>() ); } - f.<a href="ntqfile.html#close">close</a>(); + f.<a href="tqfile.html#close">close</a>(); } void <a name="f277"></a>ABCentralWidget::setupTabWidget() |