diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-09-04 11:53:23 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-09-04 13:56:43 +0900 |
commit | 0582c90a9ed4b965629267713f51c0da7c38b39d (patch) | |
tree | cae95e850081d0a7f2be6cef5837f43a28d53d2c /doc/html/designer-manual-3.html | |
parent | 39f8a475b4ec5c87a11a7e9300a30ef1c5b4a7e1 (diff) | |
download | tqt3-0582c90a9ed4b965629267713f51c0da7c38b39d.tar.gz tqt3-0582c90a9ed4b965629267713f51c0da7c38b39d.zip |
Rename remaining ntq[m-r]* related files to equivalent tq* (except ntqmodules.h)
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
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 ), |