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/table-bigtable-main-cpp.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/table-bigtable-main-cpp.html')
| -rw-r--r-- | doc/html/table-bigtable-main-cpp.html | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/html/table-bigtable-main-cpp.html b/doc/html/table-bigtable-main-cpp.html index 14a27ed02..3105518fe 100644 --- a/doc/html/table-bigtable-main-cpp.html +++ b/doc/html/table-bigtable-main-cpp.html @@ -54,8 +54,8 @@ class MyTable : public <a href="ntqtable.html">TQTable</a> { public: MyTable( int r, int c ) : <a href="ntqtable.html">TQTable</a>( r, c ) { -<a name="x1291"></a> items.<a href="ntqptrcollection.html#setAutoDelete">setAutoDelete</a>( TRUE ); - widgets.<a href="ntqptrcollection.html#setAutoDelete">setAutoDelete</a>( TRUE ); +<a name="x1291"></a> items.<a href="ntqptrcollection.html#setAutoDelete">setAutoDelete</a>( true ); + widgets.<a href="ntqptrcollection.html#setAutoDelete">setAutoDelete</a>( true ); setCaption( tr( "A 1 Million x 1 Million Cell Table" ) ); setLeftMargin( fontMetrics().width( "W999999W" ) ); } @@ -66,9 +66,9 @@ public: <a name="x1287"></a> void clearCell( int r, int c ) { items.<a href="ntqintdict.html#remove">remove</a>( indexOf( r, c ) ); } void takeItem( <a href="qtableitem.html">TQTableItem</a> *item ) { - items.<a href="ntqptrcollection.html#setAutoDelete">setAutoDelete</a>( FALSE ); + items.<a href="ntqptrcollection.html#setAutoDelete">setAutoDelete</a>( false ); <a name="x1294"></a><a name="x1293"></a> items.<a href="ntqintdict.html#remove">remove</a>( indexOf( item-><a href="qtableitem.html#row">row</a>(), item-><a href="qtableitem.html#col">col</a>() ) ); - items.<a href="ntqptrcollection.html#setAutoDelete">setAutoDelete</a>( TRUE ); + items.<a href="ntqptrcollection.html#setAutoDelete">setAutoDelete</a>( true ); } void insertWidget( int r, int c, TQWidget *w ) { widgets.<a href="ntqintdict.html#replace">replace</a>( indexOf( r, c ), w ); } <a href="ntqwidget.html">TQWidget</a> *cellWidget( int r, int c ) const { return widgets.<a href="ntqintdict.html#find">find</a>( indexOf( r, c ) ); } |
