summaryrefslogtreecommitdiffstats
path: root/doc/man/man3/tqdockarea.3qt
diff options
context:
space:
mode:
Diffstat (limited to 'doc/man/man3/tqdockarea.3qt')
-rw-r--r--doc/man/man3/tqdockarea.3qt88
1 files changed, 44 insertions, 44 deletions
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