diff options
Diffstat (limited to 'doc/html/designer-manual-3.html')
-rw-r--r-- | doc/html/designer-manual-3.html | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/html/designer-manual-3.html b/doc/html/designer-manual-3.html index a70d05e7c..37321c869 100644 --- a/doc/html/designer-manual-3.html +++ b/doc/html/designer-manual-3.html @@ -585,7 +585,7 @@ body { background: #ffffff; color: black; } else msg = TQString( "Colors '%1'\n" ).arg( m_filename ); msg += TQString( "has been changed." ); - int ans = TQMessageBox::<a href="ntqmessagebox.html#information">information</a>( + int ans = TQMessageBox::<a href="tqmessagebox.html#information">information</a>( this, "Color Tool -- Unsaved Changes", msg, "&Save", "Cancel", "&Abandon", @@ -600,9 +600,9 @@ body { background: #ffffff; color: black; } } </pre> <p>If the data has changed (<tt>m_changed</tt> is TRUE), we present the user with a message box offering the option of saving their data, or cancelling the current operation (e.g. not loading a new file, or not creating a new set of colors), or abandoning their changes and continuing. We make the <b>Save</b> button the default button (pressed by <b>Enter</b>) and the <b>Cancel</b> button the escape button (pressed by <b>Esc</b>).</p> -<p>Since we're using a <a href="ntqmessagebox.html">TQMessageBox</a> we need to include the relevant header. (Right click "Includes (in Implementation)", then click <b>New</b>. Type "ntqmessagebox.h" and press <b>Enter</b>.)</p> +<p>Since we're using a <a href="tqmessagebox.html">TQMessageBox</a> we need to include the relevant header. (Right click "Includes (in Implementation)", then click <b>New</b>. Type "tqmessagebox.h" and press <b>Enter</b>.)</p> <p>You should now have added the following declaration to your includes (in implementation):</p> -<ul><li><p>"ntqmessagebox.h"</p> +<ul><li><p>"tqmessagebox.h"</p> </ul><h4><a name="6-23"></a>fileOpen()</h4> <pre> void MainForm::fileOpen() { @@ -699,7 +699,7 @@ Captures: cap(1) cap(2) cap(3) cap(4) if ( ! filename.<a href="tqstring.html#isEmpty">isEmpty</a>() ) { int ans = 0; if ( TQFile::<a href="tqfile.html#exists">exists</a>( filename ) ) - ans = TQMessageBox::<a href="ntqmessagebox.html#warning">warning</a>( + ans = TQMessageBox::<a href="tqmessagebox.html#warning">warning</a>( this, "Color Tool -- Overwrite File", TQString( "Overwrite\n'%1'?" ). arg( filename ), |