diff options
Diffstat (limited to 'doc/html/bigtable-example.html')
-rw-r--r-- | doc/html/bigtable-example.html | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/doc/html/bigtable-example.html b/doc/html/bigtable-example.html index 45428479e..18c55f1cc 100644 --- a/doc/html/bigtable-example.html +++ b/doc/html/bigtable-example.html @@ -48,17 +48,17 @@ keep track of the cells that are actually in use. *****************************************************************************/ #include <<a href="qapplication-h.html">ntqapplication.h</a>> -#include <<a href="qtable-h.html">ntqtable.h</a>> +#include <<a href="tqtable-h.html">tqtable.h</a>> // Table size const int numRows = 1000000; const int numCols = 1000000; -class MyTable : public <a href="ntqtable.html">TQTable</a> +class MyTable : public <a href="tqtable.html">TQTable</a> { public: - MyTable( int r, int c ) : <a href="ntqtable.html">TQTable</a>( r, c ) { + MyTable( int r, int c ) : <a href="tqtable.html">TQTable</a>( r, c ) { <a name="x1291"></a> items.<a href="tqptrcollection.html#setAutoDelete">setAutoDelete</a>( TRUE ); widgets.<a href="tqptrcollection.html#setAutoDelete">setAutoDelete</a>( TRUE ); setCaption( tr( "A 1 Million x 1 Million Cell Table" ) ); @@ -66,13 +66,13 @@ public: } void resizeData( int ) {} -<a name="x1286"></a> <a href="qtableitem.html">TQTableItem</a> *item( int r, int c ) const { return items.<a href="tqintdict.html#find">find</a>( indexOf( r, c ) ); } +<a name="x1286"></a> <a href="tqtableitem.html">TQTableItem</a> *item( int r, int c ) const { return items.<a href="tqintdict.html#find">find</a>( indexOf( r, c ) ); } <a name="x1288"></a> void setItem( int r, int c, TQTableItem *i ) { items.<a href="tqintdict.html#replace">replace</a>( indexOf( r, c ), i ); } <a name="x1287"></a> void clearCell( int r, int c ) { items.<a href="tqintdict.html#remove">remove</a>( indexOf( r, c ) ); } - void takeItem( <a href="qtableitem.html">TQTableItem</a> *item ) + void takeItem( <a href="tqtableitem.html">TQTableItem</a> *item ) { items.<a href="tqptrcollection.html#setAutoDelete">setAutoDelete</a>( FALSE ); -<a name="x1294"></a><a name="x1293"></a> items.<a href="tqintdict.html#remove">remove</a>( indexOf( item-><a href="qtableitem.html#row">row</a>(), item-><a href="qtableitem.html#col">col</a>() ) ); +<a name="x1294"></a><a name="x1293"></a> items.<a href="tqintdict.html#remove">remove</a>( indexOf( item-><a href="tqtableitem.html#row">row</a>(), item-><a href="tqtableitem.html#col">col</a>() ) ); items.<a href="tqptrcollection.html#setAutoDelete">setAutoDelete</a>( TRUE ); } void insertWidget( int r, int c, TQWidget *w ) { widgets.<a href="tqintdict.html#replace">replace</a>( indexOf( r, c ), w ); } |