summaryrefslogtreecommitdiffstats
path: root/doc/man/man3/tqgridlayout.3qt
diff options
context:
space:
mode:
Diffstat (limited to 'doc/man/man3/tqgridlayout.3qt')
-rw-r--r--doc/man/man3/tqgridlayout.3qt50
1 files changed, 25 insertions, 25 deletions
diff --git a/doc/man/man3/tqgridlayout.3qt b/doc/man/man3/tqgridlayout.3qt
index d2fecc6b1..6a1f93c78 100644
--- a/doc/man/man3/tqgridlayout.3qt
+++ b/doc/man/man3/tqgridlayout.3qt
@@ -9,9 +9,9 @@
.SH NAME
TQGridLayout \- Lays out widgets in a grid
.SH SYNOPSIS
-\fC#include <ntqlayout.h>\fR
+\fC#include <tqlayout.h>\fR
.PP
-Inherits QLayout.
+Inherits TQLayout.
.PP
.SS "Public Members"
.in +1c
@@ -22,7 +22,7 @@ Inherits QLayout.
.BI "\fBTQGridLayout\fR ( int nRows = 1, int nCols = 1, int spacing = -1, const char * name = 0 )"
.br
.ti -1c
-.BI "\fBTQGridLayout\fR ( QLayout * parentLayout, int nRows = 1, int nCols = 1, int spacing = -1, const char * name = 0 )"
+.BI "\fBTQGridLayout\fR ( TQLayout * parentLayout, int nRows = 1, int nCols = 1, int spacing = -1, const char * name = 0 )"
.br
.ti -1c
.BI "\fB~TQGridLayout\fR ()"
@@ -82,13 +82,13 @@ Inherits QLayout.
.BI "virtual void \fBinvalidate\fR ()"
.br
.ti -1c
-.BI "virtual void \fBaddItem\fR ( QLayoutItem * item )"
+.BI "virtual void \fBaddItem\fR ( TQLayoutItem * item )"
.br
.ti -1c
-.BI "void \fBaddItem\fR ( QLayoutItem * item, int row, int col )"
+.BI "void \fBaddItem\fR ( TQLayoutItem * item, int row, int col )"
.br
.ti -1c
-.BI "void \fBaddMultiCell\fR ( QLayoutItem * item, int fromRow, int toRow, int fromCol, int toCol, int alignment = 0 )"
+.BI "void \fBaddMultiCell\fR ( TQLayoutItem * item, int fromRow, int toRow, int fromCol, int toCol, int alignment = 0 )"
.br
.ti -1c
.BI "void \fBaddWidget\fR ( TQWidget * w, int row, int col, int alignment = 0 )"
@@ -97,10 +97,10 @@ Inherits QLayout.
.BI "void \fBaddMultiCellWidget\fR ( TQWidget * w, int fromRow, int toRow, int fromCol, int toCol, int alignment = 0 )"
.br
.ti -1c
-.BI "void \fBaddLayout\fR ( QLayout * layout, int row, int col )"
+.BI "void \fBaddLayout\fR ( TQLayout * layout, int row, int col )"
.br
.ti -1c
-.BI "void \fBaddMultiCellLayout\fR ( QLayout * layout, int fromRow, int toRow, int fromCol, int toCol, int alignment = 0 )"
+.BI "void \fBaddMultiCellLayout\fR ( TQLayout * layout, int fromRow, int toRow, int fromCol, int toCol, int alignment = 0 )"
.br
.ti -1c
.BI "void addRowSpacing ( int row, int minsize ) \fI(obsolete)\fR"
@@ -130,7 +130,7 @@ Inherits QLayout.
.BI "bool \fBfindWidget\fR ( TQWidget * w, int * row, int * col )"
.br
.ti -1c
-.BI "void \fBadd\fR ( QLayoutItem * item, int row, int col )"
+.BI "void \fBadd\fR ( TQLayoutItem * item, int row, int col )"
.br
.in -1c
.SH DESCRIPTION
@@ -187,7 +187,7 @@ Constructs a new TQGridLayout with \fInRows\fR rows, \fInCols\fR columns and par
Constructs a new grid with \fInRows\fR rows and \fInCols\fR columns. If \fIspacing\fR is -1, this TQGridLayout inherits its parent's spacing(); otherwise \fIspacing\fR is used. The grid layout is called \fIname\fR.
.PP
You must insert this grid into another layout. You can insert widgets and layouts into this layout at any time, but laying out will not be performed before this is inserted into another layout.
-.SH "TQGridLayout::TQGridLayout ( QLayout * parentLayout, int nRows = 1, int nCols = 1, int spacing = -1, const char * name = 0 )"
+.SH "TQGridLayout::TQGridLayout ( TQLayout * parentLayout, int nRows = 1, int nCols = 1, int spacing = -1, const char * name = 0 )"
Constructs a new grid that is placed inside \fIparentLayout\fR with \fInRows\fR rows and \fInCols\fR columns. If \fIspacing\fR is -1, this TQGridLayout inherits its parent's spacing(); otherwise \fIspacing\fR is used. The grid layout is called \fIname\fR.
.PP
This grid is placed according to \fIparentLayout\fR's default placement rules.
@@ -195,7 +195,7 @@ This grid is placed according to \fIparentLayout\fR's default placement rules.
Destroys the grid layout. Geometry management is terminated if this is a top-level grid.
.PP
The layout's widgets aren't destroyed.
-.SH "void TQGridLayout::add ( QLayoutItem * item, int row, int col )\fC [protected]\fR"
+.SH "void TQGridLayout::add ( TQLayoutItem * item, int row, int col )\fC [protected]\fR"
Adds \fIitem\fR at position \fIrow\fR, \fIcol\fR. The layout takes ownership of the \fIitem\fR.
.SH "void TQGridLayout::addColSpacing ( int col, int minsize )"
\fBThis function is obsolete.\fR It is provided to keep old source working. We strongly advise against using it in new code.
@@ -203,15 +203,15 @@ Adds \fIitem\fR at position \fIrow\fR, \fIcol\fR. The layout takes ownership of
Sets the minimum width of column \fIcol\fR to \fIminsize\fR pixels.
.PP
Use setColSpacing() instead.
-.SH "void TQGridLayout::addItem ( QLayoutItem * item, int row, int col )"
+.SH "void TQGridLayout::addItem ( TQLayoutItem * item, int row, int col )"
Adds \fIitem\fR at position \fIrow\fR, \fIcol\fR. The layout takes ownership of the \fIitem\fR.
-.SH "void TQGridLayout::addItem ( QLayoutItem * item )\fC [virtual]\fR"
+.SH "void TQGridLayout::addItem ( TQLayoutItem * item )\fC [virtual]\fR"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
Adds \fIitem\fR to the next free position of this layout.
.PP
-Reimplemented from QLayout.
-.SH "void TQGridLayout::addLayout ( QLayout * layout, int row, int col )"
+Reimplemented from TQLayout.
+.SH "void TQGridLayout::addLayout ( TQLayout * layout, int row, int col )"
Places the \fIlayout\fR at position (\fIrow\fR, \fIcol\fR) in the grid. The top-left position is (0, 0).
.PP
\fIlayout\fR becomes a child of the grid layout.
@@ -222,11 +222,11 @@ See also addMultiCellLayout().
.PP
Examples:
.)l listbox/listbox.cpp, progressbar/progressbar.cpp, t10/main.cpp, and t13/gamebrd.cpp.
-.SH "void TQGridLayout::addMultiCell ( QLayoutItem * item, int fromRow, int toRow, int fromCol, int toCol, int alignment = 0 )"
+.SH "void TQGridLayout::addMultiCell ( TQLayoutItem * item, int fromRow, int toRow, int fromCol, int toCol, int alignment = 0 )"
Adds the \fIitem\fR to the cell grid, spanning multiple rows/columns.
.PP
The cell will span from \fIfromRow\fR, \fIfromCol\fR to \fItoRow\fR, \fItoCol\fR. Alignment is specified by \fIalignment\fR, which is a bitwise OR of TQt::AlignmentFlags values. The default alignment is 0, which means that the widget fills the entire cell.
-.SH "void TQGridLayout::addMultiCellLayout ( QLayout * layout, int fromRow, int toRow, int fromCol, int toCol, int alignment = 0 )"
+.SH "void TQGridLayout::addMultiCellLayout ( TQLayout * layout, int fromRow, int toRow, int fromCol, int toCol, int alignment = 0 )"
Adds the layout \fIlayout\fR to the cell grid, spanning multiple rows/columns. The cell will span from \fIfromRow\fR, \fIfromCol\fR to \fItoRow\fR, \fItoCol\fR.
.PP
Alignment is specified by \fIalignment\fR, which is a bitwise OR of TQt::AlignmentFlags values. The default alignment is 0, which means that the widget fills the entire cell.
@@ -284,7 +284,7 @@ Expands this grid so that it will have \fInRows\fR rows and \fInCols\fR columns.
.SH "TQSizePolicy::ExpandData TQGridLayout::expanding () const\fC [virtual]\fR"
Returns whether this layout can make use of more space than sizeHint(). A value of Vertical or Horizontal means that it wants to grow in only one dimension, whereas \fCBothDirections\fR means that it wants to grow in both dimensions.
.PP
-Reimplemented from QLayout.
+Reimplemented from TQLayout.
.SH "bool TQGridLayout::findWidget ( TQWidget * w, int * row, int * col )\fC [protected]\fR"
Searches for widget \fIw\fR in this layout (not including child layouts). If \fIw\fR is found, it sets \fC<em>row</em>\fR and \fC<em>col</em>\fR to the row and column and returns TRUE; otherwise returns FALSE.
.PP
@@ -292,23 +292,23 @@ Note: if a widget spans multiple rows/columns, the top-left cell is returned.
.SH "bool TQGridLayout::hasHeightForWidth () const\fC [virtual]\fR"
Returns TRUE if this layout's preferred height depends on its width; otherwise returns FALSE.
.PP
-Reimplemented from QLayoutItem.
+Reimplemented from TQLayoutItem.
.SH "int TQGridLayout::heightForWidth ( int w ) const\fC [virtual]\fR"
Returns the layout's preferred height when it is \fIw\fR pixels wide.
.PP
-Reimplemented from QLayoutItem.
+Reimplemented from TQLayoutItem.
.SH "void TQGridLayout::invalidate ()\fC [virtual]\fR"
Resets cached information.
.PP
-Reimplemented from QLayout.
+Reimplemented from TQLayout.
.SH "TQSize TQGridLayout::maximumSize () const\fC [virtual]\fR"
Returns the maximum size needed by this grid.
.PP
-Reimplemented from QLayout.
+Reimplemented from TQLayout.
.SH "TQSize TQGridLayout::minimumSize () const\fC [virtual]\fR"
Returns the minimum size needed by this grid.
.PP
-Reimplemented from QLayout.
+Reimplemented from TQLayout.
.SH "int TQGridLayout::numCols () const"
Returns the number of columns in this grid.
.SH "int TQGridLayout::numRows () const"
@@ -341,7 +341,7 @@ Examples:
.SH "void TQGridLayout::setGeometry ( const TQRect & r )\fC [virtual]\fR"
Resizes managed widgets within the rectangle \fIr\fR.
.PP
-Reimplemented from QLayout.
+Reimplemented from TQLayout.
.SH "void TQGridLayout::setOrigin ( Corner c )"
Sets the grid's origin corner, i.e. position (0, 0), to \fIc\fR.
.SH "void TQGridLayout::setRowSpacing ( int row, int minSize )"
@@ -362,7 +362,7 @@ Examples:
.SH "TQSize TQGridLayout::sizeHint () const\fC [virtual]\fR"
Returns the preferred size of this grid.
.PP
-Reimplemented from QLayoutItem.
+Reimplemented from TQLayoutItem.
.SH "SEE ALSO"
.BR http://doc.trolltech.com/tqgridlayout.html