diff options
Diffstat (limited to 'doc/man/man3')
28 files changed, 350 insertions, 350 deletions
diff --git a/doc/man/man3/tqcombobox.3qt b/doc/man/man3/tqcombobox.3qt index 239eda049..083dd60d5 100644 --- a/doc/man/man3/tqcombobox.3qt +++ b/doc/man/man3/tqcombobox.3qt @@ -112,10 +112,10 @@ Inherits TQWidget. .BI "Policy \fBinsertionPolicy\fR () const" .br .ti -1c -.BI "virtual void \fBsetValidator\fR ( const QValidator * v )" +.BI "virtual void \fBsetValidator\fR ( const TQValidator * v )" .br .ti -1c -.BI "const QValidator * \fBvalidator\fR () const" +.BI "const TQValidator * \fBvalidator\fR () const" .br .ti -1c .BI "virtual void \fBsetListBox\fR ( TQListBox * newListBox )" @@ -257,7 +257,7 @@ A combobox emits two signals, activated() and highlighted(), when a new item has .PP When the user enters a new string in an editable combobox, the widget may or may not insert it, and it can insert it in several locations. The default policy is is AtBottom but you can change this using setInsertionPolicy(). .PP -It is possible to constrain the input to an editable combobox using QValidator; see setValidator(). By default, any input is accepted. +It is possible to constrain the input to an editable combobox using TQValidator; see setValidator(). By default, any input is accepted. .PP If the combobox is not editable then it has a default focusPolicy() of TabFocus, i.e. it will not grab focus if clicked. This differs from both Windows and Motif. If the combobox is editable then it has a default focusPolicy() of StrongFocus, i.e. it will grab focus if clicked. .PP @@ -486,12 +486,12 @@ Sets the palette for both the combobox button and the combobox popup list to \fI Reimplemented from TQWidget. .SH "void TQComboBox::setSizeLimit ( int )\fC [virtual]\fR" Sets the maximum on-screen size of the combobox. See the "sizeLimit" property for details. -.SH "void TQComboBox::setValidator ( const QValidator * v )\fC [virtual]\fR" +.SH "void TQComboBox::setValidator ( const TQValidator * v )\fC [virtual]\fR" Applies the validator \fIv\fR to the combobox so that only text which is valid according to \fIv\fR is accepted. .PP This function does nothing if the combobox is not editable. .PP -See also validator(), clearValidator(), and QValidator. +See also validator(), clearValidator(), and TQValidator. .SH "int TQComboBox::sizeLimit () const" Returns the maximum on-screen size of the combobox. See the "sizeLimit" property for details. .SH "TQString TQComboBox::text ( int index ) const" @@ -503,10 +503,10 @@ Examples: .)l fileiconview/mainwindow.cpp and helpviewer/helpwindow.cpp. .SH "void TQComboBox::textChanged ( const TQString & string )\fC [signal]\fR" This signal is used for editable comboboxes. It is emitted whenever the contents of the text entry field changes. \fIstring\fR contains the new text. -.SH "const QValidator * TQComboBox::validator () const" +.SH "const TQValidator * TQComboBox::validator () const" Returns the validator which constrains editing for this combobox if there is one; otherwise returns 0. .PP -See also setValidator(), clearValidator(), and QValidator. +See also setValidator(), clearValidator(), and TQValidator. .SS "Property Documentation" .SH "bool autoCompletion" This property holds whether auto-completion is enabled. diff --git a/doc/man/man3/tqdialog.3qt b/doc/man/man3/tqdialog.3qt index 60fedb6dc..7f1818ae4 100644 --- a/doc/man/man3/tqdialog.3qt +++ b/doc/man/man3/tqdialog.3qt @@ -13,7 +13,7 @@ TQDialog \- The base class of dialog windows .PP Inherits TQWidget. .PP -Inherited by TQColorDialog, QErrorMessage, TQFileDialog, TQFontDialog, QInputDialog, QMessageBox, TQMotifDialog, TQProgressDialog, TQTabDialog, and TQWizard. +Inherited by TQColorDialog, TQErrorMessage, TQFileDialog, TQFontDialog, QInputDialog, QMessageBox, TQMotifDialog, TQProgressDialog, TQTabDialog, and TQWizard. .PP .SS "Public Members" .in +1c diff --git a/doc/man/man3/tqdockarea.3qt b/doc/man/man3/tqdockarea.3qt index e1f18c9eb..2d03cb651 100644 --- a/doc/man/man3/tqdockarea.3qt +++ b/doc/man/man3/tqdockarea.3qt @@ -1,5 +1,5 @@ '\" t -.TH QDockArea 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- +.TH TQDockArea 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- .\" Copyright 1992-2007 Trolltech ASA. All rights reserved. See the .\" license file included in the distribution for a complete license .\" statement. @@ -7,9 +7,9 @@ .ad l .nh .SH NAME -QDockArea \- Manages and lays out QDockWindows +TQDockArea \- Manages and lays out TQDockWindows .SH SYNOPSIS -\fC#include <ntqdockarea.h>\fR +\fC#include <tqdockarea.h>\fR .PP Inherits TQWidget. .PP @@ -19,22 +19,22 @@ Inherits TQWidget. .BI "enum \fBHandlePosition\fR { Normal, Reverse }" .br .ti -1c -.BI "\fBQDockArea\fR ( Orientation o, HandlePosition h = Normal, TQWidget * parent = 0, const char * name = 0 )" +.BI "\fBTQDockArea\fR ( Orientation o, HandlePosition h = Normal, TQWidget * parent = 0, const char * name = 0 )" .br .ti -1c -.BI "\fB~QDockArea\fR ()" +.BI "\fB~TQDockArea\fR ()" .br .ti -1c -.BI "void \fBmoveDockWindow\fR ( QDockWindow * w, const TQPoint & p, const TQRect & r, bool swap )" +.BI "void \fBmoveDockWindow\fR ( TQDockWindow * w, const TQPoint & p, const TQRect & r, bool swap )" .br .ti -1c -.BI "void \fBremoveDockWindow\fR ( QDockWindow * w, bool makeFloating, bool swap, bool fixNewLines = TRUE )" +.BI "void \fBremoveDockWindow\fR ( TQDockWindow * w, bool makeFloating, bool swap, bool fixNewLines = TRUE )" .br .ti -1c -.BI "void \fBmoveDockWindow\fR ( QDockWindow * w, int index = -1 )" +.BI "void \fBmoveDockWindow\fR ( TQDockWindow * w, int index = -1 )" .br .ti -1c -.BI "bool \fBhasDockWindow\fR ( QDockWindow * w, int * index = 0 )" +.BI "bool \fBhasDockWindow\fR ( TQDockWindow * w, int * index = 0 )" .br .ti -1c .BI "Orientation \fBorientation\fR () const" @@ -49,13 +49,13 @@ Inherits TQWidget. .BI "int \fBcount\fR () const" .br .ti -1c -.BI "TQPtrList<QDockWindow> \fBdockWindowList\fR () const" +.BI "TQPtrList<TQDockWindow> \fBdockWindowList\fR () const" .br .ti -1c -.BI "bool \fBisDockWindowAccepted\fR ( QDockWindow * dw )" +.BI "bool \fBisDockWindowAccepted\fR ( TQDockWindow * dw )" .br .ti -1c -.BI "void \fBsetAcceptDockWindow\fR ( QDockWindow * dw, bool accept )" +.BI "void \fBsetAcceptDockWindow\fR ( TQDockWindow * dw, bool accept )" .br .in -1c .SS "Public Slots" @@ -82,18 +82,18 @@ Inherits TQWidget. .SH RELATED FUNCTION DOCUMENTATION .in +1c .ti -1c -.BI "TQTextStream & \fBoperator<<\fR ( TQTextStream & ts, const QDockArea & dockArea )" +.BI "TQTextStream & \fBoperator<<\fR ( TQTextStream & ts, const TQDockArea & dockArea )" .br .ti -1c -.BI "TQTextStream & \fBoperator>>\fR ( TQTextStream & ts, QDockArea & dockArea )" +.BI "TQTextStream & \fBoperator>>\fR ( TQTextStream & ts, TQDockArea & dockArea )" .br .in -1c .SH DESCRIPTION -The QDockArea class manages and lays out QDockWindows. +The TQDockArea class manages and lays out TQDockWindows. .PP -A QDockArea is a container which manages a list of QDockWindows which it lays out within its area. In cooperation with the QDockWindows it is responsible for the docking and undocking of QDockWindows and moving them inside the dock area. QDockAreas also handle the wrapping of QDockWindows to fill the available space as compactly as possible. QDockAreas can contain TQToolBars since TQToolBar is a QDockWindow subclass. +A TQDockArea is a container which manages a list of TQDockWindows which it lays out within its area. In cooperation with the TQDockWindows it is responsible for the docking and undocking of TQDockWindows and moving them inside the dock area. TQDockAreas also handle the wrapping of TQDockWindows to fill the available space as compactly as possible. TQDockAreas can contain TQToolBars since TQToolBar is a TQDockWindow subclass. .PP -TQMainWindow contains four QDockAreas which you can use for your TQToolBars and QDockWindows, so in most situations you do not need to use the QDockArea class directly. Although TQMainWindow contains support for its own dock areas it isn't convenient for adding new QDockAreas. If you need to create your own dock areas we suggest that you create a subclass of TQWidget and add your QDockAreas to your subclass. +TQMainWindow contains four TQDockAreas which you can use for your TQToolBars and TQDockWindows, so in most situations you do not need to use the TQDockArea class directly. Although TQMainWindow contains support for its own dock areas it isn't convenient for adding new TQDockAreas. If you need to create your own dock areas we suggest that you create a subclass of TQWidget and add your TQDockAreas to your subclass. .PP <center> .ce 1 @@ -101,11 +101,11 @@ TQMainWindow contains four QDockAreas which you can use for your TQToolBars and .PP </center> .PP -\fILines\fR. QDockArea uses the concept of lines. A line is a horizontal region which may contain dock windows side-by-side. A dock area may have room for more than one line. When dock windows are docked into a dock area they are usually added at the right hand side of the top-most line that has room (unless manually placed by the user). When users move dock windows they may leave empty lines or gaps in non-empty lines. Dock windows can be lined up to minimize wasted space using the lineUp() function. +\fILines\fR. TQDockArea uses the concept of lines. A line is a horizontal region which may contain dock windows side-by-side. A dock area may have room for more than one line. When dock windows are docked into a dock area they are usually added at the right hand side of the top-most line that has room (unless manually placed by the user). When users move dock windows they may leave empty lines or gaps in non-empty lines. Dock windows can be lined up to minimize wasted space using the lineUp() function. .PP -The QDockArea class maintains a position list of all its child dock windows. Dock windows are added to a dock area from position 0 onwards. Dock windows are laid out sequentially in position order from left to right, and in the case of multiple lines of dock windows, from top to bottom. If a dock window is floated it still retains its position since this is where the window will return if the user double clicks its caption. A dock window's position can be determined with hasDockWindow(). The position can be changed with moveDockWindow(). +The TQDockArea class maintains a position list of all its child dock windows. Dock windows are added to a dock area from position 0 onwards. Dock windows are laid out sequentially in position order from left to right, and in the case of multiple lines of dock windows, from top to bottom. If a dock window is floated it still retains its position since this is where the window will return if the user double clicks its caption. A dock window's position can be determined with hasDockWindow(). The position can be changed with moveDockWindow(). .PP -To dock or undock a dock window use QDockWindow::dock() and QDockWindow::undock() respectively. If you want to control which dock windows can dock in a dock area use setAcceptDockWindow(). To see if a dock area contains a particular dock window use hasDockWindow(); to see how many dock windows a dock area contains use count(). +To dock or undock a dock window use TQDockWindow::dock() and TQDockWindow::undock() respectively. If you want to control which dock windows can dock in a dock area use setAcceptDockWindow(). To see if a dock area contains a particular dock window use hasDockWindow(); to see how many dock windows a dock area contains use count(). .PP The streaming operators can write the positions of the dock windows in the dock area to a TQTextStream. The positions can be read back later to restore the saved positions. .PP @@ -127,52 +127,52 @@ Restore the positions from a TQTextStream: .PP See also Main Window and Related Classes. .SS "Member Type Documentation" -.SH "QDockArea::HandlePosition" +.SH "TQDockArea::HandlePosition" A dock window has two kinds of handles, the dock window handle used for dragging the dock window, and the splitter handle used to resize the dock window in relation to other dock windows using a splitter. (The splitter handle is only visible for docked windows.) .PP This enum specifies where the dock window splitter handle is placed in the dock area. .TP -\fCQDockArea::Normal\fR - The splitter handles of dock windows are placed at the right or bottom. +\fCTQDockArea::Normal\fR - The splitter handles of dock windows are placed at the right or bottom. .TP -\fCQDockArea::Reverse\fR - The splitter handles of dock windows are placed at the left or top. +\fCTQDockArea::Reverse\fR - The splitter handles of dock windows are placed at the left or top. .SH MEMBER FUNCTION DOCUMENTATION -.SH "QDockArea::QDockArea ( Orientation o, HandlePosition h = Normal, TQWidget * parent = 0, const char * name = 0 )" -Constructs a QDockArea with orientation \fIo\fR, HandlePosition \fIh\fR, parent \fIparent\fR and called \fIname\fR. -.SH "QDockArea::~QDockArea ()" +.SH "TQDockArea::TQDockArea ( Orientation o, HandlePosition h = Normal, TQWidget * parent = 0, const char * name = 0 )" +Constructs a TQDockArea with orientation \fIo\fR, HandlePosition \fIh\fR, parent \fIparent\fR and called \fIname\fR. +.SH "TQDockArea::~TQDockArea ()" Destroys the dock area and all the dock windows docked in the dock area. .PP Does not affect any floating dock windows or dock windows in other dock areas, even if they first appeared in this dock area. Floating dock windows are effectively top level windows and are not child windows of the dock area. When a floating dock window is docked (dragged into a dock area) its parent becomes the dock area. -.SH "int QDockArea::count () const" +.SH "int TQDockArea::count () const" Returns the number of dock windows in the dock area. See the "count" property for details. -.SH "TQPtrList<QDockWindow> QDockArea::dockWindowList () const" +.SH "TQPtrList<TQDockWindow> TQDockArea::dockWindowList () const" Returns a list of the dock windows in the dock area. -.SH "HandlePosition QDockArea::handlePosition () const" +.SH "HandlePosition TQDockArea::handlePosition () const" Returns where the dock window splitter handle is placed in the dock area. See the "handlePosition" property for details. -.SH "bool QDockArea::hasDockWindow ( QDockWindow * w, int * index = 0 )" +.SH "bool TQDockArea::hasDockWindow ( TQDockWindow * w, int * index = 0 )" Returns TRUE if the dock area contains the dock window \fIw\fR; otherwise returns FALSE. If \fIindex\fR is not 0 it will be set as follows: if the dock area contains the dock window \fI*index\fR is set to \fIw\fR's index position; otherwise \fI*index\fR is set to -1. -.SH "bool QDockArea::isDockWindowAccepted ( QDockWindow * dw )" +.SH "bool TQDockArea::isDockWindowAccepted ( TQDockWindow * dw )" Returns TRUE if dock window \fIdw\fR could be docked into the dock area; otherwise returns FALSE. .PP See also setAcceptDockWindow(). -.SH "bool QDockArea::isEmpty () const" +.SH "bool TQDockArea::isEmpty () const" Returns TRUE if the dock area is empty; otherwise returns FALSE. See the "empty" property for details. -.SH "void QDockArea::lineUp ( bool keepNewLines )\fC [slot]\fR" +.SH "void TQDockArea::lineUp ( bool keepNewLines )\fC [slot]\fR" Lines up the dock windows in this dock area to minimize wasted space. If \fIkeepNewLines\fR is TRUE, only space within lines is cleaned up. If \fIkeepNewLines\fR is FALSE the number of lines might be changed. -.SH "void QDockArea::moveDockWindow ( QDockWindow * w, int index = -1 )" -Moves the QDockWindow \fIw\fR within the dock area. If \fIw\fR is not already docked in this area, \fIw\fR is docked first. If \fIindex\fR is -1 or larger than the number of docked widgets, \fIw\fR is appended at the end, otherwise it is inserted at the position \fIindex\fR. -.SH "void QDockArea::moveDockWindow ( QDockWindow * w, const TQPoint & p, const TQRect & r, bool swap )" +.SH "void TQDockArea::moveDockWindow ( TQDockWindow * w, int index = -1 )" +Moves the TQDockWindow \fIw\fR within the dock area. If \fIw\fR is not already docked in this area, \fIw\fR is docked first. If \fIindex\fR is -1 or larger than the number of docked widgets, \fIw\fR is appended at the end, otherwise it is inserted at the position \fIindex\fR. +.SH "void TQDockArea::moveDockWindow ( TQDockWindow * w, const TQPoint & p, const TQRect & r, bool swap )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Moves the dock window \fIw\fR inside the dock area where \fIp\fR is the new position (in global screen coordinates), \fIr\fR is the suggested rectangle of the dock window and \fIswap\fR specifies whether or not the orientation of the docked widget needs to be changed. .PP -This function is used internally by QDockWindow. You shouldn't need to call it yourself. -.SH "Orientation QDockArea::orientation () const" +This function is used internally by TQDockWindow. You shouldn't need to call it yourself. +.SH "Orientation TQDockArea::orientation () const" Returns the dock area's orientation. See the "orientation" property for details. -.SH "void QDockArea::removeDockWindow ( QDockWindow * w, bool makeFloating, bool swap, bool fixNewLines = TRUE )" +.SH "void TQDockArea::removeDockWindow ( TQDockWindow * w, bool makeFloating, bool swap, bool fixNewLines = TRUE )" Removes the dock window \fIw\fR from the dock area. If \fImakeFloating\fR is TRUE, \fIw\fR gets floated, and if \fIswap\fR is TRUE, the orientation of \fIw\fR gets swapped. If \fIfixNewLines\fR is TRUE (the default) newlines in the area will be fixed. .PP -You should never need to call this function yourself. Use QDockWindow::dock() and QDockWindow::undock() instead. -.SH "void QDockArea::setAcceptDockWindow ( QDockWindow * dw, bool accept )" +You should never need to call this function yourself. Use TQDockWindow::dock() and TQDockWindow::undock() instead. +.SH "void TQDockArea::setAcceptDockWindow ( TQDockWindow * dw, bool accept )" If \fIaccept\fR is TRUE, dock window \fIdw\fR can be docked in the dock area. If \fIaccept\fR is FALSE, dock window \fIdw\fR cannot be docked in the dock area. .PP See also isDockWindowAccepted(). @@ -198,17 +198,17 @@ There is no default value; the orientation is specified in the constructor. .PP Get this property's value with orientation(). .SH RELATED FUNCTION DOCUMENTATION -.SH "TQTextStream & operator<< ( TQTextStream & ts, const QDockArea & dockArea )" +.SH "TQTextStream & operator<< ( TQTextStream & ts, const TQDockArea & dockArea )" Writes the layout of the dock windows in dock area \fIdockArea\fR to the text stream \fIts\fR. .PP See also operator>>(). -.SH "TQTextStream & operator>> ( TQTextStream & ts, QDockArea & dockArea )" +.SH "TQTextStream & operator>> ( TQTextStream & ts, TQDockArea & dockArea )" Reads the layout description of the dock windows in dock area \fIdockArea\fR from the text stream \fIts\fR and restores it. The layout description must have been previously written by the operator<<() function. .PP See also operator<<(). .SH "SEE ALSO" -.BR http://doc.trolltech.com/ntqdockarea.html +.BR http://doc.trolltech.com/tqdockarea.html .BR http://www.trolltech.com/faq/tech.html .SH COPYRIGHT Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the diff --git a/doc/man/man3/tqdockwindow.3qt b/doc/man/man3/tqdockwindow.3qt index 5cc94d3f0..140caba3b 100644 --- a/doc/man/man3/tqdockwindow.3qt +++ b/doc/man/man3/tqdockwindow.3qt @@ -1,5 +1,5 @@ '\" t -.TH QDockWindow 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- +.TH TQDockWindow 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- .\" Copyright 1992-2007 Trolltech ASA. All rights reserved. See the .\" license file included in the distribution for a complete license .\" statement. @@ -7,9 +7,9 @@ .ad l .nh .SH NAME -QDockWindow \- Widget which can be docked inside a QDockArea or floated as a top level window on the desktop +TQDockWindow \- Widget which can be docked inside a TQDockArea or floated as a top level window on the desktop .SH SYNOPSIS -\fC#include <ntqdockwindow.h>\fR +\fC#include <tqdockwindow.h>\fR .PP Inherits TQFrame. .PP @@ -24,10 +24,10 @@ Inherited by TQToolBar. .BI "enum \fBCloseMode\fR { Never = 0, Docked = 1, Undocked = 2, Always = Docked | Undocked }" .br .ti -1c -.BI "\fBQDockWindow\fR ( Place p = InDock, TQWidget * parent = 0, const char * name = 0, WFlags f = 0 )" +.BI "\fBTQDockWindow\fR ( Place p = InDock, TQWidget * parent = 0, const char * name = 0, WFlags f = 0 )" .br .ti -1c -.BI "\fBQDockWindow\fR ( TQWidget * parent, const char * name = 0, WFlags f = 0 )" +.BI "\fBTQDockWindow\fR ( TQWidget * parent, const char * name = 0, WFlags f = 0 )" .br .ti -1c .BI "virtual void \fBsetWidget\fR ( TQWidget * w )" @@ -39,7 +39,7 @@ Inherited by TQToolBar. .BI "Place \fBplace\fR () const" .br .ti -1c -.BI "QDockArea * \fBarea\fR () const" +.BI "TQDockArea * \fBarea\fR () const" .br .ti -1c .BI "virtual void \fBsetCloseMode\fR ( int m )" @@ -141,7 +141,7 @@ Inherited by TQToolBar. .BI "void \fBorientationChanged\fR ( Orientation o )" .br .ti -1c -.BI "void \fBplaceChanged\fR ( QDockWindow::Place p )" +.BI "void \fBplaceChanged\fR ( TQDockWindow::Place p )" .br .ti -1c .BI "void \fBvisibilityChanged\fR ( bool visible )" @@ -181,27 +181,27 @@ Inherited by TQToolBar. .br .in -1c .SH DESCRIPTION -The QDockWindow class provides a widget which can be docked inside a QDockArea or floated as a top level window on the desktop. +The TQDockWindow class provides a widget which can be docked inside a TQDockArea or floated as a top level window on the desktop. .PP -This class handles moving, resizing, docking and undocking dock windows. TQToolBar is a subclass of QDockWindow so the functionality provided for dock windows is available with the same API for toolbars. +This class handles moving, resizing, docking and undocking dock windows. TQToolBar is a subclass of TQDockWindow so the functionality provided for dock windows is available with the same API for toolbars. .PP <center> .ce 1 .B "[Image Omitted]" .PP -</center> <blockquote><p align="center">\fI Two QDockWindows (TQToolBars) in a QDockArea \fR</p> </blockquote> +</center> <blockquote><p align="center">\fI Two TQDockWindows (TQToolBars) in a TQDockArea \fR</p> </blockquote> .PP <center> .ce 1 .B "[Image Omitted]" .PP -</center> <blockquote><p align="center">\fI A Floating QDockWindow \fR</p> </blockquote> +</center> <blockquote><p align="center">\fI A Floating TQDockWindow \fR</p> </blockquote> .PP If the user drags the dock window into the dock area the dock window will be docked. If the user drags the dock area outside any dock areas the dock window will be undocked (floated) and will become a top level window. Double clicking a floating dock window's titlebar will dock the dock window to the last dock area it was docked in. Double clicking a docked dock window's handle will undock (float) the dock window. If the user clicks the close button (which does not appear on dock windows by default - see closeMode) the dock window will disappear. You can control whether or not a dock window has a close button with setCloseMode(). .PP -TQMainWindow provides four dock areas (top, left, right and bottom) which can be used by dock windows. For many applications using the dock areas provided by TQMainWindow is sufficient. (See the QDockArea documentation if you want to create your own dock areas.) In TQMainWindow a right-click popup menu (the dock window menu) is available which lists dock windows and can be used to show or hide them. (The popup menu only lists dock windows that have a caption.) +TQMainWindow provides four dock areas (top, left, right and bottom) which can be used by dock windows. For many applications using the dock areas provided by TQMainWindow is sufficient. (See the TQDockArea documentation if you want to create your own dock areas.) In TQMainWindow a right-click popup menu (the dock window menu) is available which lists dock windows and can be used to show or hide them. (The popup menu only lists dock windows that have a caption.) .PP -When you construct a dock window you \fImust\fR pass it a QDockArea or a TQMainWindow as its parent if you want it docked. Pass 0 for the parent if you want it floated. +When you construct a dock window you \fImust\fR pass it a TQDockArea or a TQMainWindow as its parent if you want it docked. Pass 0 for the parent if you want it floated. .PP .nf .br @@ -217,7 +217,7 @@ A dock window is often used to contain a single widget. In these cases the widge .PP Although a common use of dock windows is for toolbars, they can be used with any widgets. (See the TQt Designer and TQt Linguist applications, for example.) When using larger widgets it may make sense for the dock window to be resizable by calling setResizeEnabled(). Resizable dock windows are given splitter-like handles to allow the user to resize them within their dock area. When resizable dock windows are undocked they become top level windows and can be resized like any other top level windows, e.g. by dragging a corner or edge. .PP -Dock windows can be docked and undocked using dock() and undock(). A dock window's orientation can be set with setOrientation(). You can also use QDockArea::moveDockWindow(). If you're using a TQMainWindow, TQMainWindow::moveDockWindow() and TQMainWindow::removeDockWindow() are available. +Dock windows can be docked and undocked using dock() and undock(). A dock window's orientation can be set with setOrientation(). You can also use TQDockArea::moveDockWindow(). If you're using a TQMainWindow, TQMainWindow::moveDockWindow() and TQMainWindow::removeDockWindow() are available. .PP A dock window can have some preferred settings, for example, you can set a preferred offset from the left edge (or top edge for vertical dock areas) of the dock area using setOffset(). If you'd prefer a dock window to start on a new line when it is docked use setNewLine(). The setFixedExtentWidth() and setFixedExtentHeight() functions can be used to define the dock window's preferred size, and the setHorizontallyStretchable() and setVerticallyStretchable() functions set whether the dock window can be stretched or not. Dock windows can be moved by default, but this can be changed with setMovingEnabled(). When a dock window is moved it is shown as a rectangular outline, but it can be shown normally using setOpaqueMoving(). .PP @@ -225,138 +225,138 @@ When a dock window's visibility changes, i.e. it is shown or hidden, the visibil .PP See also Main Window and Related Classes. .SS "Member Type Documentation" -.SH "QDockWindow::CloseMode" +.SH "TQDockWindow::CloseMode" This enum type specifies when (if ever) a dock window has a close button. .TP -\fCQDockWindow::Never\fR - The dock window never has a close button and cannot be closed by the user. +\fCTQDockWindow::Never\fR - The dock window never has a close button and cannot be closed by the user. .TP -\fCQDockWindow::Docked\fR - The dock window has a close button only when docked. +\fCTQDockWindow::Docked\fR - The dock window has a close button only when docked. .TP -\fCQDockWindow::Undocked\fR - The dock window has a close button only when floating. +\fCTQDockWindow::Undocked\fR - The dock window has a close button only when floating. .TP -\fCQDockWindow::Always\fR - The dock window always has a close button. -.SH "QDockWindow::Place" -This enum specifies the possible locations for a QDockWindow: +\fCTQDockWindow::Always\fR - The dock window always has a close button. +.SH "TQDockWindow::Place" +This enum specifies the possible locations for a TQDockWindow: .TP -\fCQDockWindow::InDock\fR - Inside a QDockArea. +\fCTQDockWindow::InDock\fR - Inside a TQDockArea. .TP -\fCQDockWindow::OutsideDock\fR - Floating as a top level window on the desktop. +\fCTQDockWindow::OutsideDock\fR - Floating as a top level window on the desktop. .SH MEMBER FUNCTION DOCUMENTATION -.SH "QDockWindow::QDockWindow ( Place p = InDock, TQWidget * parent = 0, const char * name = 0, WFlags f = 0 )" -Constructs a QDockWindow with parent \fIparent\fR, called \fIname\fR and with widget flags \fIf\fR. +.SH "TQDockWindow::TQDockWindow ( Place p = InDock, TQWidget * parent = 0, const char * name = 0, WFlags f = 0 )" +Constructs a TQDockWindow with parent \fIparent\fR, called \fIname\fR and with widget flags \fIf\fR. .PP -If \fIp\fR is InDock, the dock window is docked into a dock area and \fIparent\fR \fImust\fR be a QDockArea or a TQMainWindow. If the \fIparent\fR is a TQMainWindow the dock window will be docked in the main window's Top dock area. +If \fIp\fR is InDock, the dock window is docked into a dock area and \fIparent\fR \fImust\fR be a TQDockArea or a TQMainWindow. If the \fIparent\fR is a TQMainWindow the dock window will be docked in the main window's Top dock area. .PP If \fIp\fR is OutsideDock, the dock window is created as a floating window. .PP We recommend creating the dock area InDock with a TQMainWindow as parent then calling TQMainWindow::moveDockWindow() to move the dock window where you want it. -.SH "QDockWindow::QDockWindow ( TQWidget * parent, const char * name = 0, WFlags f = 0 )" -Constructs a QDockWindow with parent \fIparent\fR, called \fIname\fR and with widget flags \fIf\fR. -.SH "QDockArea * QDockWindow::area () const" +.SH "TQDockWindow::TQDockWindow ( TQWidget * parent, const char * name = 0, WFlags f = 0 )" +Constructs a TQDockWindow with parent \fIparent\fR, called \fIname\fR and with widget flags \fIf\fR. +.SH "TQDockArea * TQDockWindow::area () const" Returns the dock area in which this dock window is docked, or 0 if the dock window is floating. -.SH "TQBoxLayout * QDockWindow::boxLayout ()" +.SH "TQBoxLayout * TQDockWindow::boxLayout ()" Returns the layout which is used for adding widgets to the dock window. The layout's orientation is set automatically to match the orientation of the dock window. You can add widgets to the layout using the box layout's TQBoxLayout::addWidget() function. .PP If the dock window only needs to contain a single widget use setWidget() instead. .PP See also setWidget() and setOrientation(). -.SH "int QDockWindow::closeMode () const" +.SH "int TQDockWindow::closeMode () const" Returns the close mode of a dock window. See the "closeMode" property for details. -.SH "void QDockWindow::dock ()\fC [virtual slot]\fR" +.SH "void TQDockWindow::dock ()\fC [virtual slot]\fR" Docks the dock window into the last dock area in which it was docked. .PP If the dock window has no last dock area (e.g. it was created as a floating window and has never been docked), or if the last dock area it was docked in does not exist (e.g. the dock area has been deleted), nothing happens. .PP -The dock window will dock with the dock area regardless of the return value of QDockArea::isDockWindowAccepted(). +The dock window will dock with the dock area regardless of the return value of TQDockArea::isDockWindowAccepted(). .PP -See also undock(), QDockArea::moveDockWindow(), QDockArea::removeDockWindow(), TQMainWindow::moveDockWindow(), TQMainWindow::removeDockWindow(), and QDockArea::isDockWindowAccepted(). -.SH "TQSize QDockWindow::fixedExtent () const" +See also undock(), TQDockArea::moveDockWindow(), TQDockArea::removeDockWindow(), TQMainWindow::moveDockWindow(), TQMainWindow::removeDockWindow(), and TQDockArea::isDockWindowAccepted(). +.SH "TQSize TQDockWindow::fixedExtent () const" Returns the dock window's preferred size (fixed extent). .PP See also setFixedExtentWidth() and setFixedExtentHeight(). -.SH "bool QDockWindow::isCloseEnabled () const" +.SH "bool TQDockWindow::isCloseEnabled () const" Returns TRUE if the dock window has a close button; otherwise returns FALSE. The result depends on the dock window's Place and its CloseMode. .PP See also closeMode. -.SH "bool QDockWindow::isHorizontalStretchable () const" +.SH "bool TQDockWindow::isHorizontalStretchable () const" \fBThis function is obsolete.\fR It is provided to keep old source working. We strongly advise against using it in new code. -.SH "bool QDockWindow::isHorizontallyStretchable () const" +.SH "bool TQDockWindow::isHorizontallyStretchable () const" Returns TRUE if the dock window is horizontally stretchable; otherwise returns FALSE. See the "horizontallyStretchable" property for details. -.SH "bool QDockWindow::isMovingEnabled () const" +.SH "bool TQDockWindow::isMovingEnabled () const" Returns TRUE if the user can move the dock window within the dock area, move the dock window to another dock area, or float the dock window; otherwise returns FALSE. See the "movingEnabled" property for details. -.SH "bool QDockWindow::isResizeEnabled () const" +.SH "bool TQDockWindow::isResizeEnabled () const" Returns TRUE if the dock window is resizeable; otherwise returns FALSE. See the "resizeEnabled" property for details. -.SH "bool QDockWindow::isStretchable () const" +.SH "bool TQDockWindow::isStretchable () const" Returns TRUE if the dock window is stretchable in the current orientation(); otherwise returns FALSE. See the "stretchable" property for details. -.SH "bool QDockWindow::isVerticalStretchable () const" +.SH "bool TQDockWindow::isVerticalStretchable () const" \fBThis function is obsolete.\fR It is provided to keep old source working. We strongly advise against using it in new code. -.SH "bool QDockWindow::isVerticallyStretchable () const" +.SH "bool TQDockWindow::isVerticallyStretchable () const" Returns TRUE if the dock window is vertically stretchable; otherwise returns FALSE. See the "verticallyStretchable" property for details. -.SH "bool QDockWindow::newLine () const" +.SH "bool TQDockWindow::newLine () const" Returns TRUE if the dock window prefers to start a new line in the dock area; otherwise returns FALSE. See the "newLine" property for details. -.SH "int QDockWindow::offset () const" +.SH "int TQDockWindow::offset () const" Returns the dock window's preferred offset from the dock area's left edge (top edge for vertical dock areas). See the "offset" property for details. -.SH "bool QDockWindow::opaqueMoving () const" +.SH "bool TQDockWindow::opaqueMoving () const" Returns TRUE if the dock window will be shown normally whilst it is being moved; otherwise returns FALSE. See the "opaqueMoving" property for details. -.SH "TQt::Orientation QDockWindow::orientation () const" +.SH "TQt::Orientation TQDockWindow::orientation () const" Returns the orientation of the dock window. .PP See also orientationChanged(). -.SH "void QDockWindow::orientationChanged ( Orientation o )\fC [signal]\fR" +.SH "void TQDockWindow::orientationChanged ( Orientation o )\fC [signal]\fR" This signal is emitted when the orientation of the dock window is changed. The new orientation is \fIo\fR. -.SH "Place QDockWindow::place () const" +.SH "Place TQDockWindow::place () const" This function returns where the dock window is placed. This is either InDock or OutsideDock. .PP -See also QDockArea::moveDockWindow(), QDockArea::removeDockWindow(), TQMainWindow::moveDockWindow(), and TQMainWindow::removeDockWindow(). -.SH "void QDockWindow::placeChanged ( QDockWindow::Place p )\fC [signal]\fR" +See also TQDockArea::moveDockWindow(), TQDockArea::removeDockWindow(), TQMainWindow::moveDockWindow(), and TQMainWindow::removeDockWindow(). +.SH "void TQDockWindow::placeChanged ( TQDockWindow::Place p )\fC [signal]\fR" This signal is emitted when the dock window is docked (\fIp\fR is InDock), undocked (\fIp\fR is OutsideDock) or moved inside the the dock area. .PP -See also QDockArea::moveDockWindow(), QDockArea::removeDockWindow(), TQMainWindow::moveDockWindow(), and TQMainWindow::removeDockWindow(). -.SH "void QDockWindow::setCloseMode ( int m )\fC [virtual]\fR" +See also TQDockArea::moveDockWindow(), TQDockArea::removeDockWindow(), TQMainWindow::moveDockWindow(), and TQMainWindow::removeDockWindow(). +.SH "void TQDockWindow::setCloseMode ( int m )\fC [virtual]\fR" Sets the close mode of a dock window to \fIm\fR. See the "closeMode" property for details. -.SH "void QDockWindow::setFixedExtentHeight ( int h )\fC [virtual]\fR" +.SH "void TQDockWindow::setFixedExtentHeight ( int h )\fC [virtual]\fR" Sets the dock window's preferred height for its fixed extent (size) to \fIh\fR. .PP See also setFixedExtentWidth(). -.SH "void QDockWindow::setFixedExtentWidth ( int w )\fC [virtual]\fR" +.SH "void TQDockWindow::setFixedExtentWidth ( int w )\fC [virtual]\fR" Sets the dock window's preferred width for its fixed extent (size) to \fIw\fR. .PP See also setFixedExtentHeight(). -.SH "void QDockWindow::setHorizontalStretchable ( bool b )" +.SH "void TQDockWindow::setHorizontalStretchable ( bool b )" \fBThis function is obsolete.\fR It is provided to keep old source working. We strongly advise against using it in new code. -.SH "void QDockWindow::setHorizontallyStretchable ( bool b )\fC [virtual]\fR" +.SH "void TQDockWindow::setHorizontallyStretchable ( bool b )\fC [virtual]\fR" Sets whether the dock window is horizontally stretchable to \fIb\fR. See the "horizontallyStretchable" property for details. -.SH "void QDockWindow::setMovingEnabled ( bool b )\fC [virtual]\fR" +.SH "void TQDockWindow::setMovingEnabled ( bool b )\fC [virtual]\fR" Sets whether the user can move the dock window within the dock area, move the dock window to another dock area, or float the dock window to \fIb\fR. See the "movingEnabled" property for details. -.SH "void QDockWindow::setNewLine ( bool b )\fC [virtual]\fR" +.SH "void TQDockWindow::setNewLine ( bool b )\fC [virtual]\fR" Sets whether the dock window prefers to start a new line in the dock area to \fIb\fR. See the "newLine" property for details. -.SH "void QDockWindow::setOffset ( int o )\fC [virtual]\fR" +.SH "void TQDockWindow::setOffset ( int o )\fC [virtual]\fR" Sets the dock window's preferred offset from the dock area's left edge (top edge for vertical dock areas) to \fIo\fR. See the "offset" property for details. -.SH "void QDockWindow::setOpaqueMoving ( bool b )\fC [virtual]\fR" +.SH "void TQDockWindow::setOpaqueMoving ( bool b )\fC [virtual]\fR" Sets whether the dock window will be shown normally whilst it is being moved to \fIb\fR. See the "opaqueMoving" property for details. -.SH "void QDockWindow::setOrientation ( Orientation o )\fC [virtual slot]\fR" +.SH "void TQDockWindow::setOrientation ( Orientation o )\fC [virtual slot]\fR" Sets the orientation of the dock window to \fIo\fR. The orientation is propagated to the layout boxLayout(). .PP \fBWarning:\fR All undocked TQToolBars will always have a horizontal orientation. -.SH "void QDockWindow::setResizeEnabled ( bool b )\fC [virtual]\fR" +.SH "void TQDockWindow::setResizeEnabled ( bool b )\fC [virtual]\fR" Sets whether the dock window is resizeable to \fIb\fR. See the "resizeEnabled" property for details. -.SH "void QDockWindow::setVerticalStretchable ( bool b )" +.SH "void TQDockWindow::setVerticalStretchable ( bool b )" \fBThis function is obsolete.\fR It is provided to keep old source working. We strongly advise against using it in new code. -.SH "void QDockWindow::setVerticallyStretchable ( bool b )\fC [virtual]\fR" +.SH "void TQDockWindow::setVerticallyStretchable ( bool b )\fC [virtual]\fR" Sets whether the dock window is vertically stretchable to \fIb\fR. See the "verticallyStretchable" property for details. -.SH "void QDockWindow::setWidget ( TQWidget * w )\fC [virtual]\fR" +.SH "void TQDockWindow::setWidget ( TQWidget * w )\fC [virtual]\fR" Sets the dock window's main widget to \fIw\fR. .PP See also boxLayout(). -.SH "void QDockWindow::undock ()\fC [virtual slot]\fR" -Undocks the QDockWindow from its current dock area if it is docked; otherwise does nothing. +.SH "void TQDockWindow::undock ()\fC [virtual slot]\fR" +Undocks the TQDockWindow from its current dock area if it is docked; otherwise does nothing. .PP -See also dock(), QDockArea::moveDockWindow(), QDockArea::removeDockWindow(), TQMainWindow::moveDockWindow(), and TQMainWindow::removeDockWindow(). -.SH "void QDockWindow::visibilityChanged ( bool visible )\fC [signal]\fR" -This signal is emitted when the visibility of the dock window relatively to its dock area is changed. If \fIvisible\fR is TRUE, the QDockWindow is now visible to the dock area, otherwise it has been hidden. +See also dock(), TQDockArea::moveDockWindow(), TQDockArea::removeDockWindow(), TQMainWindow::moveDockWindow(), and TQMainWindow::removeDockWindow(). +.SH "void TQDockWindow::visibilityChanged ( bool visible )\fC [signal]\fR" +This signal is emitted when the visibility of the dock window relatively to its dock area is changed. If \fIvisible\fR is TRUE, the TQDockWindow is now visible to the dock area, otherwise it has been hidden. .PP A dock window can be hidden if it has a close button which the user has clicked. In the case of a TQMainWindow a dock window can have its visibility changed (hidden or shown) by clicking its name in the dock window menu that lists the TQMainWindow's dock windows. -.SH "TQWidget * QDockWindow::widget () const" +.SH "TQWidget * TQDockWindow::widget () const" Returns the dock window's main widget. .PP See also setWidget(). @@ -378,7 +378,7 @@ See also resizeEnabled. .PP Bugs and limitations: .TP -Strecthability is broken. You must call setResizeEnabled(TRUE) to get proper behavior and even then QDockWindow does not limit stretchablilty. +Strecthability is broken. You must call setResizeEnabled(TRUE) to get proper behavior and even then TQDockWindow does not limit stretchablilty. .PP Set this property's value with setHorizontallyStretchable() and get this property's value with isHorizontallyStretchable(). .SH "bool movingEnabled" @@ -428,7 +428,7 @@ See also resizeEnabled. .PP Bugs and limitations: .TP -Strecthability is broken. You must call setResizeEnabled(TRUE) to get proper behavior and even then QDockWindow does not limit stretchablilty. +Strecthability is broken. You must call setResizeEnabled(TRUE) to get proper behavior and even then TQDockWindow does not limit stretchablilty. .PP Get this property's value with isStretchable(). .SH "bool verticallyStretchable" @@ -440,12 +440,12 @@ See also resizeEnabled. .PP Bugs and limitations: .TP -Strecthability is broken. You must call setResizeEnabled(TRUE) to get proper behavior and even then QDockWindow does not limit stretchablilty. +Strecthability is broken. You must call setResizeEnabled(TRUE) to get proper behavior and even then TQDockWindow does not limit stretchablilty. .PP Set this property's value with setVerticallyStretchable() and get this property's value with isVerticallyStretchable(). .SH "SEE ALSO" -.BR http://doc.trolltech.com/ntqdockwindow.html +.BR http://doc.trolltech.com/tqdockwindow.html .BR http://www.trolltech.com/faq/tech.html .SH COPYRIGHT Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the diff --git a/doc/man/man3/tqdoublevalidator.3qt b/doc/man/man3/tqdoublevalidator.3qt index 7642d9944..69baf258e 100644 --- a/doc/man/man3/tqdoublevalidator.3qt +++ b/doc/man/man3/tqdoublevalidator.3qt @@ -1,5 +1,5 @@ '\" t -.TH QDoubleValidator 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- +.TH TQDoubleValidator 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- .\" Copyright 1992-2007 Trolltech ASA. All rights reserved. See the .\" license file included in the distribution for a complete license .\" statement. @@ -7,25 +7,25 @@ .ad l .nh .SH NAME -QDoubleValidator \- Range checking of floating-point numbers +TQDoubleValidator \- Range checking of floating-point numbers .SH SYNOPSIS -\fC#include <ntqvalidator.h>\fR +\fC#include <tqvalidator.h>\fR .PP -Inherits QValidator. +Inherits TQValidator. .PP .SS "Public Members" .in +1c .ti -1c -.BI "\fBQDoubleValidator\fR ( TQObject * parent, const char * name = 0 )" +.BI "\fBTQDoubleValidator\fR ( TQObject * parent, const char * name = 0 )" .br .ti -1c -.BI "\fBQDoubleValidator\fR ( double bottom, double top, int decimals, TQObject * parent, const char * name = 0 )" +.BI "\fBTQDoubleValidator\fR ( double bottom, double top, int decimals, TQObject * parent, const char * name = 0 )" .br .ti -1c -.BI "\fB~QDoubleValidator\fR ()" +.BI "\fB~TQDoubleValidator\fR ()" .br .ti -1c -.BI "virtual QValidator::State \fBvalidate\fR ( TQString & input, int & ) const" +.BI "virtual TQValidator::State \fBvalidate\fR ( TQString & input, int & ) const" .br .ti -1c .BI "virtual void \fBsetRange\fR ( double minimum, double maximum, int decimals = 0 )" @@ -62,35 +62,35 @@ Inherits QValidator. .br .in -1c .SH DESCRIPTION -The QDoubleValidator class provides range checking of floating-point numbers. +The TQDoubleValidator class provides range checking of floating-point numbers. .PP -QDoubleValidator provides an upper bound, a lower bound and a limit on the number of digits after the decimal point. It does not provide a fixup() function. +TQDoubleValidator provides an upper bound, a lower bound and a limit on the number of digits after the decimal point. It does not provide a fixup() function. .PP You can set the acceptable range in one call with setRange(), or with setBottom() and setTop(). Set the number of decimal places with setDecimals(). The validate() function returns the validation state. .PP See also QIntValidator, TQRegExpValidator, and Miscellaneous Classes. .SH MEMBER FUNCTION DOCUMENTATION -.SH "QDoubleValidator::QDoubleValidator ( TQObject * parent, const char * name = 0 )" +.SH "TQDoubleValidator::TQDoubleValidator ( TQObject * parent, const char * name = 0 )" Constructs a validator object with parent \fIparent\fR, called \fIname\fR, which accepts any double. -.SH "QDoubleValidator::QDoubleValidator ( double bottom, double top, int decimals, TQObject * parent, const char * name = 0 )" +.SH "TQDoubleValidator::TQDoubleValidator ( double bottom, double top, int decimals, TQObject * parent, const char * name = 0 )" Constructs a validator object with parent \fIparent\fR, called \fIname\fR. This validator will accept doubles from \fIbottom\fR to \fItop\fR inclusive, with up to \fIdecimals\fR digits after the decimal point. -.SH "QDoubleValidator::~QDoubleValidator ()" +.SH "TQDoubleValidator::~TQDoubleValidator ()" Destroys the validator, freeing any resources used. -.SH "double QDoubleValidator::bottom () const" +.SH "double TQDoubleValidator::bottom () const" Returns the validator's minimum acceptable value. See the "bottom" property for details. -.SH "int QDoubleValidator::decimals () const" +.SH "int TQDoubleValidator::decimals () const" Returns the validator's maximum number of digits after the decimal point. See the "decimals" property for details. -.SH "void QDoubleValidator::setBottom ( double )" +.SH "void TQDoubleValidator::setBottom ( double )" Sets the validator's minimum acceptable value. See the "bottom" property for details. -.SH "void QDoubleValidator::setDecimals ( int )" +.SH "void TQDoubleValidator::setDecimals ( int )" Sets the validator's maximum number of digits after the decimal point. See the "decimals" property for details. -.SH "void QDoubleValidator::setRange ( double minimum, double maximum, int decimals = 0 )\fC [virtual]\fR" +.SH "void TQDoubleValidator::setRange ( double minimum, double maximum, int decimals = 0 )\fC [virtual]\fR" Sets the validator to accept doubles from \fIminimum\fR to \fImaximum\fR inclusive, with at most \fIdecimals\fR digits after the decimal point. -.SH "void QDoubleValidator::setTop ( double )" +.SH "void TQDoubleValidator::setTop ( double )" Sets the validator's maximum acceptable value. See the "top" property for details. -.SH "double QDoubleValidator::top () const" +.SH "double TQDoubleValidator::top () const" Returns the validator's maximum acceptable value. See the "top" property for details. -.SH "QValidator::State QDoubleValidator::validate ( TQString & input, int & ) const\fC [virtual]\fR" +.SH "TQValidator::State TQDoubleValidator::validate ( TQString & input, int & ) const\fC [virtual]\fR" Returns Acceptable if the string \fIinput\fR contains a double that is within the valid range and is in the correct format. .PP Returns Intermediate if \fIinput\fR contains a double that is outside the range or is in the wrong format, e.g. with too many digits after the decimal point or is empty. @@ -99,7 +99,7 @@ Returns Invalid if the \fIinput\fR is not a double. .PP Note: If the valid range consists of just positive doubles (e.g. 0.0 - 100.0) and \fIinput\fR is a negative double then Invalid is returned. .PP -Reimplemented from QValidator. +Reimplemented from TQValidator. .SS "Property Documentation" .SH "double bottom" This property holds the validator's minimum acceptable value. @@ -121,7 +121,7 @@ Set this property's value with setTop() and get this property's value with top() See also setRange(). .SH "SEE ALSO" -.BR http://doc.trolltech.com/qdoublevalidator.html +.BR http://doc.trolltech.com/tqdoublevalidator.html .BR http://www.trolltech.com/faq/tech.html .SH COPYRIGHT Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the diff --git a/doc/man/man3/tqerrormessage.3qt b/doc/man/man3/tqerrormessage.3qt index 87115f63e..ae22276d3 100644 --- a/doc/man/man3/tqerrormessage.3qt +++ b/doc/man/man3/tqerrormessage.3qt @@ -1,5 +1,5 @@ '\" t -.TH QErrorMessage 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- +.TH TQErrorMessage 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- .\" Copyright 1992-2007 Trolltech ASA. All rights reserved. See the .\" license file included in the distribution for a complete license .\" statement. @@ -7,19 +7,19 @@ .ad l .nh .SH NAME -QErrorMessage \- Error message display dialog +TQErrorMessage \- Error message display dialog .SH SYNOPSIS -\fC#include <ntqerrormessage.h>\fR +\fC#include <tqerrormessage.h>\fR .PP Inherits TQDialog. .PP .SS "Public Members" .in +1c .ti -1c -.BI "\fBQErrorMessage\fR ( TQWidget * parent, const char * name = 0 )" +.BI "\fBTQErrorMessage\fR ( TQWidget * parent, const char * name = 0 )" .br .ti -1c -.BI "\fB~QErrorMessage\fR ()" +.BI "\fB~TQErrorMessage\fR ()" .br .in -1c .SS "Public Slots" @@ -31,21 +31,21 @@ Inherits TQDialog. .SS "Static Public Members" .in +1c .ti -1c -.BI "QErrorMessage * \fBqtHandler\fR ()" +.BI "TQErrorMessage * \fBqtHandler\fR ()" .br .in -1c .SH DESCRIPTION -The QErrorMessage class provides an error message display dialog. +The TQErrorMessage class provides an error message display dialog. .PP This is basically a TQLabel and a "show this message again" checkbox which remembers what not to show. .PP There are two ways to use this class: <ol type=1> .IP 1 -For production applications. In this context the class can be used to display messages which you don't need the user to see more than once. To use QErrorMessage like this, you create the dialog in the usual way and call the message() slot, or connect signals to it. +For production applications. In this context the class can be used to display messages which you don't need the user to see more than once. To use TQErrorMessage like this, you create the dialog in the usual way and call the message() slot, or connect signals to it. .IP 2 -For developers. In this context the static qtHandler() installs a message handler using qInstallMsgHandler() and creates a QErrorMessage that displays tqDebug(), tqWarning() and tqFatal() messages. +For developers. In this context the static qtHandler() installs a message handler using qInstallMsgHandler() and creates a TQErrorMessage that displays tqDebug(), tqWarning() and tqFatal() messages. .PP -In both cases QErrorMessage will queue pending messages, and display them (or not) in order, as soon as the user presses Enter or clicks OK after seeing each message. +In both cases TQErrorMessage will queue pending messages, and display them (or not) in order, as soon as the user presses Enter or clicks OK after seeing each message. .PP <center> .ce 1 @@ -55,21 +55,21 @@ In both cases QErrorMessage will queue pending messages, and display them (or no .PP See also QMessageBox, TQStatusBar::message(), Dialog Classes, and Miscellaneous Classes. .SH MEMBER FUNCTION DOCUMENTATION -.SH "QErrorMessage::QErrorMessage ( TQWidget * parent, const char * name = 0 )" +.SH "TQErrorMessage::TQErrorMessage ( TQWidget * parent, const char * name = 0 )" Constructs and installs an error handler window. The parent \fIparent\fR and name \fIname\fR are passed on to the TQDialog constructor. -.SH "QErrorMessage::~QErrorMessage ()" +.SH "TQErrorMessage::~TQErrorMessage ()" Destroys the object and frees any allocated resources. Notably, the list of "do not show again" messages is deleted. -.SH "void QErrorMessage::message ( const TQString & m )\fC [slot]\fR" +.SH "void TQErrorMessage::message ( const TQString & m )\fC [slot]\fR" Shows message \fIm\fR and returns immediately. If the user has requested that \fIm\fR not be shown, this function does nothing. .PP Normally, \fIm\fR is shown at once, but if there are pending messages, \fIm\fR is queued for later display. -.SH "QErrorMessage * QErrorMessage::qtHandler ()\fC [static]\fR" -Returns a pointer to a QErrorMessage object that outputs the +.SH "TQErrorMessage * TQErrorMessage::qtHandler ()\fC [static]\fR" +Returns a pointer to a TQErrorMessage object that outputs the default TQt messages. This function creates such an object, if there isn't one already. .SH "SEE ALSO" -.BR http://doc.trolltech.com/ntqerrormessage.html +.BR http://doc.trolltech.com/tqerrormessage.html .BR http://www.trolltech.com/faq/tech.html .SH COPYRIGHT Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the diff --git a/doc/man/man3/tqevent.3qt b/doc/man/man3/tqevent.3qt index c3e5d6795..4633a0897 100644 --- a/doc/man/man3/tqevent.3qt +++ b/doc/man/man3/tqevent.3qt @@ -13,7 +13,7 @@ TQEvent \- The base class of all event classes. Event objects contain event para .PP Inherits Qt. .PP -Inherited by TQTimerEvent, QMouseEvent, QWheelEvent, TQTabletEvent, QKeyEvent, QFocusEvent, TQPaintEvent, QMoveEvent, QResizeEvent, TQCloseEvent, TQIconDragEvent, QShowEvent, QHideEvent, TQContextMenuEvent, QIMEvent, TQDropEvent, TQDragLeaveEvent, TQChildEvent, and TQCustomEvent. +Inherited by TQTimerEvent, QMouseEvent, QWheelEvent, TQTabletEvent, QKeyEvent, TQFocusEvent, TQPaintEvent, QMoveEvent, QResizeEvent, TQCloseEvent, TQIconDragEvent, QShowEvent, TQHideEvent, TQContextMenuEvent, QIMEvent, TQDropEvent, TQDragLeaveEvent, TQChildEvent, and TQCustomEvent. .PP .SS "Public Members" .in +1c @@ -73,9 +73,9 @@ This enum type defines the valid event types in Qt. The event types and the spec .TP \fCTQEvent::IMEnd\fR - The end of input method composition, QIMEvent. .TP -\fCTQEvent::FocusIn\fR - Widget gains keyboard focus, QFocusEvent. +\fCTQEvent::FocusIn\fR - Widget gains keyboard focus, TQFocusEvent. .TP -\fCTQEvent::FocusOut\fR - Widget loses keyboard focus, QFocusEvent. +\fCTQEvent::FocusOut\fR - Widget loses keyboard focus, TQFocusEvent. .TP \fCTQEvent::Enter\fR - Mouse enters widget's boundaries. .TP @@ -89,7 +89,7 @@ This enum type defines the valid event types in Qt. The event types and the spec .TP \fCTQEvent::Show\fR - Widget was shown on screen, QShowEvent. .TP -\fCTQEvent::Hide\fR - Widget was hidden, QHideEvent. +\fCTQEvent::Hide\fR - Widget was hidden, TQHideEvent. .TP \fCTQEvent::ShowToParent\fR - A child widget has been shown. .TP diff --git a/doc/man/man3/tqfocusdata.3qt b/doc/man/man3/tqfocusdata.3qt index 97df6ec95..d37664ce3 100644 --- a/doc/man/man3/tqfocusdata.3qt +++ b/doc/man/man3/tqfocusdata.3qt @@ -1,5 +1,5 @@ '\" t -.TH QFocusData 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- +.TH TQFocusData 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- .\" Copyright 1992-2007 Trolltech ASA. All rights reserved. See the .\" license file included in the distribution for a complete license .\" statement. @@ -7,9 +7,9 @@ .ad l .nh .SH NAME -QFocusData \- Maintains the list of widgets in the focus chain +TQFocusData \- Maintains the list of widgets in the focus chain .SH SYNOPSIS -\fC#include <ntqfocusdata.h>\fR +\fC#include <tqfocusdata.h>\fR .PP .SS "Public Members" .in +1c @@ -36,7 +36,7 @@ QFocusData \- Maintains the list of widgets in the focus chain .br .in -1c .SH DESCRIPTION -The QFocusData class maintains the list of widgets in the focus chain. +The TQFocusData class maintains the list of widgets in the focus chain. .PP This read-only list always contains at least one widget (i.e. the top-level widget). It provides a simple cursor which can be reset to the current focus widget using home(), or moved to its neighboring widgets using next() and prev(). You can also retrieve the count() of the number of widgets in the list. The list is a loop, so if you keep iterating, for example using next(), you will never come to the end. .PP @@ -50,24 +50,24 @@ This class is \fInot\fR thread-safe. .PP See also TQWidget::focusNextPrevChild(), TQWidget::setTabOrder(), TQWidget::focusPolicy, and Miscellaneous Classes. .SH MEMBER FUNCTION DOCUMENTATION -.SH "int QFocusData::count () const" +.SH "int TQFocusData::count () const" Returns the number of widgets in the focus chain. -.SH "TQWidget * QFocusData::first () const" +.SH "TQWidget * TQFocusData::first () const" Returns the first widget in the focus chain. The cursor is not modified. -.SH "TQWidget * QFocusData::focusWidget () const" +.SH "TQWidget * TQFocusData::focusWidget () const" Returns the widgets in the hierarchy that are in the focus chain. -.SH "TQWidget * QFocusData::home ()" +.SH "TQWidget * TQFocusData::home ()" Moves the cursor to the focusWidget() and returns that widget. You must call this before next() or prev() to iterate meaningfully. -.SH "TQWidget * QFocusData::last () const" +.SH "TQWidget * TQFocusData::last () const" Returns the last widget in the focus chain. The cursor is not modified. -.SH "TQWidget * QFocusData::next ()" +.SH "TQWidget * TQFocusData::next ()" Moves the cursor to the next widget in the focus chain. There is \fIalways\fR a next widget because the list is a loop. -.SH "TQWidget * QFocusData::prev ()" +.SH "TQWidget * TQFocusData::prev ()" Moves the cursor to the previous widget in the focus chain. There is \fIalways\fR a previous widget because the list is a loop. .SH "SEE ALSO" -.BR http://doc.trolltech.com/ntqfocusdata.html +.BR http://doc.trolltech.com/tqfocusdata.html .BR http://www.trolltech.com/faq/tech.html .SH COPYRIGHT Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the diff --git a/doc/man/man3/tqfocusevent.3qt b/doc/man/man3/tqfocusevent.3qt index d114b1f01..795839b0a 100644 --- a/doc/man/man3/tqfocusevent.3qt +++ b/doc/man/man3/tqfocusevent.3qt @@ -1,5 +1,5 @@ '\" t -.TH QFocusEvent 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- +.TH TQFocusEvent 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- .\" Copyright 1992-2007 Trolltech ASA. All rights reserved. See the .\" license file included in the distribution for a complete license .\" statement. @@ -7,7 +7,7 @@ .ad l .nh .SH NAME -QFocusEvent \- Event parameters for widget focus events +TQFocusEvent \- Event parameters for widget focus events .SH SYNOPSIS \fC#include <tqevent.h>\fR .PP @@ -16,7 +16,7 @@ Inherits TQEvent. .SS "Public Members" .in +1c .ti -1c -.BI "\fBQFocusEvent\fR ( Type type )" +.BI "\fBTQFocusEvent\fR ( Type type )" .br .ti -1c .BI "bool \fBgotFocus\fR () const" @@ -41,7 +41,7 @@ Inherits TQEvent. .br .in -1c .SH DESCRIPTION -The QFocusEvent class contains event parameters for widget focus events. +The TQFocusEvent class contains event parameters for widget focus events. .PP Focus events are sent to widgets when the keyboard input focus changes. Focus events occur due to mouse actions, keypresses (e.g. Tab or Backtab), the window system, popup menus, keyboard shortcuts or other application specific reasons. The reason for a particular focus event is returned by reason() in the appropriate event handler. .PP @@ -51,48 +51,48 @@ Use setReason() to set the reason for all focus events, and resetReason() to set .PP See also TQWidget::setFocus(), TQWidget::focusPolicy, and Event Classes. .SS "Member Type Documentation" -.SH "QFocusEvent::Reason" +.SH "TQFocusEvent::Reason" This enum specifies why the focus changed. .TP -\fCQFocusEvent::Mouse\fR - because of a mouse action. +\fCTQFocusEvent::Mouse\fR - because of a mouse action. .TP -\fCQFocusEvent::Tab\fR - because of a Tab press. +\fCTQFocusEvent::Tab\fR - because of a Tab press. .TP -\fCQFocusEvent::Backtab\fR - because of a Backtab press (possibly including Shift/Control, e.g. Shift+Tab). +\fCTQFocusEvent::Backtab\fR - because of a Backtab press (possibly including Shift/Control, e.g. Shift+Tab). .TP -\fCQFocusEvent::ActiveWindow\fR - because the window system made this window (in)active. +\fCTQFocusEvent::ActiveWindow\fR - because the window system made this window (in)active. .TP -\fCQFocusEvent::Popup\fR - because the application opened/closed a popup that grabbed/released focus. +\fCTQFocusEvent::Popup\fR - because the application opened/closed a popup that grabbed/released focus. .TP -\fCQFocusEvent::Shortcut\fR - because of a keyboard shortcut. +\fCTQFocusEvent::Shortcut\fR - because of a keyboard shortcut. .TP -\fCQFocusEvent::Other\fR - any other reason, usually application-specific. +\fCTQFocusEvent::Other\fR - any other reason, usually application-specific. .PP See the keyboard focus overview for more about focus. .SH MEMBER FUNCTION DOCUMENTATION -.SH "QFocusEvent::QFocusEvent ( Type type )" +.SH "TQFocusEvent::TQFocusEvent ( Type type )" Constructs a focus event object. .PP The \fItype\fR parameter must be either TQEvent::FocusIn or TQEvent::FocusOut. -.SH "bool QFocusEvent::gotFocus () const" +.SH "bool TQFocusEvent::gotFocus () const" Returns TRUE if the widget received the text input focus; otherwise returns FALSE. -.SH "bool QFocusEvent::lostFocus () const" +.SH "bool TQFocusEvent::lostFocus () const" Returns TRUE if the widget lost the text input focus; otherwise returns FALSE. -.SH "Reason QFocusEvent::reason ()\fC [static]\fR" +.SH "Reason TQFocusEvent::reason ()\fC [static]\fR" Returns the reason for this focus event. .PP See also setReason(). -.SH "void QFocusEvent::resetReason ()\fC [static]\fR" +.SH "void TQFocusEvent::resetReason ()\fC [static]\fR" Resets the reason for all future focus events to the value before the last setReason() call. .PP See also reason() and setReason(). -.SH "void QFocusEvent::setReason ( Reason reason )\fC [static]\fR" +.SH "void TQFocusEvent::setReason ( Reason reason )\fC [static]\fR" Sets the reason for all future focus events to \fIreason\fR. .PP See also reason() and resetReason(). .SH "SEE ALSO" -.BR http://doc.trolltech.com/qfocusevent.html +.BR http://doc.trolltech.com/tqfocusevent.html .BR http://www.trolltech.com/faq/tech.html .SH COPYRIGHT Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the diff --git a/doc/man/man3/tqframe.3qt b/doc/man/man3/tqframe.3qt index a1d1dea38..f1e448aea 100644 --- a/doc/man/man3/tqframe.3qt +++ b/doc/man/man3/tqframe.3qt @@ -13,7 +13,7 @@ TQFrame \- The base class of widgets that can have a frame .PP Inherits TQWidget. .PP -Inherited by TQGroupBox, TQScrollView, QDockWindow, TQGrid, TQHBox, TQLabel, TQLCDNumber, TQLineEdit, TQMenuBar, TQPopupMenu, TQProgressBar, QSplitter, TQToolBox, and TQWidgetStack. +Inherited by TQGroupBox, TQScrollView, TQDockWindow, TQGrid, TQHBox, TQLabel, TQLCDNumber, TQLineEdit, TQMenuBar, TQPopupMenu, TQProgressBar, QSplitter, TQToolBox, and TQWidgetStack. .PP .SS "Public Members" .in +1c diff --git a/doc/man/man3/tqhideevent.3qt b/doc/man/man3/tqhideevent.3qt index 7e9028a96..7c49593f1 100644 --- a/doc/man/man3/tqhideevent.3qt +++ b/doc/man/man3/tqhideevent.3qt @@ -1,5 +1,5 @@ '\" t -.TH QHideEvent 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- +.TH TQHideEvent 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- .\" Copyright 1992-2007 Trolltech ASA. All rights reserved. See the .\" license file included in the distribution for a complete license .\" statement. @@ -7,7 +7,7 @@ .ad l .nh .SH NAME -QHideEvent \- Event which is sent after a widget is hidden +TQHideEvent \- Event which is sent after a widget is hidden .SH SYNOPSIS \fC#include <tqevent.h>\fR .PP @@ -16,11 +16,11 @@ Inherits TQEvent. .SS "Public Members" .in +1c .ti -1c -.BI "\fBQHideEvent\fR ()" +.BI "\fBTQHideEvent\fR ()" .br .in -1c .SH DESCRIPTION -The QHideEvent class provides an event which is sent after a widget is hidden. +The TQHideEvent class provides an event which is sent after a widget is hidden. .PP This event is sent just before TQWidget::hide() returns, and also when a top-level window has been hidden (iconified) by the user. .PP @@ -28,11 +28,11 @@ If spontaneous() is TRUE the event originated outside the application, i.e. the .PP See also QShowEvent and Event Classes. .SH MEMBER FUNCTION DOCUMENTATION -.SH "QHideEvent::QHideEvent ()" -Constructs a QHideEvent. +.SH "TQHideEvent::TQHideEvent ()" +Constructs a TQHideEvent. .SH "SEE ALSO" -.BR http://doc.trolltech.com/qhideevent.html +.BR http://doc.trolltech.com/tqhideevent.html .BR http://www.trolltech.com/faq/tech.html .SH COPYRIGHT Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the diff --git a/doc/man/man3/tqimagedecoder.3qt b/doc/man/man3/tqimagedecoder.3qt index b5b6c4cd5..33ef1393b 100644 --- a/doc/man/man3/tqimagedecoder.3qt +++ b/doc/man/man3/tqimagedecoder.3qt @@ -53,7 +53,7 @@ A TQImageDecoder is a machine that decodes images. It takes encoded image data v .PP TQImageFormatType and TQImageFormat are the classes that you might need to implement support for additional image formats. .PP -Qt supports GIF reading if it is configured that way during installation (see ntqgif.h). If it is, we are required to state that" The Graphics Interchange Format(c) is the Copyright property of CompuServe Incorporated. GIF(sm) is a Service Mark property of CompuServe Incorporated." +Qt supports GIF reading if it is configured that way during installation (see tqgif.h). If it is, we are required to state that" The Graphics Interchange Format(c) is the Copyright property of CompuServe Incorporated. GIF(sm) is a Service Mark property of CompuServe Incorporated." .PP \fBWarning:\fR If you are in a country that recognizes software patents and in which Unisys holds a patent on LZW compression and/or decompression and you want to use GIF, Unisys may require you to license that technology. Such countries include Canada, Japan, the USA, France, Germany, Italy and the UK. .PP diff --git a/doc/man/man3/tqintvalidator.3qt b/doc/man/man3/tqintvalidator.3qt index 31c868d97..d9bdbdd13 100644 --- a/doc/man/man3/tqintvalidator.3qt +++ b/doc/man/man3/tqintvalidator.3qt @@ -9,9 +9,9 @@ .SH NAME QIntValidator \- Validator which ensures that a string contains a valid integer within a specified range .SH SYNOPSIS -\fC#include <ntqvalidator.h>\fR +\fC#include <tqvalidator.h>\fR .PP -Inherits QValidator. +Inherits TQValidator. .PP .SS "Public Members" .in +1c @@ -25,7 +25,7 @@ Inherits QValidator. .BI "\fB~QIntValidator\fR ()" .br .ti -1c -.BI "virtual QValidator::State \fBvalidate\fR ( TQString & input, int & ) const" +.BI "virtual TQValidator::State \fBvalidate\fR ( TQString & input, int & ) const" .br .ti -1c .BI "void \fBsetBottom\fR ( int )" @@ -59,7 +59,7 @@ Example of use: .PP .nf .br - QValidator* validator = new QIntValidator( 100, 999, this ); + TQValidator* validator = new QIntValidator( 100, 999, this ); .br TQLineEdit* edit = new TQLineEdit( this ); .br @@ -119,7 +119,7 @@ Below we present some examples of validators. In practice they would normally be .PP The minimum and maximum values are set in one call with setRange() or individually with setBottom() and setTop(). .PP -See also QDoubleValidator, TQRegExpValidator, and Miscellaneous Classes. +See also TQDoubleValidator, TQRegExpValidator, and Miscellaneous Classes. .SH MEMBER FUNCTION DOCUMENTATION .SH "QIntValidator::QIntValidator ( TQObject * parent, const char * name = 0 )" Constructs a validator called \fIname\fR with parent \fIparent\fR, that accepts all integers. @@ -137,7 +137,7 @@ Sets the range of the validator to only accept integers between \fIbottom\fR and Sets the validator's highest acceptable value. See the "top" property for details. .SH "int QIntValidator::top () const" Returns the validator's highest acceptable value. See the "top" property for details. -.SH "QValidator::State QIntValidator::validate ( TQString & input, int & ) const\fC [virtual]\fR" +.SH "TQValidator::State QIntValidator::validate ( TQString & input, int & ) const\fC [virtual]\fR" Returns Acceptable if the \fIinput\fR is an integer within the valid range, Intermediate if the \fIinput\fR is an integer outside the valid range and Invalid if the \fIinput\fR is not an integer. .PP Note: If the valid range consists of just positive integers (e.g. 32 - 100) and \fIinput\fR is a negative integer then Invalid is returned. @@ -162,7 +162,7 @@ Note: If the valid range consists of just positive integers (e.g. 32 - 100) and .br .fi .PP -Reimplemented from QValidator. +Reimplemented from TQValidator. .SS "Property Documentation" .SH "int bottom" This property holds the validator's lowest acceptable value. diff --git a/doc/man/man3/tqkeyevent.3qt b/doc/man/man3/tqkeyevent.3qt index cf0162beb..f3dea1557 100644 --- a/doc/man/man3/tqkeyevent.3qt +++ b/doc/man/man3/tqkeyevent.3qt @@ -60,7 +60,7 @@ The TQWidget::setEnable() function can be used to enable or disable mouse and ke .PP The event handlers TQWidget::keyPressEvent() and TQWidget::keyReleaseEvent() receive key events. .PP -See also QFocusEvent, TQWidget::grabKeyboard(), and Event Classes. +See also TQFocusEvent, TQWidget::grabKeyboard(), and Event Classes. .SH MEMBER FUNCTION DOCUMENTATION .SH "QKeyEvent::QKeyEvent ( Type type, int key, int ascii, int state, const TQString & text = TQString::null, bool autorep = FALSE, ushort count = 1 )" Constructs a key event object. diff --git a/doc/man/man3/tqlineedit.3qt b/doc/man/man3/tqlineedit.3qt index 1bf085f91..2cab9ad32 100644 --- a/doc/man/man3/tqlineedit.3qt +++ b/doc/man/man3/tqlineedit.3qt @@ -49,7 +49,7 @@ Inherits TQFrame. .BI "bool \fBisReadOnly\fR () const" .br .ti -1c -.BI "const QValidator * \fBvalidator\fR () const" +.BI "const TQValidator * \fBvalidator\fR () const" .br .ti -1c .BI "virtual TQSize \fBsizeHint\fR () const" @@ -175,7 +175,7 @@ Inherits TQFrame. .BI "virtual void \fBsetReadOnly\fR ( bool )" .br .ti -1c -.BI "virtual void \fBsetValidator\fR ( const QValidator * v )" +.BI "virtual void \fBsetValidator\fR ( const TQValidator * v )" .br .ti -1c .BI "virtual void \fBsetSelection\fR ( int start, int length )" @@ -511,12 +511,12 @@ Note that this function sets the cursor's position to the end of the selection r See also deselect(), selectAll(), getSelection(), cursorForward(), and cursorBackward(). .SH "void TQLineEdit::setText ( const TQString & )\fC [virtual slot]\fR" Sets the line edit's text. See the "text" property for details. -.SH "void TQLineEdit::setValidator ( const QValidator * v )\fC [virtual slot]\fR" +.SH "void TQLineEdit::setValidator ( const TQValidator * v )\fC [virtual slot]\fR" Sets this line edit to only accept input that the validator, \fIv\fR, will accept. This allows you to place any arbitrary constraints on the text which may be entered. .PP If \fIv\fR == 0, setValidator() removes the current input validator. The initial setting is to have no input validator (i.e. any input is accepted up to maxLength()). .PP -See also validator(), QIntValidator, QDoubleValidator, and TQRegExpValidator. +See also validator(), QIntValidator, TQDoubleValidator, and TQRegExpValidator. .PP Examples: .)l lineedits/lineedits.cpp and wizard/wizard.cpp. @@ -537,7 +537,7 @@ Examples: Undoes the last operation if undo is available. Deselects any current selection, and updates the selection start to the current cursor position. .SH "bool TQLineEdit::validateAndSet ( const TQString & newText, int newPos, int newMarkAnchor, int newMarkDrag )" \fBThis function is obsolete.\fR It is provided to keep old source working. We strongly advise against using it in new code. Use setText(), setCursorPosition() and setSelection() instead. -.SH "const QValidator * TQLineEdit::validator () const" +.SH "const TQValidator * TQLineEdit::validator () const" Returns a pointer to the current input validator, or 0 if no validator has been set. .PP See also setValidator(). diff --git a/doc/man/man3/tqmainwindow.3qt b/doc/man/man3/tqmainwindow.3qt index d01ead609..73ad52d19 100644 --- a/doc/man/man3/tqmainwindow.3qt +++ b/doc/man/man3/tqmainwindow.3qt @@ -43,31 +43,31 @@ Inherits TQWidget. .BI "bool \fBisDockEnabled\fR ( Dock dock ) const" .br .ti -1c -.BI "bool \fBisDockEnabled\fR ( QDockArea * area ) const" +.BI "bool \fBisDockEnabled\fR ( TQDockArea * area ) const" .br .ti -1c -.BI "virtual void \fBsetDockEnabled\fR ( QDockWindow * dw, Dock dock, bool enable )" +.BI "virtual void \fBsetDockEnabled\fR ( TQDockWindow * dw, Dock dock, bool enable )" .br .ti -1c -.BI "bool \fBisDockEnabled\fR ( QDockWindow * tb, Dock dock ) const" +.BI "bool \fBisDockEnabled\fR ( TQDockWindow * tb, Dock dock ) const" .br .ti -1c -.BI "bool \fBisDockEnabled\fR ( QDockWindow * dw, QDockArea * area ) const" +.BI "bool \fBisDockEnabled\fR ( TQDockWindow * dw, TQDockArea * area ) const" .br .ti -1c -.BI "virtual void \fBaddDockWindow\fR ( QDockWindow * dockWindow, Dock edge = DockTop, bool newLine = FALSE )" +.BI "virtual void \fBaddDockWindow\fR ( TQDockWindow * dockWindow, Dock edge = DockTop, bool newLine = FALSE )" .br .ti -1c -.BI "virtual void \fBaddDockWindow\fR ( QDockWindow * dockWindow, const TQString & label, Dock edge = DockTop, bool newLine = FALSE )" +.BI "virtual void \fBaddDockWindow\fR ( TQDockWindow * dockWindow, const TQString & label, Dock edge = DockTop, bool newLine = FALSE )" .br .ti -1c -.BI "virtual void \fBmoveDockWindow\fR ( QDockWindow * dockWindow, Dock edge = DockTop )" +.BI "virtual void \fBmoveDockWindow\fR ( TQDockWindow * dockWindow, Dock edge = DockTop )" .br .ti -1c -.BI "virtual void \fBmoveDockWindow\fR ( QDockWindow * dockWindow, Dock edge, bool nl, int index, int extraOffset = -1 )" +.BI "virtual void \fBmoveDockWindow\fR ( TQDockWindow * dockWindow, Dock edge, bool nl, int index, int extraOffset = -1 )" .br .ti -1c -.BI "virtual void \fBremoveDockWindow\fR ( QDockWindow * dockWindow )" +.BI "virtual void \fBremoveDockWindow\fR ( TQDockWindow * dockWindow )" .br .ti -1c .BI "bool rightJustification () const \fI(obsolete)\fR" @@ -85,13 +85,13 @@ Inherits TQWidget. .BI "bool \fBopaqueMoving\fR () const" .br .ti -1c -.BI "bool \fBgetLocation\fR ( QDockWindow * dw, Dock & dock, int & index, bool & nl, int & extraOffset ) const" +.BI "bool \fBgetLocation\fR ( TQDockWindow * dw, Dock & dock, int & index, bool & nl, int & extraOffset ) const" .br .ti -1c -.BI "TQPtrList<QDockWindow> \fBdockWindows\fR ( Dock dock ) const" +.BI "TQPtrList<TQDockWindow> \fBdockWindows\fR ( Dock dock ) const" .br .ti -1c -.BI "TQPtrList<QDockWindow> \fBdockWindows\fR () const" +.BI "TQPtrList<TQDockWindow> \fBdockWindows\fR () const" .br .ti -1c .BI "void \fBlineUpDockWindows\fR ( bool keepNewLines = FALSE )" @@ -100,22 +100,22 @@ Inherits TQWidget. .BI "bool \fBisDockMenuEnabled\fR () const" .br .ti -1c -.BI "bool \fBhasDockWindow\fR ( QDockWindow * dw )" +.BI "bool \fBhasDockWindow\fR ( TQDockWindow * dw )" .br .ti -1c -.BI "void addToolBar ( QDockWindow *, Dock = DockTop, bool newLine = FALSE ) \fI(obsolete)\fR" +.BI "void addToolBar ( TQDockWindow *, Dock = DockTop, bool newLine = FALSE ) \fI(obsolete)\fR" .br .ti -1c -.BI "void addToolBar ( QDockWindow *, const TQString & label, Dock = DockTop, bool newLine = FALSE ) \fI(obsolete)\fR" +.BI "void addToolBar ( TQDockWindow *, const TQString & label, Dock = DockTop, bool newLine = FALSE ) \fI(obsolete)\fR" .br .ti -1c -.BI "void moveToolBar ( QDockWindow *, Dock = DockTop ) \fI(obsolete)\fR" +.BI "void moveToolBar ( TQDockWindow *, Dock = DockTop ) \fI(obsolete)\fR" .br .ti -1c -.BI "void moveToolBar ( QDockWindow *, Dock, bool nl, int index, int extraOffset = -1 ) \fI(obsolete)\fR" +.BI "void moveToolBar ( TQDockWindow *, Dock, bool nl, int index, int extraOffset = -1 ) \fI(obsolete)\fR" .br .ti -1c -.BI "void removeToolBar ( QDockWindow * ) \fI(obsolete)\fR" +.BI "void removeToolBar ( TQDockWindow * ) \fI(obsolete)\fR" .br .ti -1c .BI "bool toolBarsMovable () const \fI(obsolete)\fR" @@ -127,22 +127,22 @@ Inherits TQWidget. .BI "void lineUpToolBars ( bool keepNewLines = FALSE ) \fI(obsolete)\fR" .br .ti -1c -.BI "QDockArea * \fBleftDock\fR () const" +.BI "TQDockArea * \fBleftDock\fR () const" .br .ti -1c -.BI "QDockArea * \fBrightDock\fR () const" +.BI "TQDockArea * \fBrightDock\fR () const" .br .ti -1c -.BI "QDockArea * \fBtopDock\fR () const" +.BI "TQDockArea * \fBtopDock\fR () const" .br .ti -1c -.BI "QDockArea * \fBbottomDock\fR () const" +.BI "TQDockArea * \fBbottomDock\fR () const" .br .ti -1c .BI "virtual bool \fBisCustomizable\fR () const" .br .ti -1c -.BI "bool \fBappropriate\fR ( QDockWindow * dw ) const" +.BI "bool \fBappropriate\fR ( TQDockWindow * dw ) const" .br .ti -1c .BI "enum \fBDockWindows\fR { OnlyToolBars, NoToolBars, AllDockWindows }" @@ -175,7 +175,7 @@ Inherits TQWidget. .BI "virtual void \fBwhatsThis\fR ()" .br .ti -1c -.BI "virtual void \fBsetAppropriate\fR ( QDockWindow * dw, bool a )" +.BI "virtual void \fBsetAppropriate\fR ( TQDockWindow * dw, bool a )" .br .ti -1c .BI "virtual void \fBcustomize\fR ()" @@ -193,7 +193,7 @@ Inherits TQWidget. .BI "void \fBusesTextLabelChanged\fR ( bool )" .br .ti -1c -.BI "void \fBdockWindowPositionChanged\fR ( QDockWindow * dockWindow )" +.BI "void \fBdockWindowPositionChanged\fR ( TQDockWindow * dockWindow )" .br .ti -1c .BI "void toolBarPositionChanged ( TQToolBar * ) \fI(obsolete)\fR" @@ -372,13 +372,13 @@ The main window will take care of the dock areas, and the geometry of the centra .PP TQMainWindow provides a TQToolTipGroup connected to the status bar. The function toolTipGroup() provides access to the default TQToolTipGroup. It isn't possible to set a different tool tip group. .PP -New dock windows and toolbars can be added to a TQMainWindow using addDockWindow(). Dock windows can be moved using moveDockWindow() and removed with removeDockWindow(). TQMainWindow allows default dock window (toolbar) docking in all its dock areas (Top, Left, Right, Bottom). You can use setDockEnabled() to enable and disable docking areas for dock windows. When adding or moving dock windows you can specify their 'edge' (dock area). The currently available edges are: Top, Left, Right, Bottom, Minimized (effectively a 'hidden' dock area) and TornOff (floating). See TQt::Dock for an explanation of these areas. Note that the *ToolBar functions are included for backward compatibility; all new code should use the *DockWindow functions. TQToolbar is a subclass of QDockWindow so all functions that work with dock windows work on toolbars in the same way. +New dock windows and toolbars can be added to a TQMainWindow using addDockWindow(). Dock windows can be moved using moveDockWindow() and removed with removeDockWindow(). TQMainWindow allows default dock window (toolbar) docking in all its dock areas (Top, Left, Right, Bottom). You can use setDockEnabled() to enable and disable docking areas for dock windows. When adding or moving dock windows you can specify their 'edge' (dock area). The currently available edges are: Top, Left, Right, Bottom, Minimized (effectively a 'hidden' dock area) and TornOff (floating). See TQt::Dock for an explanation of these areas. Note that the *ToolBar functions are included for backward compatibility; all new code should use the *DockWindow functions. TQToolbar is a subclass of TQDockWindow so all functions that work with dock windows work on toolbars in the same way. .PP If the user clicks the close button, then the dock window is hidden. A dock window can be hidden or unhidden by the user by right clicking a dock area and clicking the name of the relevant dock window on the pop up dock window menu. This menu lists the names of every dock window; visible dock windows have a tick beside their names. The dock window menu is created automatically as required by createDockWindowMenu(). Since it may not always be appropriate for a dock window to appear on this menu the setAppropriate() function is used to inform the main window whether or not the dock window menu should include a particular dock window. Double clicking a dock window handle (usually on the left-hand side of the dock window) undocks (floats) the dock window. Double clicking a floating dock window's titlebar will dock the floating dock window. (See also TQMainWindow::DockWindows.) .PP Some functions change the appearance of a TQMainWindow globally: .TP -QDockWindow::setHorizontalStretchable() and QDockWindow::setVerticalStretchable() are used to make specific dock windows or toolbars stretchable. +TQDockWindow::setHorizontalStretchable() and TQDockWindow::setVerticalStretchable() are used to make specific dock windows or toolbars stretchable. .TP setUsesBigPixmaps() is used to set whether tool buttons should draw small or large pixmaps (see TQIconSet for more information). .TP @@ -386,7 +386,7 @@ setUsesTextLabel() is used to set whether tool buttons should display a textual .PP The user can drag dock windows into any enabled docking area. Dock windows can also be dragged \fIwithin\fR a docking area, for example to rearrange the order of some toolbars. Dock windows can also be dragged outside any docking area (undocked or 'floated'). Being able to drag dock windows can be enabled (the default) and disabled using setDockWindowsMovable(). .PP -The Minimized edge is a hidden dock area. If this dock area is enabled the user can hide (minimize) a dock window or show (restore) a minimized dock window by clicking the dock window handle. If the user hovers the mouse cursor over one of the handles, the caption of the dock window is displayed in a tool tip (see QDockWindow::caption() or TQToolBar::label()), so if you enable the Minimized dock area, it is best to specify a meaningful caption or label for each dock window. To minimize a dock window programmatically use moveDockWindow() with an edge of Minimized. +The Minimized edge is a hidden dock area. If this dock area is enabled the user can hide (minimize) a dock window or show (restore) a minimized dock window by clicking the dock window handle. If the user hovers the mouse cursor over one of the handles, the caption of the dock window is displayed in a tool tip (see TQDockWindow::caption() or TQToolBar::label()), so if you enable the Minimized dock area, it is best to specify a meaningful caption or label for each dock window. To minimize a dock window programmatically use moveDockWindow() with an edge of Minimized. .PP Dock windows are moved transparently by default, i.e. during the drag an outline rectangle is drawn on the screen representing the position of the dock window as it moves. If you want the dock window to be shown normally whilst it is moved use setOpaqueMoving(). .PP @@ -452,11 +452,11 @@ To restore the dock window positions and sizes (normally when the application is .PP The TQSettings class can be used in conjunction with the streaming operators to store the application's settings. .PP -TQMainWindow's management of dock windows and toolbars is done transparently behind-the-scenes by QDockArea. +TQMainWindow's management of dock windows and toolbars is done transparently behind-the-scenes by TQDockArea. .PP For multi-document interfaces (MDI), use a TQWorkspace as the central widget. .PP -Adding dock windows, e.g. toolbars, to TQMainWindow's dock areas is straightforward. If the supplied dock areas are not sufficient for your application we suggest that you create a TQWidget subclass and add your own dock areas (see QDockArea) to the subclass since TQMainWindow provides functionality specific to the standard dock areas it provides. +Adding dock windows, e.g. toolbars, to TQMainWindow's dock areas is straightforward. If the supplied dock areas are not sufficient for your application we suggest that you create a TQWidget subclass and add your own dock areas (see TQDockArea) to the subclass since TQMainWindow provides functionality specific to the standard dock areas it provides. .PP .ce 1 .B "[Image Omitted]" @@ -465,7 +465,7 @@ Adding dock windows, e.g. toolbars, to TQMainWindow's dock areas is straightforw .ce 1 .B "[Image Omitted]" .PP -See also TQToolBar, QDockWindow, TQStatusBar, TQAction, TQMenuBar, TQPopupMenu, TQToolTipGroup, TQDialog, and Main Window and Related Classes. +See also TQToolBar, TQDockWindow, TQStatusBar, TQAction, TQMenuBar, TQPopupMenu, TQToolTipGroup, TQDialog, and Main Window and Related Classes. .SS "Member Type Documentation" .SH "TQMainWindow::DockWindows" Right-clicking a dock area will pop-up the dock window menu (createDockWindowMenu() is called automatically). When called in code you can specify what items should appear on the menu with this enum. @@ -482,13 +482,13 @@ Constructs an empty main window. The \fIparent\fR, \fIname\fR and widget flags \ By default, the widget flags are set to WType_TopLevel rather than 0 as they are with TQWidget. If you don't want your TQMainWindow to be a top level widget then you will need to set \fIf\fR to 0. .SH "TQMainWindow::~TQMainWindow ()" Destroys the object and frees any allocated resources. -.SH "void TQMainWindow::addDockWindow ( QDockWindow * dockWindow, Dock edge = DockTop, bool newLine = FALSE )\fC [virtual]\fR" +.SH "void TQMainWindow::addDockWindow ( TQDockWindow * dockWindow, Dock edge = DockTop, bool newLine = FALSE )\fC [virtual]\fR" Adds \fIdockWindow\fR to the \fIedge\fR dock area. .PP If \fInewLine\fR is FALSE (the default) then the \fIdockWindow\fR is added at the end of the \fIedge\fR. For vertical edges the end is at the bottom, for horizontal edges (including Minimized) the end is at the right. If \fInewLine\fR is TRUE a new line of dock windows is started with \fIdockWindow\fR as the first (left-most and top-most) dock window. .PP If \fIdockWindow\fR is managed by another main window, it is first removed from that window. -.SH "void TQMainWindow::addDockWindow ( QDockWindow * dockWindow, const TQString & label, Dock edge = DockTop, bool newLine = FALSE )\fC [virtual]\fR" +.SH "void TQMainWindow::addDockWindow ( TQDockWindow * dockWindow, const TQString & label, Dock edge = DockTop, bool newLine = FALSE )\fC [virtual]\fR" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Adds \fIdockWindow\fR to the dock area with label \fIlabel\fR. @@ -496,13 +496,13 @@ Adds \fIdockWindow\fR to the dock area with label \fIlabel\fR. If \fInewLine\fR is FALSE (the default) the \fIdockWindow\fR is added at the end of the \fIedge\fR. For vertical edges the end is at the bottom, for horizontal edges (including Minimized) the end is at the right. If \fInewLine\fR is TRUE a new line of dock windows is started with \fIdockWindow\fR as the first (left-most and top-most) dock window. .PP If \fIdockWindow\fR is managed by another main window, it is first removed from that window. -.SH "void TQMainWindow::addToolBar ( QDockWindow *, Dock = DockTop, bool newLine = FALSE )" +.SH "void TQMainWindow::addToolBar ( TQDockWindow *, Dock = DockTop, bool newLine = FALSE )" \fBThis function is obsolete.\fR It is provided to keep old source working. We strongly advise against using it in new code. -.SH "void TQMainWindow::addToolBar ( QDockWindow *, const TQString & label, Dock = DockTop, bool newLine = FALSE )" +.SH "void TQMainWindow::addToolBar ( TQDockWindow *, const TQString & label, Dock = DockTop, bool newLine = FALSE )" \fBThis function is obsolete.\fR It is provided to keep old source working. We strongly advise against using it in new code. .PP This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -.SH "bool TQMainWindow::appropriate ( QDockWindow * dw ) const" +.SH "bool TQMainWindow::appropriate ( TQDockWindow * dw ) const" Returns TRUE if it is appropriate to include a menu item for the \fIdw\fR dock window in the dock window menu; otherwise returns FALSE. .PP The user is able to change the state (show or hide) a dock window that has a menu item by clicking the item. @@ -510,7 +510,7 @@ The user is able to change the state (show or hide) a dock window that has a men Call setAppropriate() to indicate whether or not a particular dock window should appear on the popup menu. .PP See also setAppropriate(). -.SH "QDockArea * TQMainWindow::bottomDock () const" +.SH "TQDockArea * TQMainWindow::bottomDock () const" Returns a pointer the Bottom dock area .PP See also topDock(), leftDock(), and rightDock(). @@ -550,21 +550,21 @@ The function is intended, for example, to provide the user with a means of telli The default implementation does nothing and the Customize menu item is not shown on the right-click menu by default. If you want the item to appear then reimplement isCustomizable() to return TRUE, and reimplement this function to do whatever you want. .PP See also isCustomizable(). -.SH "void TQMainWindow::dockWindowPositionChanged ( QDockWindow * dockWindow )\fC [signal]\fR" +.SH "void TQMainWindow::dockWindowPositionChanged ( TQDockWindow * dockWindow )\fC [signal]\fR" This signal is emitted when the \fIdockWindow\fR has changed its position. A change in position occurs when a dock window is moved within its dock area or moved to another dock area (including the Minimized and \fCTearOff\fR dock areas). .PP See also getLocation(). -.SH "TQPtrList<QDockWindow> TQMainWindow::dockWindows ( Dock dock ) const" +.SH "TQPtrList<TQDockWindow> TQMainWindow::dockWindows ( Dock dock ) const" Returns a list of all the dock windows which are in the \fIdock\fR dock area, regardless of their state. .PP For example, the DockTornOff dock area may contain closed dock windows but these are returned along with the visible dock windows. -.SH "TQPtrList<QDockWindow> TQMainWindow::dockWindows () const" +.SH "TQPtrList<TQDockWindow> TQMainWindow::dockWindows () const" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Returns the list of dock windows which belong to this main window, regardless of which dock area they are in or what their state is, (e.g. irrespective of whether they are visible or not). .SH "bool TQMainWindow::dockWindowsMovable () const" Returns TRUE if the dock windows are movable; otherwise returns FALSE. See the "dockWindowsMovable" property for details. -.SH "bool TQMainWindow::getLocation ( QDockWindow * dw, Dock & dock, int & index, bool & nl, int & extraOffset ) const" +.SH "bool TQMainWindow::getLocation ( TQDockWindow * dw, Dock & dock, int & index, bool & nl, int & extraOffset ) const" Finds the location of the dock window \fIdw\fR. .PP If the \fIdw\fR dock window is found in the main window the function returns TRUE and populates the \fIdock\fR variable with the dw's dock area and the \fIindex\fR with the dw's position within the dock area. It also sets \fInl\fR to TRUE if the \fIdw\fR begins a new line (otherwise FALSE), and \fIextraOffset\fR with the dock window's offset. @@ -574,7 +574,7 @@ If the \fIdw\fR dock window is not found then the function returns FALSE and the If you want to save and restore dock window positions then use operator>>() and operator<<(). .PP See also operator>>() and operator<<(). -.SH "bool TQMainWindow::hasDockWindow ( QDockWindow * dw )" +.SH "bool TQMainWindow::hasDockWindow ( TQDockWindow * dw )" Returns TRUE if \fIdw\fR is a dock window known to the main window; otherwise returns FALSE. .SH "bool TQMainWindow::isCustomizable () const\fC [virtual]\fR" Returns TRUE if the dock area dock window menu includes the Customize menu item (which calls customize() when clicked). Returns FALSE by default, i.e. the popup menu will not contain a Customize menu item. You will need to reimplement this function and set it to return TRUE if you wish the user to be able to see the dock window menu. @@ -584,19 +584,19 @@ See also customize(). Returns TRUE if the \fIdock\fR dock area is enabled, i.e. it can accept user dragged dock windows; otherwise returns FALSE. .PP See also setDockEnabled(). -.SH "bool TQMainWindow::isDockEnabled ( QDockArea * area ) const" +.SH "bool TQMainWindow::isDockEnabled ( TQDockArea * area ) const" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Returns TRUE if dock area \fIarea\fR is enabled, i.e. it can accept user dragged dock windows; otherwise returns FALSE. .PP See also setDockEnabled(). -.SH "bool TQMainWindow::isDockEnabled ( QDockWindow * tb, Dock dock ) const" +.SH "bool TQMainWindow::isDockEnabled ( TQDockWindow * tb, Dock dock ) const" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Returns TRUE if dock area \fIdock\fR is enabled for the dock window \fItb\fR; otherwise returns FALSE. .PP See also setDockEnabled(). -.SH "bool TQMainWindow::isDockEnabled ( QDockWindow * dw, QDockArea * area ) const" +.SH "bool TQMainWindow::isDockEnabled ( TQDockWindow * dw, TQDockArea * area ) const" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Returns TRUE if dock area \fIarea\fR is enabled for the dock window \fIdw\fR; otherwise returns FALSE. @@ -608,7 +608,7 @@ Returns TRUE, if the dock window menu is enabled; otherwise returns FALSE. The menu lists the (appropriate()) dock windows (which may be shown or hidden), and has a "Line Up Dock Windows" menu item. It will also have a "Customize" menu item if isCustomizable() returns TRUE. .PP See also setDockEnabled(), lineUpDockWindows(), appropriate(), and setAppropriate(). -.SH "QDockArea * TQMainWindow::leftDock () const" +.SH "TQDockArea * TQMainWindow::leftDock () const" Returns the Left dock area .PP See also rightDock(), topDock(), and bottomDock(). @@ -628,13 +628,13 @@ Returns the menu bar for this window. If there isn't one, then menuBar() creates an empty menu bar. .PP See also statusBar(). -.SH "void TQMainWindow::moveDockWindow ( QDockWindow * dockWindow, Dock edge = DockTop )\fC [virtual]\fR" +.SH "void TQMainWindow::moveDockWindow ( TQDockWindow * dockWindow, Dock edge = DockTop )\fC [virtual]\fR" Moves \fIdockWindow\fR to the end of the \fIedge\fR. .PP For vertical edges the end is at the bottom, for horizontal edges (including Minimized) the end is at the right. .PP If \fIdockWindow\fR is managed by another main window, it is first removed from that window. -.SH "void TQMainWindow::moveDockWindow ( QDockWindow * dockWindow, Dock edge, bool nl, int index, int extraOffset = -1 )\fC [virtual]\fR" +.SH "void TQMainWindow::moveDockWindow ( TQDockWindow * dockWindow, Dock edge, bool nl, int index, int extraOffset = -1 )\fC [virtual]\fR" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Moves \fIdockWindow\fR to position \fIindex\fR within the \fIedge\fR dock area. @@ -646,9 +646,9 @@ If \fInl\fR is TRUE, a new dock window line is created below the line in which t The \fIextraOffset\fR is the space to put between the left side of the dock area (top side for vertical dock areas) and the dock window. (This is mostly used for restoring dock windows to the positions the user has dragged them to.) .PP If \fIdockWindow\fR is managed by another main window, it is first removed from that window. -.SH "void TQMainWindow::moveToolBar ( QDockWindow *, Dock = DockTop )" +.SH "void TQMainWindow::moveToolBar ( TQDockWindow *, Dock = DockTop )" \fBThis function is obsolete.\fR It is provided to keep old source working. We strongly advise against using it in new code. -.SH "void TQMainWindow::moveToolBar ( QDockWindow *, Dock, bool nl, int index, int extraOffset = -1 )" +.SH "void TQMainWindow::moveToolBar ( TQDockWindow *, Dock, bool nl, int index, int extraOffset = -1 )" \fBThis function is obsolete.\fR It is provided to keep old source working. We strongly advise against using it in new code. .PP This is an overloaded member function, provided for convenience. It behaves essentially like the above function. @@ -656,17 +656,17 @@ This is an overloaded member function, provided for convenience. It behaves esse Returns TRUE if dock windows are moved opaquely; otherwise returns FALSE. See the "opaqueMoving" property for details. .SH "void TQMainWindow::pixmapSizeChanged ( bool )\fC [signal]\fR" This signal is emitted whenever the setUsesBigPixmaps() is called with a value different to the current setting. All widgets that should respond to such changes, e.g. toolbar buttons, must connect to this signal. -.SH "void TQMainWindow::removeDockWindow ( QDockWindow * dockWindow )\fC [virtual]\fR" +.SH "void TQMainWindow::removeDockWindow ( TQDockWindow * dockWindow )\fC [virtual]\fR" Removes \fIdockWindow\fR from the main window's docking area, provided \fIdockWindow\fR is non-null and managed by this main window. -.SH "void TQMainWindow::removeToolBar ( QDockWindow * )" +.SH "void TQMainWindow::removeToolBar ( TQDockWindow * )" \fBThis function is obsolete.\fR It is provided to keep old source working. We strongly advise against using it in new code. -.SH "QDockArea * TQMainWindow::rightDock () const" +.SH "TQDockArea * TQMainWindow::rightDock () const" Returns the Right dock area .PP See also leftDock(), topDock(), and bottomDock(). .SH "bool TQMainWindow::rightJustification () const" Returns TRUE if the main window right-justifies its dock windows; otherwise returns FALSE. See the "rightJustification" property for details. -.SH "void TQMainWindow::setAppropriate ( QDockWindow * dw, bool a )\fC [virtual slot]\fR" +.SH "void TQMainWindow::setAppropriate ( TQDockWindow * dw, bool a )\fC [virtual slot]\fR" Use this function to control whether or not the \fIdw\fR dock window's caption should appear as a menu item on the dock window menu that lists the dock windows. .PP If \fIa\fR is TRUE then the \fIdw\fR will appear as a menu item on the dock window menu. The user is able to change the state (show or hide) a dock window that has a menu item by clicking the item; depending on the state of your application, this may or may not be appropriate. If \fIa\fR is FALSE the \fIdw\fR will not appear on the popup menu. @@ -682,7 +682,7 @@ See also centralWidget(). If \fIenable\fR is TRUE then users can dock windows in the \fIdock\fR area. If \fIenable\fR is FALSE users cannot dock windows in the \fIdock\fR dock area. .PP Users can dock (drag) dock windows into any enabled dock area. -.SH "void TQMainWindow::setDockEnabled ( QDockWindow * dw, Dock dock, bool enable )\fC [virtual]\fR" +.SH "void TQMainWindow::setDockEnabled ( TQDockWindow * dw, Dock dock, bool enable )\fC [virtual]\fR" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP If \fIenable\fR is TRUE then users can dock the \fIdw\fR dock window in the \fIdock\fR area. If \fIenable\fR is FALSE users cannot dock the \fIdw\fR dock window in the \fIdock\fR area. @@ -732,7 +732,7 @@ See also dockWindows(). Returns this main window's tool tip group. If there isn't one, toolTipGroup() creates an empty tool tip group. .PP See also menuBar() and statusBar(). -.SH "QDockArea * TQMainWindow::topDock () const" +.SH "TQDockArea * TQMainWindow::topDock () const" Returns the Top dock area .PP See also bottomDock(), leftDock(), and rightDock(). @@ -784,7 +784,7 @@ This property holds whether the main window right-justifies its dock windows. .PP If disabled (the default), stretchable dock windows are expanded, and non-stretchable dock windows are given the minimum space they need. Since most dock windows are not stretchable, this usually results in an unjustified right edge (or unjustified bottom edge for a vertical dock area). If enabled, the main window will right-justify its dock windows. .PP -See also QDockWindow::setVerticalStretchable() and QDockWindow::setHorizontalStretchable(). +See also TQDockWindow::setVerticalStretchable() and TQDockWindow::setHorizontalStretchable(). .PP Set this property's value with setRightJustification() and get this property's value with rightJustification(). .SH "bool usesBigPixmaps" diff --git a/doc/man/man3/tqmovie.3qt b/doc/man/man3/tqmovie.3qt index aa5047956..c0a9e61f9 100644 --- a/doc/man/man3/tqmovie.3qt +++ b/doc/man/man3/tqmovie.3qt @@ -132,7 +132,7 @@ TQMovie objects are explicitly shared. This means that a TQMovie copied from ano .PP The set of data formats supported by TQMovie is determined by the decoder factories that have been installed; the format of the input is determined as the input is decoded. .PP -The supported formats are MNG (if TQt is configured with MNG support enabled) and GIF (if TQt is configured with GIF support enabled, see ntqgif.h). +The supported formats are MNG (if TQt is configured with MNG support enabled) and GIF (if TQt is configured with GIF support enabled, see tqgif.h). .PP If TQt is configured to support GIF reading, we are required to state that "The Graphics Interchange Format(c) is the Copyright property of CompuServe Incorporated. GIF(sm) is a Service Mark property of CompuServe Incorporated. .PP diff --git a/doc/man/man3/tqobject.3qt b/doc/man/man3/tqobject.3qt index d0d63c1d6..1c72fbd89 100644 --- a/doc/man/man3/tqobject.3qt +++ b/doc/man/man3/tqobject.3qt @@ -15,7 +15,7 @@ All the functions in this class are reentrant when TQt is built with thread supp .PP Inherits Qt. .PP --Inherited by TQAccel, TQAccessibleObject, TQAction, QApplication, TQAssistantClient, TQDataPump, TQWidget, TQCanvas, TQStyle, TQClipboard, TQDns, TQLayout, TQDragObject, TQEditorFactory, TQEventLoop, TQFileIconProvider, TQNetworkProtocol, TQNetworkOperation, QNPInstance, TQObjectCleanupHandler, TQProcess, TQServerSocket, TQSessionManager, TQSignal, TQSignalMapper, TQSocket, TQSocketNotifier, QSound, TQSqlDatabase, TQSqlDriver, TQSqlForm, TQStyleSheet, TQTimer, TQToolTipGroup, TQTranslator, TQUrlOperator, and QValidator. +-Inherited by TQAccel, TQAccessibleObject, TQAction, QApplication, TQAssistantClient, TQDataPump, TQWidget, TQCanvas, TQStyle, TQClipboard, TQDns, TQLayout, TQDragObject, TQEditorFactory, TQEventLoop, TQFileIconProvider, TQNetworkProtocol, TQNetworkOperation, QNPInstance, TQObjectCleanupHandler, TQProcess, TQServerSocket, TQSessionManager, TQSignal, TQSignalMapper, TQSocket, TQSocketNotifier, QSound, TQSqlDatabase, TQSqlDriver, TQSqlForm, TQStyleSheet, TQTimer, TQToolTipGroup, TQTranslator, TQUrlOperator, and TQValidator. .PP .SS "Public Members" .in +1c diff --git a/doc/man/man3/tqpainter.3qt b/doc/man/man3/tqpainter.3qt index d4e53b19e..f88a37cff 100644 --- a/doc/man/man3/tqpainter.3qt +++ b/doc/man/man3/tqpainter.3qt @@ -1573,7 +1573,7 @@ Example: See also xForm() and TQWMatrix::map(). .SH RELATED FUNCTION DOCUMENTATION .SH "void qDrawPlainRect ( TQPainter * p, int x, int y, int w, int h, const TQColor & c, int lineWidth, const TQBrush * fill )" -\fC#include <ntqdrawutil.h>\fR +\fC#include <tqdrawutil.h>\fR .PP Draws the plain rectangle specified by (\fIx\fR, \fIy\fR, \fIw\fR, \fIh\fR) using the painter \fIp\fR. .PP @@ -1589,7 +1589,7 @@ If you want to use a TQFrame widget instead, you can make it display a plain rec .PP See also qDrawShadeRect() and TQStyle::drawPrimitive(). .SH "void qDrawShadeLine ( TQPainter * p, int x1, int y1, int x2, int y2, const TQColorGroup & g, bool sunken, int lineWidth, int midLineWidth )" -\fC#include <ntqdrawutil.h>\fR +\fC#include <tqdrawutil.h>\fR .PP Draws a horizontal (\fIy1\fR == \fIy2\fR) or vertical (\fIx1\fR == \fIx2\fR) shaded line using the painter \fIp\fR. .PP @@ -1609,7 +1609,7 @@ If you want to use a TQFrame widget instead, you can make it display a shaded li .PP See also qDrawShadeRect(), qDrawShadePanel(), and TQStyle::drawPrimitive(). .SH "void qDrawShadePanel ( TQPainter * p, int x, int y, int w, int h, const TQColorGroup & g, bool sunken, int lineWidth, const TQBrush * fill )" -\fC#include <ntqdrawutil.h>\fR +\fC#include <tqdrawutil.h>\fR .PP Draws the shaded panel specified by (\fIx\fR, \fIy\fR, \fIw\fR, \fIh\fR) using the painter \fIp\fR. .PP @@ -1627,7 +1627,7 @@ If you want to use a TQFrame widget instead, you can make it display a shaded pa .PP See also qDrawWinPanel(), qDrawShadeLine(), qDrawShadeRect(), and TQStyle::drawPrimitive(). .SH "void qDrawShadeRect ( TQPainter * p, int x, int y, int w, int h, const TQColorGroup & g, bool sunken, int lineWidth, int midLineWidth, const TQBrush * fill )" -\fC#include <ntqdrawutil.h>\fR +\fC#include <tqdrawutil.h>\fR .PP Draws the shaded rectangle specified by (\fIx\fR, \fIy\fR, \fIw\fR, \fIh\fR) using the painter \fIp\fR. .PP @@ -1647,7 +1647,7 @@ If you want to use a TQFrame widget instead, you can make it display a shaded re .PP See also qDrawShadeLine(), qDrawShadePanel(), qDrawPlainRect(), TQStyle::drawItem(), TQStyle::drawControl(), and TQStyle::drawComplexControl(). .SH "void qDrawWinButton ( TQPainter * p, int x, int y, int w, int h, const TQColorGroup & g, bool sunken, const TQBrush * fill )" -\fC#include <ntqdrawutil.h>\fR +\fC#include <tqdrawutil.h>\fR .PP Draws the Windows-style button specified by (\fIx\fR, \fIy\fR, \fIw\fR, \fIh\fR) using the painter \fIp\fR. .PP @@ -1663,7 +1663,7 @@ The button's interior is filled with the \fI*fill\fR brush unless \fIfill\fR is .PP See also qDrawWinPanel() and TQStyle::drawControl(). .SH "void qDrawWinPanel ( TQPainter * p, int x, int y, int w, int h, const TQColorGroup & g, bool sunken, const TQBrush * fill )" -\fC#include <ntqdrawutil.h>\fR +\fC#include <tqdrawutil.h>\fR .PP Draws the Windows-style panel specified by (\fIx\fR, \fIy\fR, \fIw\fR, \fIh\fR) using the painter \fIp\fR. .PP diff --git a/doc/man/man3/tqregexpvalidator.3qt b/doc/man/man3/tqregexpvalidator.3qt index a567f4952..0f0815291 100644 --- a/doc/man/man3/tqregexpvalidator.3qt +++ b/doc/man/man3/tqregexpvalidator.3qt @@ -9,9 +9,9 @@ .SH NAME TQRegExpValidator \- Used to check a string against a .SH SYNOPSIS -\fC#include <ntqvalidator.h>\fR +\fC#include <tqvalidator.h>\fR .PP -Inherits QValidator. +Inherits TQValidator. .PP .SS "Public Members" .in +1c @@ -25,7 +25,7 @@ Inherits QValidator. .BI "\fB~TQRegExpValidator\fR ()" .br .ti -1c -.BI "virtual QValidator::State \fBvalidate\fR ( TQString & input, int & pos ) const" +.BI "virtual TQValidator::State \fBvalidate\fR ( TQString & input, int & pos ) const" .br .ti -1c .BI "void \fBsetRegExp\fR ( const TQRegExp & rx )" @@ -51,7 +51,7 @@ Example of use: .br TQRegExp rx( "-?\\\\d{1,3}" ); .br - QValidator* validator = new TQRegExpValidator( rx, this ); + TQValidator* validator = new TQRegExpValidator( rx, this ); .br .br TQLineEdit* edit = new TQLineEdit( this ); @@ -124,7 +124,7 @@ Below we present some examples of validators. In practice they would normally be .br .fi .PP -See also TQRegExp, QIntValidator, QDoubleValidator, and Miscellaneous Classes. +See also TQRegExp, QIntValidator, TQDoubleValidator, and Miscellaneous Classes. .SH MEMBER FUNCTION DOCUMENTATION .SH "TQRegExpValidator::TQRegExpValidator ( TQObject * parent, const char * name = 0 )" Constructs a validator that accepts any string (including an empty one) as valid. The object's parent is \fIparent\fR and its name is \fIname\fR. @@ -142,7 +142,7 @@ See also setRegExp(). Sets the regular expression used for validation to \fIrx\fR. .PP See also regExp(). -.SH "QValidator::State TQRegExpValidator::validate ( TQString & input, int & pos ) const\fC [virtual]\fR" +.SH "TQValidator::State TQRegExpValidator::validate ( TQString & input, int & pos ) const\fC [virtual]\fR" Returns Acceptable if \fIinput\fR is matched by the regular expression for this validator, Intermediate if it has matched partially (i.e. could be a valid match if additional valid characters are added), and Invalid if \fIinput\fR is not matched. .PP The \fIpos\fR parameter is set to the length of the \fIinput\fR parameter. @@ -151,7 +151,7 @@ For example, if the regular expression is \fB\w\d\d\fR (that is, wor .PP See also TQRegExp::match() and TQRegExp::search(). .PP -Reimplemented from QValidator. +Reimplemented from TQValidator. .SH "SEE ALSO" .BR http://doc.trolltech.com/tqregexpvalidator.html diff --git a/doc/man/man3/tqscrollbar.3qt b/doc/man/man3/tqscrollbar.3qt index c8d0dc37d..16b0fa690 100644 --- a/doc/man/man3/tqscrollbar.3qt +++ b/doc/man/man3/tqscrollbar.3qt @@ -142,7 +142,7 @@ Inherits TQWidget and QRangeControl. .SS "Protected Members" .in +1c .ti -1c -.BI "virtual void \fBhideEvent\fR ( QHideEvent * )" +.BI "virtual void \fBhideEvent\fR ( TQHideEvent * )" .br .in -1c .SH DESCRIPTION @@ -212,7 +212,7 @@ The \fIparent\fR and \fIname\fR arguments are sent on to the TQWidget constructo Destructor. .SH "bool TQScrollBar::draggingSlider () const" Returns TRUE if the user has clicked the mouse on the slider and is currently dragging it; otherwise returns FALSE. See the "draggingSlider" property for details. -.SH "void TQScrollBar::hideEvent ( QHideEvent * )\fC [virtual protected]\fR" +.SH "void TQScrollBar::hideEvent ( TQHideEvent * )\fC [virtual protected]\fR" This function is called when the scrollbar is hidden. .PP Reimplemented from TQWidget. diff --git a/doc/man/man3/tqshowevent.3qt b/doc/man/man3/tqshowevent.3qt index 99950f74b..54a1fd36e 100644 --- a/doc/man/man3/tqshowevent.3qt +++ b/doc/man/man3/tqshowevent.3qt @@ -24,7 +24,7 @@ The QShowEvent class provides an event which is sent when a widget is shown. .PP There are two kinds of show events: show events caused by the window system (spontaneous) and internal show events. Spontaneous show events are sent just after the window system shows the window, including after a top-level window has been shown (un-iconified) by the user. Internal show events are delivered just before the widget becomes visible. .PP -See also QHideEvent and Event Classes. +See also TQHideEvent and Event Classes. .SH MEMBER FUNCTION DOCUMENTATION .SH "QShowEvent::QShowEvent ()" Constructs a QShowEvent. diff --git a/doc/man/man3/tqspinbox.3qt b/doc/man/man3/tqspinbox.3qt index cc6c631d5..fafdfd54f 100644 --- a/doc/man/man3/tqspinbox.3qt +++ b/doc/man/man3/tqspinbox.3qt @@ -58,10 +58,10 @@ Inherits TQWidget and QRangeControl. .BI "ButtonSymbols \fBbuttonSymbols\fR () const" .br .ti -1c -.BI "virtual void \fBsetValidator\fR ( const QValidator * v )" +.BI "virtual void \fBsetValidator\fR ( const TQValidator * v )" .br .ti -1c -.BI "const QValidator * \fBvalidator\fR () const" +.BI "const TQValidator * \fBvalidator\fR () const" .br .ti -1c .BI "int \fBminValue\fR () const" @@ -360,7 +360,7 @@ Sets the spin box's prefix to \fItext\fR. See the "prefix" property for details. Sets the special-value text to \fItext\fR. See the "specialValueText" property for details. .SH "void TQSpinBox::setSuffix ( const TQString & text )\fC [virtual slot]\fR" Sets the suffix of the spin box to \fItext\fR. See the "suffix" property for details. -.SH "void TQSpinBox::setValidator ( const QValidator * v )\fC [virtual]\fR" +.SH "void TQSpinBox::setValidator ( const TQValidator * v )\fC [virtual]\fR" Sets the validator to \fIv\fR. The validator controls what keyboard input is accepted when the user is editing in the value field. The default is to use a suitable QIntValidator. .PP Use setValidator(0) to turn off input validation (entered input will still be kept within the spin box's range). @@ -390,10 +390,10 @@ Returns the geometry of the "up" button. Updates the contents of the embedded TQLineEdit to reflect the current value using mapValueToText(). Also enables/disables the up/down push buttons accordingly. .PP See also mapValueToText(). -.SH "const QValidator * TQSpinBox::validator () const" +.SH "const TQValidator * TQSpinBox::validator () const" Returns the validator that constrains editing for this spin box if there is any; otherwise returns 0. .PP -See also setValidator() and QValidator. +See also setValidator() and TQValidator. .SH "int TQSpinBox::value () const" Returns the value of the spin box. See the "value" property for details. .SH "void TQSpinBox::valueChange ()\fC [virtual protected]\fR" diff --git a/doc/man/man3/tqstyle.3qt b/doc/man/man3/tqstyle.3qt index e4d83d431..d0ed1631f 100644 --- a/doc/man/man3/tqstyle.3qt +++ b/doc/man/man3/tqstyle.3qt @@ -256,7 +256,7 @@ This enum represents a ControlElement. A ControlElement is part of a widget that .TP \fCTQStyle::CE_MenuBarEmptyArea\fR - the empty area of a TQMenuBar. .TP -\fCTQStyle::CE_DockWindowEmptyArea\fR - the empty area of a QDockWindow. +\fCTQStyle::CE_DockWindowEmptyArea\fR - the empty area of a TQDockWindow. .TP \fCTQStyle::CE_ToolBoxTab\fR - the toolbox's tab area .TP @@ -410,7 +410,7 @@ This enum represents the PrimitiveElements of a style. A PrimitiveElement is a c .TP \fCTQStyle::PE_ExclusiveIndicatorMask\fR - bitmap mask for an exclusive indicator. .TP -\fCTQStyle::PE_DockWindowHandle\fR - tear off handle for dock windows and toolbars, for example QDockWindows and TQToolBars. +\fCTQStyle::PE_DockWindowHandle\fR - tear off handle for dock windows and toolbars, for example TQDockWindows and TQToolBars. .TP \fCTQStyle::PE_DockWindowSeparator\fR - item separator for dock window and toolbar contents. .TP @@ -638,7 +638,7 @@ This enum represents a StylePixmap. A StylePixmap is a pixmap that can follow so .TP \fCTQStyle::SP_MessageBoxQuestion\fR - the 'question' icon. .TP -\fCTQStyle::SP_DockWindowCloseButton\fR - close button on dock windows; see also QDockWindow. +\fCTQStyle::SP_DockWindowCloseButton\fR - close button on dock windows; see also TQDockWindow. .TP \fCTQStyle::SP_CustomBase\fR - base value for custom ControlElements. All values above this are reserved for custom use. Therefore, custom values must be greater than this value. .PP @@ -988,7 +988,7 @@ The \fIwidget\fR argument is a pointer to a TQWidget or one of its subclasses. T .PP <center>.nf .TS -l - l. ContentsType Widget Cast Options Notes CT_PushButton (const TQPushButton *) Unused. CT_CheckBox (const TQCheckBox *) Unused. CT_RadioButton (const TQRadioButton *) Unused. CT_ToolButton (const TQToolButton *) Unused. CT_ComboBox (const TQComboBox *) Unused. CT_Splitter (const QSplitter *) Unused. CT_DockWindow (const QDockWindow *) Unused. CT_ProgressBar (const TQProgressBar *) Unused. CT_PopupMenuItem (const TQPopupMenu *) TQStyleOption ( TQMenuItem *mi ) +l - l. ContentsType Widget Cast Options Notes CT_PushButton (const TQPushButton *) Unused. CT_CheckBox (const TQCheckBox *) Unused. CT_RadioButton (const TQRadioButton *) Unused. CT_ToolButton (const TQToolButton *) Unused. CT_ComboBox (const TQComboBox *) Unused. CT_Splitter (const QSplitter *) Unused. CT_DockWindow (const TQDockWindow *) Unused. CT_ProgressBar (const TQProgressBar *) Unused. CT_PopupMenuItem (const TQPopupMenu *) TQStyleOption ( TQMenuItem *mi ) .TP opt.menuItem() .TE @@ -1025,7 +1025,7 @@ l - l. SubRect Widget Cast SR_PushButtonContents (const TQPushButton *) SR_PushB .fi </center> .PP -The tear-off handle (SR_DockWindowHandleRect) for QDockWindow is a private class. Use TQWidget::parentWidget() to access the QDockWindow: +The tear-off handle (SR_DockWindowHandleRect) for TQDockWindow is a private class. Use TQWidget::parentWidget() to access the TQDockWindow: .PP .nf .br @@ -1033,7 +1033,7 @@ The tear-off handle (SR_DockWindowHandleRect) for QDockWindow is a private class .br return; .br - const QDockWindow *dw = (const QDockWindow *) widget->parentWidget(); + const TQDockWindow *dw = (const TQDockWindow *) widget->parentWidget(); .br .fi .PP diff --git a/doc/man/man3/tqtoolbar.3qt b/doc/man/man3/tqtoolbar.3qt index 7cf57b298..5fe26530b 100644 --- a/doc/man/man3/tqtoolbar.3qt +++ b/doc/man/man3/tqtoolbar.3qt @@ -11,7 +11,7 @@ TQToolBar \- Movable panel containing widgets such as tool buttons .SH SYNOPSIS \fC#include <tqtoolbar.h>\fR .PP -Inherits QDockWindow. +Inherits TQDockWindow. .PP .SS "Public Members" .in +1c @@ -54,7 +54,7 @@ The TQToolBar class provides a movable panel containing widgets such as tool but .PP A toolbar is a panel that contains a set of controls, usually represented by small icons. It's purpose is to provide quick access to frequently used commands or options. Within a TQMainWindow the user can drag toolbars within and between the dock areas. Toolbars can also be dragged out of any dock area to float freely as top-level windows. .PP -TQToolBar is a specialization of QDockWindow, and so provides all the functionality of a QDockWindow. +TQToolBar is a specialization of TQDockWindow, and so provides all the functionality of a TQDockWindow. .PP To use TQToolBar you simply create a TQToolBar as a child of a TQMainWindow, create a number of TQToolButton widgets (or other widgets) in left to right (or top to bottom) order and call addSeparator() when you want a separator. When a toolbar is floated the caption used is the label given in the constructor call. This can be changed with setLabel(). .PP @@ -75,13 +75,13 @@ You may use most widgets within a toolbar, with TQToolButton and TQComboBox bein .PP If you create a new widget on an already visible TQToolBar, this widget will automatically become visible without needing a show() call. (This differs from every other TQt widget container. We recommend calling show() anyway since we hope to fix this anomaly in a future release.) .PP -TQToolBars, like QDockWindows, are located in QDockAreas or float as top-level windows. TQMainWindow provides four QDockAreas (top, left, right and bottom). When you create a new toolbar (as in the example above) as a child of a TQMainWindow the toolbar will be added to the top dock area. You can move it to another dock area (or float it) by calling TQMainWindow::moveDockWindow(). QDock areas lay out their windows in Lines. +TQToolBars, like TQDockWindows, are located in TQDockAreas or float as top-level windows. TQMainWindow provides four TQDockAreas (top, left, right and bottom). When you create a new toolbar (as in the example above) as a child of a TQMainWindow the toolbar will be added to the top dock area. You can move it to another dock area (or float it) by calling TQMainWindow::moveDockWindow(). TQDock areas lay out their windows in Lines. .PP If the main window is resized so that the area occupied by the toolbar is too small to show all its widgets a little arrow button (which looks like a right-pointing chevron, '»') will appear at the right or bottom of the toolbar depending on its orientation. Clicking this button pops up a menu that shows the 'overflowing' items. TQToolButtons are represented in the menu using their textLabel property, other TQButton subclasses are represented using their text property, and TQComboBoxes are represented as submenus, with the caption text being used in the submenu item. .PP Usually a toolbar will get precisely the space it needs. However, with setHorizontalStretchable(), setVerticalStretchable() or setStretchableWidget() you can tell the main window to expand the toolbar to fill all available space in the specified orientation. .PP -The toolbar arranges its buttons either horizontally or vertically (see orientation() for details). Generally, QDockArea will set the orientation correctly for you, but you can set it yourself with setOrientation() and track any changes by connecting to the orientationChanged() signal. +The toolbar arranges its buttons either horizontally or vertically (see orientation() for details). Generally, TQDockArea will set the orientation correctly for you, but you can set it yourself with setOrientation() and track any changes by connecting to the orientationChanged() signal. .PP You can use the clear() method to remove all items from a toolbar. .PP @@ -98,7 +98,7 @@ See also TQToolButton, TQMainWindow, Parts of Isys on Visual Design, GUI Design .SH "TQToolBar::TQToolBar ( const TQString & label, TQMainWindow * mainWindow, TQWidget * parent, bool newLine = FALSE, const char * name = 0, WFlags f = 0 )" Constructs an empty horizontal toolbar. .PP -The toolbar is called \fIname\fR and is a child of \fIparent\fR and is managed by \fImainWindow\fR. The \fIlabel\fR and \fInewLine\fR parameters are passed straight to TQMainWindow::addDockWindow(). \fIname\fR and the widget flags \fIf\fR are passed on to the QDockWindow constructor. +The toolbar is called \fIname\fR and is a child of \fIparent\fR and is managed by \fImainWindow\fR. The \fIlabel\fR and \fInewLine\fR parameters are passed straight to TQMainWindow::addDockWindow(). \fIname\fR and the widget flags \fIf\fR are passed on to the TQDockWindow constructor. .PP Use this constructor if you want to create torn-off (undocked, floating) toolbars or toolbars in the status bar. .SH "TQToolBar::TQToolBar ( TQMainWindow * parent = 0, const char * name = 0 )" diff --git a/doc/man/man3/tqurl.3qt b/doc/man/man3/tqurl.3qt index fb465a0f8..d00df24c2 100644 --- a/doc/man/man3/tqurl.3qt +++ b/doc/man/man3/tqurl.3qt @@ -183,11 +183,11 @@ l - l. Function Returns protocol() "http" host() "www.trolltech.com" port() 80 p .PP Example: .PP -\fChttp://doc.trolltech.com/ntqdockarea.html#lines\fR +\fChttp://doc.trolltech.com/tqdockarea.html#lines\fR .PP <center>.nf .TS -l - l. Function Returns protocol() "http" host() "doc.trolltech.com" fileName() "ntqdockarea.html" ref() +l - l. Function Returns protocol() "http" host() "doc.trolltech.com" fileName() "tqdockarea.html" ref() .TE .fi </center> diff --git a/doc/man/man3/tqvalidator.3qt b/doc/man/man3/tqvalidator.3qt index b0d607cd1..3805d1be6 100644 --- a/doc/man/man3/tqvalidator.3qt +++ b/doc/man/man3/tqvalidator.3qt @@ -1,5 +1,5 @@ '\" t -.TH QValidator 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- +.TH TQValidator 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- .\" Copyright 1992-2007 Trolltech ASA. All rights reserved. See the .\" license file included in the distribution for a complete license .\" statement. @@ -7,21 +7,21 @@ .ad l .nh .SH NAME -QValidator \- Validation of input text +TQValidator \- Validation of input text .SH SYNOPSIS -\fC#include <ntqvalidator.h>\fR +\fC#include <tqvalidator.h>\fR .PP Inherits TQObject. .PP -Inherited by QIntValidator, QDoubleValidator, and TQRegExpValidator. +Inherited by QIntValidator, TQDoubleValidator, and TQRegExpValidator. .PP .SS "Public Members" .in +1c .ti -1c -.BI "\fBQValidator\fR ( TQObject * parent, const char * name = 0 )" +.BI "\fBTQValidator\fR ( TQObject * parent, const char * name = 0 )" .br .ti -1c -.BI "\fB~QValidator\fR ()" +.BI "\fB~TQValidator\fR ()" .br .ti -1c .BI "enum \fBState\fR { Invalid, Intermediate, Valid = Intermediate, Acceptable }" @@ -34,15 +34,15 @@ Inherited by QIntValidator, QDoubleValidator, and TQRegExpValidator. .br .in -1c .SH DESCRIPTION -The QValidator class provides validation of input text. +The TQValidator class provides validation of input text. .PP -The class itself is abstract. Two subclasses, QIntValidator and QDoubleValidator, provide basic numeric-range checking, and TQRegExpValidator provides general checking using a custom regular expression. +The class itself is abstract. Two subclasses, QIntValidator and TQDoubleValidator, provide basic numeric-range checking, and TQRegExpValidator provides general checking using a custom regular expression. .PP -If the built-in validators aren't sufficient, you can subclass QValidator. The class has two virtual functions: validate() and fixup(). +If the built-in validators aren't sufficient, you can subclass TQValidator. The class has two virtual functions: validate() and fixup(). .PP validate() must be implemented by every subclass. It returns Invalid, Intermediate or Acceptable depending on whether its argument is valid (for the subclass's definition of valid). .PP -These three states require some explanation. An Invalid string is \fIclearly\fR invalid. Intermediate is less obvious: the concept of validity is slippery when the string is incomplete (still being edited). QValidator defines Intermediate as the property of a string that is neither clearly invalid nor acceptable as a final result. Acceptable means that the string is acceptable as a final result. One might say that any string that is a plausible intermediate state during entry of an Acceptable string is Intermediate. +These three states require some explanation. An Invalid string is \fIclearly\fR invalid. Intermediate is less obvious: the concept of validity is slippery when the string is incomplete (still being edited). TQValidator defines Intermediate as the property of a string that is neither clearly invalid nor acceptable as a final result. Acceptable means that the string is acceptable as a final result. One might say that any string that is a plausible intermediate state during entry of an Acceptable string is Intermediate. .PP Here are some examples: .IP @@ -58,36 +58,36 @@ For a spin box that accepts lengths, "11cm" and "1in" are Acceptable, "11" and t .PP fixup() is provided for validators that can repair some user errors. The default implementation does nothing. TQLineEdit, for example, will call fixup() if the user presses Enter (or Return) and the content is not currently valid. This allows the fixup() function the opportunity of performing some magic to make an Invalid string Acceptable. .PP -QValidator is typically used with TQLineEdit, TQSpinBox and TQComboBox. +TQValidator is typically used with TQLineEdit, TQSpinBox and TQComboBox. .PP See also Miscellaneous Classes. .SS "Member Type Documentation" -.SH "QValidator::State" +.SH "TQValidator::State" This enum type defines the states in which a validated string can exist. .TP -\fCQValidator::Invalid\fR - the string is \fIclearly\fR invalid. +\fCTQValidator::Invalid\fR - the string is \fIclearly\fR invalid. .TP -\fCQValidator::Intermediate\fR - the string is a plausible intermediate value during editing. +\fCTQValidator::Intermediate\fR - the string is a plausible intermediate value during editing. .TP -\fCQValidator::Acceptable\fR - the string is acceptable as a final result, i.e. it is valid. +\fCTQValidator::Acceptable\fR - the string is acceptable as a final result, i.e. it is valid. .SH MEMBER FUNCTION DOCUMENTATION -.SH "QValidator::QValidator ( TQObject * parent, const char * name = 0 )" +.SH "TQValidator::TQValidator ( TQObject * parent, const char * name = 0 )" Sets up the validator. The \fIparent\fR and \fIname\fR parameters are passed on to the TQObject constructor. -.SH "QValidator::~QValidator ()" +.SH "TQValidator::~TQValidator ()" Destroys the validator, freeing any storage and other resources used. -.SH "void QValidator::fixup ( TQString & input ) const\fC [virtual]\fR" +.SH "void TQValidator::fixup ( TQString & input ) const\fC [virtual]\fR" This function attempts to change \fIinput\fR to be valid according to this validator's rules. It need not result in a valid string: callers of this function must re-test afterwards; the default does nothing. .PP Reimplementations of this function can change \fIinput\fR even if they do not produce a valid string. For example, an ISBN validator might want to delete every character except digits and "-", even if the result is still not a valid ISBN; a surname validator might want to remove whitespace from the start and end of the string, even if the resulting string is not in the list of accepted surnames. -.SH "State QValidator::validate ( TQString & input, int & pos ) const\fC [pure virtual]\fR" +.SH "State TQValidator::validate ( TQString & input, int & pos ) const\fC [pure virtual]\fR" This pure virtual function returns Invalid if \fIinput\fR is invalid according to this validator's rules, Intermediate if it is likely that a little more editing will make the input acceptable (e.g. the user types '4' into a widget which accepts integers between 10 and 99) and Acceptable if the input is valid. .PP The function can change \fIinput\fR and \fIpos\fR (the cursor position) if it wants to. .PP -Reimplemented in QIntValidator, QDoubleValidator, and TQRegExpValidator. +Reimplemented in QIntValidator, TQDoubleValidator, and TQRegExpValidator. .SH "SEE ALSO" -.BR http://doc.trolltech.com/ntqvalidator.html +.BR http://doc.trolltech.com/tqvalidator.html .BR http://www.trolltech.com/faq/tech.html .SH COPYRIGHT Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the diff --git a/doc/man/man3/tqwidget.3qt b/doc/man/man3/tqwidget.3qt index f0c3070ce..34ffa8c7e 100644 --- a/doc/man/man3/tqwidget.3qt +++ b/doc/man/man3/tqwidget.3qt @@ -13,7 +13,7 @@ TQWidget \- The base class of all user interface objects .PP Inherits TQObject and TQPaintDevice. .PP -Inherited by TQButton, TQFrame, TQDialog, TQComboBox, TQDataBrowser, TQDataView, TQDateTimeEditBase, TQDateTimeEdit, TQDesktopWidget, TQDial, QDockArea, TQGLWidget, TQHeader, TQMainWindow, TQMotifWidget, QNPWidget, TQScrollBar, TQSizeGrip, TQSlider, TQSpinBox, QSplashScreen, TQStatusBar, TQTabBar, TQTabWidget, TQWorkspace, and QXtWidget. +Inherited by TQButton, TQFrame, TQDialog, TQComboBox, TQDataBrowser, TQDataView, TQDateTimeEditBase, TQDateTimeEdit, TQDesktopWidget, TQDial, TQDockArea, TQGLWidget, TQHeader, TQMainWindow, TQMotifWidget, QNPWidget, TQScrollBar, TQSizeGrip, TQSlider, TQSpinBox, QSplashScreen, TQStatusBar, TQTabBar, TQTabWidget, TQWorkspace, and QXtWidget. .PP .SS "Public Members" .in +1c @@ -876,10 +876,10 @@ Inherited by TQButton, TQFrame, TQDialog, TQComboBox, TQDataBrowser, TQDataView, .BI "virtual void \fBkeyReleaseEvent\fR ( QKeyEvent * e )" .br .ti -1c -.BI "virtual void \fBfocusInEvent\fR ( QFocusEvent * )" +.BI "virtual void \fBfocusInEvent\fR ( TQFocusEvent * )" .br .ti -1c -.BI "virtual void \fBfocusOutEvent\fR ( QFocusEvent * )" +.BI "virtual void \fBfocusOutEvent\fR ( TQFocusEvent * )" .br .ti -1c .BI "virtual void \fBenterEvent\fR ( TQEvent * )" @@ -930,7 +930,7 @@ Inherited by TQButton, TQFrame, TQDialog, TQComboBox, TQDataBrowser, TQDataView, .BI "virtual void \fBshowEvent\fR ( QShowEvent * )" .br .ti -1c -.BI "virtual void \fBhideEvent\fR ( QHideEvent * )" +.BI "virtual void \fBhideEvent\fR ( TQHideEvent * )" .br .ti -1c .BI "virtual bool \fBmacEvent\fR ( MSG * )" @@ -984,7 +984,7 @@ Inherited by TQButton, TQFrame, TQDialog, TQComboBox, TQDataBrowser, TQDataView, .BI "virtual bool \fBfocusNextPrevChild\fR ( bool next )" .br .ti -1c -.BI "QFocusData * \fBfocusData\fR ()" +.BI "TQFocusData * \fBfocusData\fR ()" .br .ti -1c .BI "virtual void \fBsetKeyCompression\fR ( bool compress )" @@ -1390,20 +1390,20 @@ Reimplemented from TQObject. Returns a pointer to the widget with window identifer/handle \fIid\fR. .PP The window identifier type depends on the underlying window system, see ntqwindowdefs.h for the actual definition. If there is no widget with this identifier, 0 is returned. -.SH "QFocusData * TQWidget::focusData ()\fC [protected]\fR" +.SH "TQFocusData * TQWidget::focusData ()\fC [protected]\fR" Returns the focus data for this widget's top-level widget. .PP Focus data always belongs to the top-level widget. The focus data list contains all the widgets in this top-level widget that can accept focus, in tab order. An iterator points to the current focus widget (focusWidget() returns a pointer to this widget). .PP This information is useful for implementing advanced versions of focusNextPrevChild(). -.SH "void TQWidget::focusInEvent ( QFocusEvent * )\fC [virtual protected]\fR" +.SH "void TQWidget::focusInEvent ( TQFocusEvent * )\fC [virtual protected]\fR" This event handler can be reimplemented in a subclass to receive keyboard focus events (focus received) for the widget. .PP A widget normally must setFocusPolicy() to something other than NoFocus in order to receive focus events. (Note that the application programmer can call setFocus() on any widget, even those that do not normally accept focus.) .PP The default implementation updates the widget (except for toplevel widgets that do not specify a focusPolicy() ). It also calls setMicroFocusHint(), hinting any system-specific input tools about the focus of the user's attention. .PP -See also focusOutEvent(), focusPolicy, keyPressEvent(), keyReleaseEvent(), event(), and QFocusEvent. +See also focusOutEvent(), focusPolicy, keyPressEvent(), keyReleaseEvent(), event(), and TQFocusEvent. .SH "bool TQWidget::focusNextPrevChild ( bool next )\fC [virtual protected]\fR" Finds a new widget to give the keyboard focus to, as appropriate for Tab and Shift+Tab, and returns TRUE if is can find a new widget and FALSE if it can't, .PP @@ -1416,14 +1416,14 @@ Child widgets call focusNextPrevChild() on their parent widgets, but only the to \fBWarning:\fR TQScrollView uses it own logic for this function, which does the right thing in most cases. But if you are using a TQScrollView and want complete control of the focus chain you'll need to override TQScrollView::focusNextPrevChild() and your top-level widgets' focusNextPrevChild() functions. .PP See also focusData(). -.SH "void TQWidget::focusOutEvent ( QFocusEvent * )\fC [virtual protected]\fR" +.SH "void TQWidget::focusOutEvent ( TQFocusEvent * )\fC [virtual protected]\fR" This event handler can be reimplemented in a subclass to receive keyboard focus events (focus lost) for the widget. .PP A widget normally must setFocusPolicy() to something other than NoFocus in order to receive focus events. (Note that the application programmer can call setFocus() on any widget, even those that do not normally accept focus.) .PP The default implementation updates the widget (except for toplevel widgets that do not specify a focusPolicy() ). It also calls setMicroFocusHint(), hinting any system-specific input tools about the focus of the user's attention. .PP -See also focusInEvent(), focusPolicy, keyPressEvent(), keyReleaseEvent(), event(), and QFocusEvent. +See also focusInEvent(), focusPolicy, keyPressEvent(), keyReleaseEvent(), event(), and TQFocusEvent. .PP Example: qmag/qmag.cpp. .SH "FocusPolicy TQWidget::focusPolicy () const" @@ -1526,12 +1526,12 @@ Examples: .)l mdi/application.cpp, popup/popup.cpp, progress/progress.cpp, scrollview/scrollview.cpp, webbrowser/mainwindow.ui.h, and xform/xform.cpp. .PP Reimplemented in TQMenuBar. -.SH "void TQWidget::hideEvent ( QHideEvent * )\fC [virtual protected]\fR" +.SH "void TQWidget::hideEvent ( TQHideEvent * )\fC [virtual protected]\fR" This event handler can be reimplemented in a subclass to receive widget hide events. .PP Hide events are sent to widgets immediately after they have been hidden. .PP -See also event() and QHideEvent. +See also event() and TQHideEvent. .PP Reimplemented in TQScrollBar. .SH "const TQPixmap * TQWidget::icon () const" |