diff options
Diffstat (limited to 'doc/man/man3/tqtooltip.3qt')
-rw-r--r-- | doc/man/man3/tqtooltip.3qt | 56 |
1 files changed, 28 insertions, 28 deletions
diff --git a/doc/man/man3/tqtooltip.3qt b/doc/man/man3/tqtooltip.3qt index 3b6fcf38d..83810cc86 100644 --- a/doc/man/man3/tqtooltip.3qt +++ b/doc/man/man3/tqtooltip.3qt @@ -16,10 +16,10 @@ Inherits Qt. .SS "Public Members" .in +1c .ti -1c -.BI "\fBQToolTip\fR ( QWidget * widget, QToolTipGroup * group = 0 )" +.BI "\fBQToolTip\fR ( TQWidget * widget, QToolTipGroup * group = 0 )" .br .ti -1c -.BI "QWidget * \fBparentWidget\fR () const" +.BI "TQWidget * \fBparentWidget\fR () const" .br .ti -1c .BI "QToolTipGroup * \fBgroup\fR () const" @@ -28,25 +28,25 @@ Inherits Qt. .SS "Static Public Members" .in +1c .ti -1c -.BI "void \fBadd\fR ( QWidget * widget, const QString & text )" +.BI "void \fBadd\fR ( TQWidget * widget, const TQString & text )" .br .ti -1c -.BI "void \fBadd\fR ( QWidget * widget, const QString & text, QToolTipGroup * group, const QString & longText )" +.BI "void \fBadd\fR ( TQWidget * widget, const TQString & text, QToolTipGroup * group, const TQString & longText )" .br .ti -1c -.BI "void \fBremove\fR ( QWidget * widget )" +.BI "void \fBremove\fR ( TQWidget * widget )" .br .ti -1c -.BI "void \fBadd\fR ( QWidget * widget, const QRect & rect, const QString & text )" +.BI "void \fBadd\fR ( TQWidget * widget, const QRect & rect, const TQString & text )" .br .ti -1c -.BI "void \fBadd\fR ( QWidget * widget, const QRect & rect, const QString & text, QToolTipGroup * group, const QString & groupText )" +.BI "void \fBadd\fR ( TQWidget * widget, const QRect & rect, const TQString & text, QToolTipGroup * group, const TQString & groupText )" .br .ti -1c -.BI "void \fBremove\fR ( QWidget * widget, const QRect & rect )" +.BI "void \fBremove\fR ( TQWidget * widget, const QRect & rect )" .br .ti -1c -.BI "QString \fBtextFor\fR ( QWidget * widget, const QPoint & pos = QPoint ( ) )" +.BI "TQString \fBtextFor\fR ( TQWidget * widget, const QPoint & pos = QPoint ( ) )" .br .ti -1c .BI "void \fBhide\fR ()" @@ -85,16 +85,16 @@ Inherits Qt. .BI "virtual void \fBmaybeTip\fR ( const QPoint & p ) = 0" .br .ti -1c -.BI "void \fBtip\fR ( const QRect & rect, const QString & text )" +.BI "void \fBtip\fR ( const QRect & rect, const TQString & text )" .br .ti -1c -.BI "void \fBtip\fR ( const QRect & rect, const QString & text, const QString & groupText )" +.BI "void \fBtip\fR ( const QRect & rect, const TQString & text, const TQString & groupText )" .br .ti -1c -.BI "void \fBtip\fR ( const QRect & rect, const QString & text, const QRect & geometry )" +.BI "void \fBtip\fR ( const QRect & rect, const TQString & text, const QRect & geometry )" .br .ti -1c -.BI "void \fBtip\fR ( const QRect & rect, const QString & text, const QString & groupText, const QRect & geometry )" +.BI "void \fBtip\fR ( const QRect & rect, const TQString & text, const TQString & groupText, const QRect & geometry )" .br .ti -1c .BI "void \fBclear\fR ()" @@ -165,12 +165,12 @@ The global tooltip font and palette can be set with the static setFont() and set .PP See also QStatusBar, QWhatsThis, QToolTipGroup, GUI Design Handbook: Tool Tip, and Help System. .SH MEMBER FUNCTION DOCUMENTATION -.SH "QToolTip::QToolTip ( QWidget * widget, QToolTipGroup * group = 0 )" +.SH "QToolTip::QToolTip ( TQWidget * widget, QToolTipGroup * group = 0 )" Constructs a tool tip object. This is only necessary if you need tool tips on regions that can move within the widget (most often because the widget's contents can scroll). .PP \fIwidget\fR is the widget you want to add dynamic tool tips to and \fIgroup\fR (optional) is the tool tip group they should belong to. .PP -\fBWarning:\fR QToolTip is not a subclass of QObject, so the instance of QToolTip is not deleted when \fIwidget\fR is deleted. +\fBWarning:\fR QToolTip is not a subclass of TQObject, so the instance of QToolTip is not deleted when \fIwidget\fR is deleted. .PP \fBWarning:\fR If you delete the tool tip before you have deleted \fIwidget\fR then you need to make sure you call remove() yourself from \fIwidget\fR in your reimplemented QToolTip destructor. .PP @@ -187,14 +187,14 @@ Constructs a tool tip object. This is only necessary if you need tool tips on re .fi .PP See also maybeTip(). -.SH "void QToolTip::add ( QWidget * widget, const QString & text )\fC [static]\fR" +.SH "void QToolTip::add ( TQWidget * widget, const TQString & text )\fC [static]\fR" Adds a tool tip to \fIwidget\fR. \fItext\fR is the text to be shown in the tool tip. .PP This is the most common entry point to the QToolTip class; it is suitable for adding tool tips to buttons, checkboxes, comboboxes and so on. .PP Examples: .)l helpsystem/mainwindow.cpp, qdir/qdir.cpp, scribble/scribble.cpp, and tooltip/tooltip.cpp. -.SH "void QToolTip::add ( QWidget * widget, const QString & text, QToolTipGroup * group, const QString & longText )\fC [static]\fR" +.SH "void QToolTip::add ( TQWidget * widget, const TQString & text, QToolTipGroup * group, const TQString & longText )\fC [static]\fR" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Adds a tool tip to \fIwidget\fR and to tool tip group \fIgroup\fR. @@ -202,11 +202,11 @@ Adds a tool tip to \fIwidget\fR and to tool tip group \fIgroup\fR. \fItext\fR is the text shown in the tool tip and \fIlongText\fR is the text emitted from \fIgroup\fR. .PP Normally, \fIlongText\fR is shown in a status bar or similar. -.SH "void QToolTip::add ( QWidget * widget, const QRect & rect, const QString & text )\fC [static]\fR" +.SH "void QToolTip::add ( TQWidget * widget, const QRect & rect, const TQString & text )\fC [static]\fR" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Adds a tool tip to a fixed rectangle, \fIrect\fR, within \fIwidget\fR. \fItext\fR is the text shown in the tool tip. -.SH "void QToolTip::add ( QWidget * widget, const QRect & rect, const QString & text, QToolTipGroup * group, const QString & groupText )\fC [static]\fR" +.SH "void QToolTip::add ( TQWidget * widget, const QRect & rect, const TQString & text, QToolTipGroup * group, const TQString & groupText )\fC [static]\fR" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Adds a tool tip to an entire \fIwidget\fR and to tool tip group \fIgroup\fR. The tooltip will disappear when the mouse leaves the \fIrect\fR. @@ -265,17 +265,17 @@ Examples: Returns the palette common to all tool tips. .PP See also setPalette(). -.SH "QWidget * QToolTip::parentWidget () const" +.SH "TQWidget * QToolTip::parentWidget () const" Returns the widget this QToolTip applies to. .PP The tool tip is destroyed automatically when the parent widget is destroyed. .PP See also group(). -.SH "void QToolTip::remove ( QWidget * widget )\fC [static]\fR" +.SH "void QToolTip::remove ( TQWidget * widget )\fC [static]\fR" Removes the tool tip from \fIwidget\fR. .PP If there is more than one tool tip on \fIwidget\fR, only the one covering the entire widget is removed. -.SH "void QToolTip::remove ( QWidget * widget, const QRect & rect )\fC [static]\fR" +.SH "void QToolTip::remove ( TQWidget * widget, const QRect & rect )\fC [static]\fR" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Removes any tool tip for \fIrect\fR from \fIwidget\fR. @@ -299,19 +299,19 @@ Sets the palette for all tool tips to \fIpalette\fR. See also palette(). .SH "void QToolTip::setWakeUpDelay ( int i )\fC [static]\fR" Sets the wakeup delay for all tooltips to \fIi\fR milliseconds. -.SH "QString QToolTip::textFor ( QWidget * widget, const QPoint & pos = QPoint ( ) )\fC [static]\fR" -Returns the tool tip text for \fIwidget\fR at position \fIpos\fR, or QString::null if there is no tool tip for the given widget and position. -.SH "void QToolTip::tip ( const QRect & rect, const QString & text )\fC [protected]\fR" +.SH "TQString QToolTip::textFor ( TQWidget * widget, const QPoint & pos = QPoint ( ) )\fC [static]\fR" +Returns the tool tip text for \fIwidget\fR at position \fIpos\fR, or TQString::null if there is no tool tip for the given widget and position. +.SH "void QToolTip::tip ( const QRect & rect, const TQString & text )\fC [protected]\fR" Immediately pops up a tip saying \fItext\fR and removes the tip once the cursor moves out of rectangle \fIrect\fR (which is given in the coordinate system of the widget this QToolTip relates to). .PP The tip will not reappear if the cursor moves back; your maybeTip() must reinstate it each time. -.SH "void QToolTip::tip ( const QRect & rect, const QString & text, const QString & groupText )\fC [protected]\fR" +.SH "void QToolTip::tip ( const QRect & rect, const TQString & text, const TQString & groupText )\fC [protected]\fR" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Immediately pops up a tip saying \fItext\fR and removes that tip once the cursor moves out of rectangle \fIrect\fR (which is given in the coordinate system of the widget this QToolTip relates to). \fIgroupText\fR is the text emitted from the group. .PP The tip will not reappear if the cursor moves back; your maybeTip() must reinstate it each time. -.SH "void QToolTip::tip ( const QRect & rect, const QString & text, const QRect & geometry )\fC [protected]\fR" +.SH "void QToolTip::tip ( const QRect & rect, const TQString & text, const QRect & geometry )\fC [protected]\fR" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Immediately pops up a tip within the rectangle \fIgeometry\fR, saying \fItext\fR and removes the tip once the cursor moves out of rectangle \fIrect\fR. Both rectangles are given in the coordinate system of the widget this QToolTip relates to. @@ -319,7 +319,7 @@ Immediately pops up a tip within the rectangle \fIgeometry\fR, saying \fItext\fR The tip will not reappear if the cursor moves back; your maybeTip() must reinstate it each time. .PP If the tip does not fit inside \fIgeometry\fR, the tip expands. -.SH "void QToolTip::tip ( const QRect & rect, const QString & text, const QString & groupText, const QRect & geometry )\fC [protected]\fR" +.SH "void QToolTip::tip ( const QRect & rect, const TQString & text, const TQString & groupText, const QRect & geometry )\fC [protected]\fR" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Immediately pops up a tip within the rectangle \fIgeometry\fR, saying \fItext\fR and removes the tip once the cursor moves out of rectangle \fIrect\fR. \fIgroupText\fR is the text emitted from the group. Both rectangles are given in the coordinate system of the widget this QToolTip relates to. |