diff options
Diffstat (limited to 'doc/html/tqtableitem.html')
-rw-r--r-- | doc/html/tqtableitem.html | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/doc/html/tqtableitem.html b/doc/html/tqtableitem.html index b3f0a8fc0..fbe6df4e3 100644 --- a/doc/html/tqtableitem.html +++ b/doc/html/tqtableitem.html @@ -140,7 +140,7 @@ accept the keyboard focus: <p> By default, table items may be replaced by new TQTableItems during the lifetime of a <a href="tqtable.html">TQTable</a>. Therefore, if you create your own subclass of TQTableItem, and you want to ensure that -this does not happen, you must call <a href="#setReplaceable">setReplaceable</a>(FALSE) +this does not happen, you must call <a href="#setReplaceable">setReplaceable</a>(false) in the constructor of your subclass. <p> <center><img src="tqtableitems.png" alt="Table Items"></center> <p> <p>See also <a href="tqchecktableitem.html">TQCheckTableItem</a>, <a href="tqcombotableitem.html">TQComboTableItem</a>, and <a href="advanced.html">Advanced Widgets</a>. @@ -177,8 +177,8 @@ are created by the convenience functions <a href="tqtable.html#setText">TQTable: <ul> <li><tt>TQTableItem::Never</tt> - The cell is not editable. </ul><p> The cell is actually editable only if <a href="tqtable.html#isRowReadOnly">TQTable::isRowReadOnly</a>() is -FALSE for its row, <a href="tqtable.html#isColumnReadOnly">TQTable::isColumnReadOnly</a>() is FALSE for its -column, and <a href="tqtable.html#isReadOnly">TQTable::isReadOnly</a>() is FALSE. +false for its row, <a href="tqtable.html#isColumnReadOnly">TQTable::isColumnReadOnly</a>() is false for its +column, and <a href="tqtable.html#isReadOnly">TQTable::isReadOnly</a>() is false. <p> 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. @@ -280,7 +280,7 @@ Returns the table item's edit type. <h3 class=fn>bool <a name="isEnabled"></a>TQTableItem::isEnabled () const </h3> -Returns TRUE if the table item is enabled; otherwise returns FALSE. +Returns true if the table item is enabled; otherwise returns false. <p> <p>See also <a href="#setEnabled">setEnabled</a>(). <h3 class=fn>bool <a name="isReplaceable"></a>TQTableItem::isReplaceable () const @@ -305,7 +305,7 @@ relevant item. This virtual function is used to paint the contents of an item using the painter <em>p</em> in the rectangular area <em>cr</em> using the color group <em>cg</em>. -<p> If <em>selected</em> is TRUE the cell is displayed in a way that +<p> If <em>selected</em> is true the cell is displayed in a way that indicates that it is highlighted. <p> 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. @@ -316,7 +316,7 @@ maximum efficiency. If you want clipping, use <p> <pre> p->setClipRect( <a href="#table">table</a>()->cellRect(row, col), TQPainter::ClipPainter ); //... your drawing code - p->setClipping( FALSE ); + p->setClipping( false ); </pre> <p> @@ -382,7 +382,7 @@ a <a href="tqlineedit.html">TQLineEdit</a> you will need to reimplement this fun <p>Example: <a href="statistics-example.html#x2787">table/statistics/statistics.cpp</a>. <h3 class=fn>void <a name="setEnabled"></a>TQTableItem::setEnabled ( bool b )<tt> [virtual]</tt> </h3> -If <em>b</em> is TRUE, the table item is enabled; if <em>b</em> is FALSE the +If <em>b</em> is true, the table item is enabled; if <em>b</em> is false the table item is disabled. <p> A disabled item doesn't respond to user interaction. <p> <p>See also <a href="#isEnabled">isEnabled</a>(). @@ -399,8 +399,8 @@ has no visible effect. <h3 class=fn>void <a name="setReplaceable"></a>TQTableItem::setReplaceable ( bool b )<tt> [virtual]</tt> </h3> -If <em>b</em> is TRUE it is acceptable to replace the contents of the -cell with the contents of another TQTableItem. If <em>b</em> is FALSE the +If <em>b</em> is true it is acceptable to replace the contents of the +cell with the contents of another TQTableItem. If <em>b</em> 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. @@ -441,7 +441,7 @@ contents. <p>Example: <a href="statistics-example.html#x2788">table/statistics/statistics.cpp</a>. <h3 class=fn>void <a name="setWordWrap"></a>TQTableItem::setWordWrap ( bool b )<tt> [virtual]</tt> </h3> -If <em>b</em> is TRUE, the cell's text will be wrapped over multiple +If <em>b</em> 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. <p> <p>See also <a href="#wordWrap">wordWrap</a>(), <a href="tqtable.html#adjustColumn">TQTable::adjustColumn</a>(), and <a href="tqtable.html#setColumnStretchable">TQTable::setColumnStretchable</a>(). @@ -479,8 +479,8 @@ always called so the currently display value is the one returned. <h3 class=fn>bool <a name="wordWrap"></a>TQTableItem::wordWrap () const </h3> -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. <p> <p>See also <a href="#setWordWrap">setWordWrap</a>(). <!-- eof --> |