From 0582c90a9ed4b965629267713f51c0da7c38b39d Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Wed, 4 Sep 2024 11:53:23 +0900 Subject: Rename remaining ntq[m-r]* related files to equivalent tq* (except ntqmodules.h) Signed-off-by: Michele Calgaro --- doc/html/designer-manual-3.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'doc/html/designer-manual-3.html') 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::information( + int ans = TQMessageBox::information( this, "Color Tool -- Unsaved Changes", msg, "&Save", "Cancel", "&Abandon", @@ -600,9 +600,9 @@ body { background: #ffffff; color: black; } }

If the data has changed (m_changed 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 Save button the default button (pressed by Enter) and the Cancel button the escape button (pressed by Esc).

-

Since we're using a TQMessageBox we need to include the relevant header. (Right click "Includes (in Implementation)", then click New. Type "ntqmessagebox.h" and press Enter.)

+

Since we're using a TQMessageBox we need to include the relevant header. (Right click "Includes (in Implementation)", then click New. Type "tqmessagebox.h" and press Enter.)

You should now have added the following declaration to your includes (in implementation):

-