From 7552c6d73043b1040139033f6864db48ae5446cf Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Tue, 2 Jul 2024 21:37:22 +0900 Subject: Rename main window nt* related files to equivalent tq*. The file "ntqsession.h" was totally unnecessary and has been removed. Signed-off-by: Michele Calgaro --- doc/html/ntqwhatsthis.html | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'doc/html/ntqwhatsthis.html') diff --git a/doc/html/ntqwhatsthis.html b/doc/html/ntqwhatsthis.html index 6a26b2e0b..1aeaf0655 100644 --- a/doc/html/ntqwhatsthis.html +++ b/doc/html/ntqwhatsthis.html @@ -76,9 +76,9 @@ something else. will not work.)

To add "What's this?" text to a widget you simply call TQWhatsThis::add() for the widget. For example, to assign text to a -menu item, call TQMenuData::setWhatsThis(); for a global +menu item, call TQMenuData::setWhatsThis(); for a global accelerator key, call TQAccel::setWhatsThis() and If you're using -actions, use TQAction::setWhatsThis(). +actions, use TQAction::setWhatsThis().

The text can be either rich text or plain text. If you specify a rich text formatted string, it will be rendered using the default stylesheet. This makes it possible to embed images. See @@ -90,8 +90,8 @@ stylesheet. This makes it possible to embed images. See "You can also select the <b>Open</b> command " "from the <b>File</b> menu.</p>"; TQMimeSourceFactory::defaultFactory()->setPixmap( "document-open", - fileOpenAction->iconSet().pixmap() ); - fileOpenAction->setWhatsThis( fileOpenText ); + fileOpenAction->iconSet().pixmap() ); + fileOpenAction->setWhatsThis( fileOpenText );

An alternative way to enter "What's this?" mode is to use the ready-made tool bar tool button from @@ -101,8 +101,8 @@ user switches into "What's this?" mode. If they now click on a widget the appropriate help text is shown. The mode is left when help is given or when the user presses Esc.

-

If you are using TQMainWindow you can also use the -TQMainWindow::whatsThis() slot to invoke the mode from a menu item. +

If you are using TQMainWindow you can also use the +TQMainWindow::whatsThis() slot to invoke the mode from a menu item.

For more control you can create a dedicated TQWhatsThis object for a special widget. By subclassing and reimplementing TQWhatsThis::text() it is possible to have different help texts, @@ -114,7 +114,7 @@ manually see TQWidget::customWhatsThis The What's This object can be removed using TQWhatsThis::remove(), although this is rarely necessary because it is automatically removed when the widget is destroyed. -

See also TQToolTip and Help System. +

See also TQToolTip and Help System.


Member Function Documentation

TQWhatsThis::TQWhatsThis ( TQWidget * widget ) @@ -216,9 +216,9 @@ subclassed to make the text that is displayed position dependent. consideration as well when looking for what's this help text.

See also add(). -

TQToolButton * TQWhatsThis::whatsThisButton ( TQWidget * parent ) [static] +

TQToolButton * TQWhatsThis::whatsThisButton ( TQWidget * parent ) [static]

-Creates a TQToolButton preconfigured to enter "What's this?" mode +Creates a TQToolButton preconfigured to enter "What's this?" mode when clicked. You will often use this with a tool bar as parent:
         (void) TQWhatsThis::whatsThisButton( my_help_tool_bar );
-- 
cgit v1.2.1