diff options
Diffstat (limited to 'doc/html/tutorial2-07.html')
-rw-r--r-- | doc/html/tutorial2-07.html | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/doc/html/tutorial2-07.html b/doc/html/tutorial2-07.html index c40431813..c932c4da6 100644 --- a/doc/html/tutorial2-07.html +++ b/doc/html/tutorial2-07.html @@ -40,8 +40,8 @@ body { background: #ffffff; color: black; } <pre> void ChartForm::load( const <a href="tqstring.html">TQString</a>& filename ) { - <a href="ntqfile.html">TQFile</a> file( filename ); - if ( !file.<a href="ntqfile.html#open">open</a>( <a href="ntqfile.html#open">IO_ReadOnly</a> ) ) { + <a href="tqfile.html">TQFile</a> file( filename ); + if ( !file.<a href="tqfile.html#open">open</a>( <a href="tqfile.html#open">IO_ReadOnly</a> ) ) { <a href="tqmainwindow.html#statusBar">statusBar</a>()->message( TQString( "Failed to load \'%1\'" ). arg( filename ), 2000 ); return; @@ -57,7 +57,7 @@ body { background: #ffffff; color: black; } ts >> element; if ( element.isValid() ) m_elements[i++] = element; -</pre><pre> <a name="x2590"></a> file.<a href="ntqfile.html#close">close</a>(); +</pre><pre> <a name="x2590"></a> file.<a href="tqfile.html#close">close</a>(); </pre> <p> <pre> <a href="tqwidget.html#setCaption">setCaption</a>( TQString( "Chart -- %1" ).arg( filename ) ); updateRecentFiles( filename ); @@ -75,8 +75,8 @@ draw the chart and mark it as unchanged. </h2> <a name="2"></a><p> <pre> void ChartForm::fileSave() { -</pre><pre> <a href="ntqfile.html">TQFile</a> file( m_filename ); - <a name="x2591"></a> if ( !file.<a href="ntqfile.html#open">open</a>( <a href="ntqfile.html#open">IO_WriteOnly</a> ) ) { +</pre><pre> <a href="tqfile.html">TQFile</a> file( m_filename ); + <a name="x2591"></a> if ( !file.<a href="tqfile.html#open">open</a>( <a href="tqfile.html#open">IO_WriteOnly</a> ) ) { <a href="tqmainwindow.html#statusBar">statusBar</a>()->message( TQString( "Failed to save \'%1\'" ). arg( m_filename ), 2000 ); return; @@ -86,7 +86,7 @@ draw the chart and mark it as unchanged. if ( m_elements[i].isValid() ) ts << m_elements[i]; - file.<a href="ntqfile.html#close">close</a>(); + file.<a href="tqfile.html#close">close</a>(); <a href="tqwidget.html#setCaption">setCaption</a>( TQString( "Chart -- %1" ).arg( m_filename ) ); <a href="tqmainwindow.html#statusBar">statusBar</a>()->message( TQString( "Saved \'%1\'" ).arg( m_filename ), 2000 ); |