summaryrefslogtreecommitdiffstats
path: root/doc/man/man3/tqwidget.3qt
diff options
context:
space:
mode:
Diffstat (limited to 'doc/man/man3/tqwidget.3qt')
-rw-r--r--doc/man/man3/tqwidget.3qt50
1 files changed, 25 insertions, 25 deletions
diff --git a/doc/man/man3/tqwidget.3qt b/doc/man/man3/tqwidget.3qt
index d95f88ee6..418f0de23 100644
--- a/doc/man/man3/tqwidget.3qt
+++ b/doc/man/man3/tqwidget.3qt
@@ -1207,7 +1207,7 @@ If the widget has active focus, a focus out event is sent to this widget to tell
.PP
This widget must enable focus setting in order to get the keyboard input focus, i.e. it must call setFocusPolicy().
.PP
-See also focus, setFocus(), focusInEvent(), focusOutEvent(), focusPolicy, and QApplication::focusWidget().
+See also focus, setFocus(), focusInEvent(), focusOutEvent(), focusPolicy, and TQApplication::focusWidget().
.SH "void TQWidget::clearMask ()"
Removes any mask set by setMask().
.PP
@@ -1229,7 +1229,7 @@ Closes this widget. Returns TRUE if the widget was closed; otherwise returns FAL
.PP
First it sends the widget a TQCloseEvent. The widget is hidden if it accepts the close event. The default implementation of TQWidget::closeEvent() accepts the close event.
.PP
-The QApplication::lastWindowClosed() signal is emitted when the last visible top level widget is closed.
+The TQApplication::lastWindowClosed() signal is emitted when the last visible top level widget is closed.
.PP
Examples:
.)l dialog/mainwindow.cpp, mdi/application.cpp, popup/popup.cpp, and toplevel/options.ui.h.
@@ -1240,11 +1240,11 @@ Closes this widget. Returns TRUE if the widget was closed; otherwise returns FAL
.PP
If \fIalsoDelete\fR is TRUE or the widget has the WDestructiveClose widget flag, the widget is also deleted. The widget can prevent itself from being closed by rejecting the TQCloseEvent it gets. A close events is delivered to the widget no matter if the widget is visible or not.
.PP
-The QApplication::lastWindowClosed() signal is emitted when the last visible top level widget is closed.
+The TQApplication::lastWindowClosed() signal is emitted when the last visible top level widget is closed.
.PP
-Note that closing the QApplication::mainWidget() terminates the application.
+Note that closing the TQApplication::mainWidget() terminates the application.
.PP
-See also closeEvent(), TQCloseEvent, hide(), QApplication::quit(), QApplication::setMainWidget(), and QApplication::lastWindowClosed().
+See also closeEvent(), TQCloseEvent, hide(), TQApplication::quit(), TQApplication::setMainWidget(), and TQApplication::lastWindowClosed().
.SH "void TQWidget::closeEvent ( TQCloseEvent * e )\fC [virtual protected]\fR"
This event handler, for event \fIe\fR, can be reimplemented in a subclass to receive widget close events.
.PP
@@ -1433,7 +1433,7 @@ Returns the focus proxy, or 0 if there is no focus proxy.
.PP
See also setFocusProxy().
.SH "TQWidget * TQWidget::focusWidget () const"
-Returns the focus widget in this widget's window. This is not the same as QApplication::focusWidget(), which returns the focus widget in the currently active window.
+Returns the focus widget in this widget's window. This is not the same as TQApplication::focusWidget(), which returns the focus widget in the currently active window.
.SH "TQFont TQWidget::font () const"
Returns the font currently set for the widget. See the "font" property for details.
.SH "void TQWidget::fontChange ( const TQFont & oldFont )\fC [virtual protected]\fR"
@@ -1674,7 +1674,7 @@ In your reimplementation of this function, if you want to stop the event being h
.PP
\fBWarning:\fR This function is not portable.
.PP
-See also QApplication::macEventFilter().
+See also TQApplication::macEventFilter().
.SH "TQPoint TQWidget::mapFrom ( TQWidget * parent, const TQPoint & pos ) const"
Translates the widget coordinate \fIpos\fR from the coordinate system of \fIparent\fR to this widget's coordinate system. The \fIparent\fR must not be 0 and must be a parent of the calling widget.
.PP
@@ -1838,11 +1838,11 @@ This function will be called \fIafter\fR a widget has been fully created and \fI
.PP
Polishing is useful for final initialization which depends on having an instantiated widget. This is something a constructor cannot guarantee since the initialization of the subclasses might not be finished.
.PP
-After this function, the widget has a proper font and palette and QApplication::polish() has been called.
+After this function, the widget has a proper font and palette and TQApplication::polish() has been called.
.PP
Remember to call TQWidget's implementation first when reimplementing this function to ensure that your program does not end up in infinite recursion.
.PP
-See also constPolish() and QApplication::polish().
+See also constPolish() and TQApplication::polish().
.PP
Example: menu/menu.cpp.
.SH "TQPoint TQWidget::pos () const"
@@ -1955,7 +1955,7 @@ Reimplemented in TQFrame and TQGLWidget.
.SH "void TQWidget::scroll ( int dx, int dy )"
Scrolls the widget including its children \fIdx\fR pixels to the right and \fIdy\fR downwards. Both \fIdx\fR and \fIdy\fR may be negative.
.PP
-After scrolling, scroll() sends a paint event for the the part that is read but not written. For example, when scrolling 10 pixels rightwards, the leftmost ten pixels of the widget need repainting. The paint event may be delivered immediately or later, depending on some heuristics (note that you might have to force processing of paint events using QApplication::sendPostedEvents() when using scroll() and move() in combination).
+After scrolling, scroll() sends a paint event for the the part that is read but not written. For example, when scrolling 10 pixels rightwards, the leftmost ten pixels of the widget need repainting. The paint event may be delivered immediately or later, depending on some heuristics (note that you might have to force processing of paint events using TQApplication::sendPostedEvents() when using scroll() and move() in combination).
.PP
See also TQScrollView, erase(), and bitBlt().
.SH "void TQWidget::scroll ( int dx, int dy, const TQRect & r )"
@@ -2060,7 +2060,7 @@ Be aware that if the widget is hidden, it will not accept focus.
.PP
\fBWarning:\fR If you call setFocus() in a function which may itself be called from focusOutEvent() or focusInEvent(), you may get an infinite recursion.
.PP
-See also focus, clearFocus(), focusInEvent(), focusOutEvent(), focusPolicy, QApplication::focusWidget(), grabKeyboard(), and grabMouse().
+See also focus, clearFocus(), focusInEvent(), focusOutEvent(), focusPolicy, TQApplication::focusWidget(), grabKeyboard(), and grabMouse().
.PP
Examples:
.)l addressbook/centralwidget.cpp, lineedits/lineedits.cpp, mdi/application.cpp, popup/popup.cpp, rot13/rot13.cpp, t8/main.cpp, and wizard/wizard.cpp.
@@ -2195,13 +2195,13 @@ See also TQSizePolicy::TQSizePolicy().
.SH "void TQWidget::setStyle ( TQStyle * style )"
Sets the widget's GUI style to \fIstyle\fR. Ownership of the style object is not transferred.
.PP
-If no style is set, the widget uses the application's style, QApplication::style() instead.
+If no style is set, the widget uses the application's style, TQApplication::style() instead.
.PP
Setting a widget's style has no effect on existing or future child widgets.
.PP
\fBWarning:\fR This function is particularly useful for demonstration purposes, where you want to show Qt's styling capabilities. Real applications should avoid it and use one consistent GUI style instead.
.PP
-See also style(), TQStyle, QApplication::style(), and QApplication::setStyle().
+See also style(), TQStyle, TQApplication::style(), and TQApplication::setStyle().
.PP
Examples:
.)l progressbar/progressbar.cpp.
@@ -2352,7 +2352,7 @@ See also raise() and lower().
.SH "TQStyle & TQWidget::style () const"
Returns the GUI style for this widget
.PP
-See also TQWidget::setStyle(), QApplication::setStyle(), and QApplication::style().
+See also TQWidget::setStyle(), TQApplication::setStyle(), and TQApplication::style().
.SH "void TQWidget::styleChange ( TQStyle & oldStyle )\fC [virtual protected]\fR"
This virtual function is called when the style of the widgets changes. \fIoldStyle\fR is the previous GUI style; you can get the new style from style().
.PP
@@ -2360,7 +2360,7 @@ Reimplement this function if your widget needs to know when its GUI style change
.PP
The default implementation updates the widget including its geometry.
.PP
-See also QApplication::setStyle(), style(), update(), and updateGeometry().
+See also TQApplication::setStyle(), style(), update(), and updateGeometry().
.SH "void TQWidget::tabletEvent ( TQTabletEvent * e )\fC [virtual protected]\fR"
This event handler, for event \fIe\fR, can be reimplemented in a subclass to receive tablet events for the widget.
.PP
@@ -2475,7 +2475,7 @@ In your reimplementation of this function, if you want to stop the event being h
.PP
\fBWarning:\fR This function is not portable.
.PP
-See also QApplication::winEventFilter().
+See also TQApplication::winEventFilter().
.SH "WId TQWidget::winId () const"
Returns the window system identifier of the widget.
.PP
@@ -2505,7 +2505,7 @@ In your reimplementation of this function, if you want to stop the event being h
.PP
\fBWarning:\fR This function is not portable.
.PP
-See also QApplication::x11EventFilter().
+See also TQApplication::x11EventFilter().
.SH "int TQWidget::y () const"
Returns the y coordinate of the widget relative to its parent and including any window frame. See the "y" property for details.
.SS "Property Documentation"
@@ -2546,7 +2546,7 @@ This property holds the widget's background brush.
.PP
The background brush depends on a widget's palette and its background mode.
.PP
-See also backgroundColor(), backgroundPixmap(), eraseColor(), palette, and QApplication::setPalette().
+See also backgroundColor(), backgroundPixmap(), eraseColor(), palette, and TQApplication::setPalette().
.PP
Get this property's value with backgroundBrush().
.SH "BackgroundMode backgroundMode"
@@ -2634,7 +2634,7 @@ An editor widget might use an I-beam cursor:
.PP
If no cursor has been set, or after a call to unsetCursor(), the parent's cursor is used. The function unsetCursor() has no effect on top-level widgets.
.PP
-See also QApplication::setOverrideCursor().
+See also TQApplication::setOverrideCursor().
.PP
Set this property's value with setCursor(), get this property's value with cursor(), and reset this property's value with unsetCursor().
.SH "bool customWhatsThis"
@@ -2666,7 +2666,7 @@ This property holds whether this widget (or its focus proxy) has the keyboard in
.PP
Effectively equivalent to \fCqApp->focusWidget() == this\fR.
.PP
-See also setFocus(), clearFocus(), focusPolicy, and QApplication::focusWidget().
+See also setFocus(), clearFocus(), focusPolicy, and TQApplication::focusWidget().
.PP
Get this property's value with hasFocus().
.SH "bool focusEnabled"
@@ -2792,7 +2792,7 @@ The active window is the window that contains the widget that has keyboard focus
.PP
When popup windows are visible, this property is TRUE for both the active window \fIand\fR for the popup.
.PP
-See also setActiveWindow() and QApplication::activeWindow().
+See also setActiveWindow() and TQApplication::activeWindow().
.PP
Get this property's value with isActiveWindow().
.SH "bool isDesktop"
@@ -2800,7 +2800,7 @@ This property holds whether the widget is a desktop widget, i.e. represents the
.PP
A desktop widget is also a top-level widget.
.PP
-See also isTopLevel and QApplication::desktop().
+See also isTopLevel and TQApplication::desktop().
.PP
Get this property's value with isDesktop().
.SH "bool isDialog"
@@ -2932,7 +2932,7 @@ If mouse tracking is disabled (the default), the widget only receives mouse move
.PP
If mouse tracking is enabled, the widget receives mouse move events even if no buttons are pressed.
.PP
-See also mouseMoveEvent() and QApplication::setGlobalMouseTracking().
+See also mouseMoveEvent() and TQApplication::setGlobalMouseTracking().
.PP
Set this property's value with setMouseTracking() and get this property's value with hasMouseTracking().
.SH "bool ownCursor"
@@ -2966,7 +2966,7 @@ As long as no special palette has been set, or after unsetPalette() has been cal
.PP
Instead of defining an entirely new palette, you can also use the paletteBackgroundColor, paletteBackgroundPixmap and paletteForegroundColor convenience properties to change a widget's background and foreground appearance only.
.PP
-See also ownPalette, colorGroup, and QApplication::palette().
+See also ownPalette, colorGroup, and TQApplication::palette().
.PP
Set this property's value with setPalette(), get this property's value with palette(), and reset this property's value with unsetPalette().
.SH "TQColor paletteBackgroundColor"
@@ -2994,7 +2994,7 @@ This property holds the foreground color of the widget.
.PP
setPaletteForegroundColor() is a convenience function that creates and sets a modified TQPalette with setPalette(). The palette is modified according to the widget's \fIbackground mode\fR. For example, if the background mode is PaletteButton the palette entry TQColorGroup::ButtonText is set to color.
.PP
-See also palette, QApplication::setPalette(), backgroundMode, foregroundColor(), backgroundMode, and setEraseColor().
+See also palette, TQApplication::setPalette(), backgroundMode, foregroundColor(), backgroundMode, and setEraseColor().
.PP
Set this property's value with setPaletteForegroundColor(), get this property's value with paletteForegroundColor(), and reset this property's value with unsetPalette().
.SH "TQPoint pos"