diff options
Diffstat (limited to 'doc/html/tutorial2-05.html')
-rw-r--r-- | doc/html/tutorial2-05.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/html/tutorial2-05.html b/doc/html/tutorial2-05.html index e4b2ea32b..3271b7df7 100644 --- a/doc/html/tutorial2-05.html +++ b/doc/html/tutorial2-05.html @@ -332,7 +332,7 @@ already have a unique color (which they can change of course). msg = TQString( "Chart '%1'\n" ).arg( m_filename ); msg += "has been changed."; - int x = TQMessageBox::<a href="ntqmessagebox.html#information">information</a>( this, "Chart -- Unsaved Changes", + int x = TQMessageBox::<a href="tqmessagebox.html#information">information</a>( this, "Chart -- Unsaved Changes", msg, "&Save", "Cancel", "&Abandon", 0, 1 ); switch( x ) { @@ -405,7 +405,7 @@ the user wishes to load. If we get a filename we call load(). if ( !filename.<a href="tqstring.html#isEmpty">isEmpty</a>() ) { int answer = 0; <a name="x2563"></a> if ( TQFile::<a href="tqfile.html#exists">exists</a>( filename ) ) - <a name="x2566"></a> answer = TQMessageBox::<a href="ntqmessagebox.html#warning">warning</a>( + <a name="x2566"></a> answer = TQMessageBox::<a href="tqmessagebox.html#warning">warning</a>( this, "Chart -- Overwrite File", TQString( "Overwrite\n\'%1\'?" ). arg( filename ), @@ -422,7 +422,7 @@ the user wishes to load. If we get a filename we call load(). </pre> <p> This function calls the static <a href="tqfiledialog.html#getSaveFileName">TQFileDialog::getSaveFileName</a>() to get the name of the file to save the data in. If the file exists we use a -<a href="ntqmessagebox.html#warning">TQMessageBox::warning</a>() to notify the user and give them the option of +<a href="tqmessagebox.html#warning">TQMessageBox::warning</a>() to notify the user and give them the option of abandoning the save. If the file is to be saved we update the recently opened files list and call fileSave() (covered in <a href="tutorial2-07.html">File Handling</a>) to perform the save. <p> <h2> Managing a list of Recently Opened Files |