diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-11-26 15:11:22 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-11-26 15:11:22 +0900 |
| commit | b87533f9904c10f24d6b2e8177c00944e3efe15b (patch) | |
| tree | c1106a381c851b51e86004698457aef1211b77be /doc/html/small-table-example-example.html | |
| parent | 894037c3e68e1573a34183d936171f8cda5085f3 (diff) | |
| download | tqt-r14.1.x.tar.gz tqt-r14.1.x.zip | |
Replace TRUE/FALSE with boolean values true/false - part 4r14.1.x
Manually cherry-picked from commit 4d495175
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'doc/html/small-table-example-example.html')
| -rw-r--r-- | doc/html/small-table-example-example.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/html/small-table-example-example.html b/doc/html/small-table-example-example.html index e1ac3c4e2..379b25713 100644 --- a/doc/html/small-table-example-example.html +++ b/doc/html/small-table-example-example.html @@ -72,7 +72,7 @@ int main( int argc, char **argv ) <a name="x2798"></a> header-><a href="ntqheader.html#setLabel">setLabel</a>( 0, TQObject::tr( "Tiny" ), 40 ); header-><a href="ntqheader.html#setLabel">setLabel</a>( 1, TQObject::tr( "Checkboxes" ) ); header-><a href="ntqheader.html#setLabel">setLabel</a>( 5, TQObject::tr( "Combos" ) ); -<a name="x2802"></a> table.<a href="ntqtable.html#setColumnMovingEnabled">setColumnMovingEnabled</a>(TRUE); +<a name="x2802"></a> table.<a href="ntqtable.html#setColumnMovingEnabled">setColumnMovingEnabled</a>(true); <a href="ntqimage.html">TQImage</a> img( qtlogo_xpm ); <a name="x2801"></a><a name="x2799"></a> <a href="ntqpixmap.html">TQPixmap</a> pix = img.<a href="ntqimage.html#scaleHeight">scaleHeight</a>( table.<a href="ntqtable.html#rowHeight">rowHeight</a>(3) ); @@ -83,7 +83,7 @@ int main( int argc, char **argv ) comboEntries << "one" << "two" << "three" << "four"; for ( int i = 0; i < numRows; ++i ){ - <a href="qcombotableitem.html">TQComboTableItem</a> * item = new <a href="qcombotableitem.html">TQComboTableItem</a>( &table, comboEntries, FALSE ); + <a href="qcombotableitem.html">TQComboTableItem</a> * item = new <a href="qcombotableitem.html">TQComboTableItem</a>( &table, comboEntries, false ); <a name="x2797"></a> item-><a href="qcombotableitem.html#setCurrentItem">setCurrentItem</a>( i % 4 ); <a name="x2803"></a> table.<a href="ntqtable.html#setItem">setItem</a>( i, 5, item ); } |
