diff options
Diffstat (limited to 'doc/man/man3/tqtableitem.3qt')
-rw-r--r-- | doc/man/man3/tqtableitem.3qt | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/doc/man/man3/tqtableitem.3qt b/doc/man/man3/tqtableitem.3qt index 4de697f4d..73f445ef9 100644 --- a/doc/man/man3/tqtableitem.3qt +++ b/doc/man/man3/tqtableitem.3qt @@ -170,7 +170,7 @@ It is important to ensure that your custom widget can accept the keyboard focus, .br .fi .PP -By default, table items may be replaced by new TQTableItems during the lifetime of a TQTable. Therefore, if you create your own subclass of TQTableItem, and you want to ensure that this does not happen, you must call setReplaceable(FALSE) in the constructor of your subclass. +By default, table items may be replaced by new TQTableItems during the lifetime of a TQTable. Therefore, if you create your own subclass of TQTableItem, and you want to ensure that this does not happen, you must call setReplaceable(false) in the constructor of your subclass. .PP <center> .ce 1 @@ -198,7 +198,7 @@ The OnTyping edit type is the default when TQTableItem objects are created by th .TP \fCTQTableItem::Never\fR - The cell is not editable. .PP -The cell is actually editable only if TQTable::isRowReadOnly() is FALSE for its row, TQTable::isColumnReadOnly() is FALSE for its column, and TQTable::isReadOnly() is FALSE. +The cell is actually editable only if TQTable::isRowReadOnly() is false for its row, TQTable::isColumnReadOnly() is false for its column, and TQTable::isReadOnly() is false. .PP TQComboTableItems have an isEditable() property. This property is used to indicate whether the user may enter their own text or are restricted to choosing one of the choices in the list. TQComboTableItems may be interacted with only if they are editable in accordance with their EditType as described above. .PP @@ -281,7 +281,7 @@ This is set when the table item is constructed. .PP See also EditType and TQTableItem(). .SH "bool TQTableItem::isEnabled () const" -Returns TRUE if the table item is enabled; otherwise returns FALSE. +Returns true if the table item is enabled; otherwise returns false. .PP See also setEnabled(). .SH "bool TQTableItem::isReplaceable () const" @@ -297,7 +297,7 @@ See also TQTable::sorting. .SH "void TQTableItem::paint ( TQPainter * p, const TQColorGroup & cg, const TQRect & cr, bool selected )\fC [virtual]\fR" This virtual function is used to paint the contents of an item using the painter \fIp\fR in the rectangular area \fIcr\fR using the color group \fIcg\fR. .PP -If \fIselected\fR is TRUE the cell is displayed in a way that indicates that it is highlighted. +If \fIselected\fR is true the cell is displayed in a way that indicates that it is highlighted. .PP You don't usually need to use this function but if you want to draw custom content in a cell you will need to reimplement it. .PP @@ -311,7 +311,7 @@ Note that the painter is not clipped by default in order to get maximum efficien .br //... your drawing code .br - p->setClipping( FALSE ); + p->setClipping( false ); .br .fi .PP @@ -372,7 +372,7 @@ See also TQTable::setCellContentFromEditor(). .PP Example: table/statistics/statistics.cpp. .SH "void TQTableItem::setEnabled ( bool b )\fC [virtual]\fR" -If \fIb\fR is TRUE, the table item is enabled; if \fIb\fR is FALSE the table item is disabled. +If \fIb\fR is true, the table item is enabled; if \fIb\fR is false the table item is disabled. .PP A disabled item doesn't respond to user interaction. .PP @@ -386,7 +386,7 @@ For TQComboTableItems and TQCheckTableItems this function has no visible effect. .PP See also TQTable::setPixmap(), pixmap(), and setText(). .SH "void TQTableItem::setReplaceable ( bool b )\fC [virtual]\fR" -If \fIb\fR is TRUE it is acceptable to replace the contents of the cell with the contents of another TQTableItem. If \fIb\fR is FALSE the contents of the cell may not be replaced by the contents of another table item. Table items that span more than one cell may not have their contents replaced by another table item. +If \fIb\fR is true it is acceptable to replace the contents of the cell with the contents of another TQTableItem. If \fIb\fR is false the contents of the cell may not be replaced by the contents of another table item. Table items that span more than one cell may not have their contents replaced by another table item. .PP (This differs from EditType because EditType is concerned with whether the \fIuser\fR is able to change the contents of a cell.) .PP @@ -412,7 +412,7 @@ See also TQTable::setText(), text(), setPixmap(), and TQTable::updateCell(). .PP Example: table/statistics/statistics.cpp. .SH "void TQTableItem::setWordWrap ( bool b )\fC [virtual]\fR" -If \fIb\fR is TRUE, the cell's text will be wrapped over multiple lines, when necessary, to fit the width of the cell; otherwise the text will be written as a single line. +If \fIb\fR is true, the cell's text will be wrapped over multiple lines, when necessary, to fit the width of the cell; otherwise the text will be written as a single line. .PP See also wordWrap(), TQTable::adjustColumn(), and TQTable::setColumnStretchable(). .SH "TQSize TQTableItem::sizeHint () const\fC [virtual]\fR" @@ -436,7 +436,7 @@ This means that text() returns the original text value of the item if the editor .PP See also setText() and pixmap(). .SH "bool TQTableItem::wordWrap () const" -Returns TRUE if word wrap is enabled for the cell; otherwise returns FALSE. +Returns true if word wrap is enabled for the cell; otherwise returns false. .PP See also setWordWrap(). |