diff options
Diffstat (limited to 'doc/html/ntqwhatsthis.html')
-rw-r--r-- | doc/html/ntqwhatsthis.html | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/doc/html/ntqwhatsthis.html b/doc/html/ntqwhatsthis.html index b2ee114ac..380dec2ca 100644 --- a/doc/html/ntqwhatsthis.html +++ b/doc/html/ntqwhatsthis.html @@ -129,7 +129,7 @@ than using the text assigned by <a href="#add">add</a>(). </h3> Destroys the object and frees any allocated resources. -<h3 class=fn>void <a name="add"></a>TQWhatsThis::add ( <a href="tqwidget.html">TQWidget</a> * widget, const <a href="ntqstring.html">TQString</a> & text )<tt> [static]</tt> +<h3 class=fn>void <a name="add"></a>TQWhatsThis::add ( <a href="tqwidget.html">TQWidget</a> * widget, const <a href="tqstring.html">TQString</a> & text )<tt> [static]</tt> </h3> Adds <em>text</em> as "What's this" help for <em>widget</em>. If the text is rich text formatted (i.e. it contains markup) it will be rendered @@ -139,17 +139,17 @@ not be explicitly removed. <p> <p>See also <a href="#remove">remove</a>(). <p>Examples: <a href="simple-application-example.html#x1591">application/application.cpp</a>, <a href="helpsystem-example.html#x2698">helpsystem/mainwindow.cpp</a>, and <a href="mdi-example.html#x2075">mdi/application.cpp</a>. -<h3 class=fn>bool <a name="clicked"></a>TQWhatsThis::clicked ( const <a href="ntqstring.html">TQString</a> & href )<tt> [virtual]</tt> +<h3 class=fn>bool <a name="clicked"></a>TQWhatsThis::clicked ( const <a href="tqstring.html">TQString</a> & href )<tt> [virtual]</tt> </h3> <p> This virtual function is called when the user clicks inside the "What's this?" window. <em>href</em> is the link the user clicked on, or -<a href="ntqstring.html#TQString-null">TQString::null</a> if there was no link. +<a href="tqstring.html#TQString-null">TQString::null</a> if there was no link. <p> If the function returns TRUE (the default), the "What's this?" window is closed, otherwise it remains visible. <p> The default implementation ignores <em>href</em> and returns TRUE. -<h3 class=fn>void <a name="display"></a>TQWhatsThis::display ( const <a href="ntqstring.html">TQString</a> & text, const <a href="ntqpoint.html">TQPoint</a> & pos = TQCursor::pos ( ), <a href="tqwidget.html">TQWidget</a> * w = 0 )<tt> [static]</tt> +<h3 class=fn>void <a name="display"></a>TQWhatsThis::display ( const <a href="tqstring.html">TQString</a> & text, const <a href="ntqpoint.html">TQPoint</a> & pos = TQCursor::pos ( ), <a href="tqwidget.html">TQWidget</a> * w = 0 )<tt> [static]</tt> </h3> Display <em>text</em> in a help window at the global screen position <em>pos</em>. <p> If widget <em>w</em> is not 0 and has its own dedicated TQWhatsThis @@ -174,7 +174,7 @@ Returns TRUE if the application is in "What's this?" mode; otherwise returns FALSE. <p> <p>See also <a href="#enterWhatsThisMode">enterWhatsThisMode</a>() and <a href="#leaveWhatsThisMode">leaveWhatsThisMode</a>(). -<h3 class=fn>void <a name="leaveWhatsThisMode"></a>TQWhatsThis::leaveWhatsThisMode ( const <a href="ntqstring.html">TQString</a> & text = TQString::null, const <a href="ntqpoint.html">TQPoint</a> & pos = TQCursor::pos ( ), <a href="tqwidget.html">TQWidget</a> * w = 0 )<tt> [static]</tt> +<h3 class=fn>void <a name="leaveWhatsThisMode"></a>TQWhatsThis::leaveWhatsThisMode ( const <a href="tqstring.html">TQString</a> & text = TQString::null, const <a href="ntqpoint.html">TQPoint</a> & pos = TQCursor::pos ( ), <a href="tqwidget.html">TQWidget</a> * w = 0 )<tt> [static]</tt> </h3> Leaves "What's this?" question mode. <p> This function is used internally by widgets that support @@ -182,7 +182,7 @@ Leaves "What's this?" question mode. An example of such a widget is TQPopupMenu: menus still work normally in "What's this?" mode but also provide help texts for individual menu items. -<p> If <em>text</em> is not <a href="ntqstring.html#TQString-null">TQString::null</a>, a "What's this?" help window is +<p> If <em>text</em> is not <a href="tqstring.html#TQString-null">TQString::null</a>, a "What's this?" help window is displayed at the global screen position <em>pos</em>. If widget <em>w</em> is not 0 and has its own dedicated TQWhatsThis object, this object will receive <a href="#clicked">clicked</a>() messages when the user clicks on hyperlinks @@ -199,16 +199,16 @@ This happens automatically if the widget is destroyed. </h3> Sets the font for all "What's this?" helps to <em>font</em>. -<h3 class=fn><a href="ntqstring.html">TQString</a> <a name="text"></a>TQWhatsThis::text ( const <a href="ntqpoint.html">TQPoint</a> & )<tt> [virtual]</tt> +<h3 class=fn><a href="tqstring.html">TQString</a> <a name="text"></a>TQWhatsThis::text ( const <a href="ntqpoint.html">TQPoint</a> & )<tt> [virtual]</tt> </h3> This virtual function returns the text for position <em>p</em> in the widget that this "What's this?" object documents. If there is no -"What's this?" text for the position, <a href="ntqstring.html#TQString-null">TQString::null</a> is returned. +"What's this?" text for the position, <a href="tqstring.html#TQString-null">TQString::null</a> is returned. <p> The default implementation returns TQString::null. -<h3 class=fn><a href="ntqstring.html">TQString</a> <a name="textFor"></a>TQWhatsThis::textFor ( <a href="tqwidget.html">TQWidget</a> * w, const <a href="ntqpoint.html">TQPoint</a> & pos = TQPoint ( ), bool includeParents = FALSE )<tt> [static]</tt> +<h3 class=fn><a href="tqstring.html">TQString</a> <a name="textFor"></a>TQWhatsThis::textFor ( <a href="tqwidget.html">TQWidget</a> * w, const <a href="ntqpoint.html">TQPoint</a> & pos = TQPoint ( ), bool includeParents = FALSE )<tt> [static]</tt> </h3> -Returns the what's this text for widget <em>w</em> or <a href="ntqstring.html#TQString-null">TQString::null</a> if +Returns the what's this text for widget <em>w</em> or <a href="tqstring.html#TQString-null">TQString::null</a> if there is no "What's this?" help for the widget. <em>pos</em> contains the mouse position; this is useful, for example, if you've subclassed to make the text that is displayed position dependent. |