From 42957a3f812a1db64a9ae452baa2d3fbc35f2466 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Mon, 12 Aug 2024 22:02:11 +0900 Subject: Rename more widget nt* related files to equivalent tq* Signed-off-by: Michele Calgaro --- doc/html/table-bigtable-main-cpp.html | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'doc/html/table-bigtable-main-cpp.html') diff --git a/doc/html/table-bigtable-main-cpp.html b/doc/html/table-bigtable-main-cpp.html index fd8128a5c..b42b90300 100644 --- a/doc/html/table-bigtable-main-cpp.html +++ b/doc/html/table-bigtable-main-cpp.html @@ -1,5 +1,5 @@ - + @@ -43,17 +43,17 @@ body { background: #ffffff; color: black; } *****************************************************************************/ #include <ntqapplication.h> -#include <ntqtable.h> +#include <tqtable.h> // Table size const int numRows = 1000000; const int numCols = 1000000; -class MyTable : public TQTable +class MyTable : public TQTable { public: - MyTable( int r, int c ) : TQTable( r, c ) { + MyTable( int r, int c ) : TQTable( r, c ) { items.setAutoDelete( TRUE ); widgets.setAutoDelete( TRUE ); setCaption( tr( "A 1 Million x 1 Million Cell Table" ) ); @@ -61,13 +61,13 @@ public: } void resizeData( int ) {} - TQTableItem *item( int r, int c ) const { return items.find( indexOf( r, c ) ); } + TQTableItem *item( int r, int c ) const { return items.find( indexOf( r, c ) ); } void setItem( int r, int c, TQTableItem *i ) { items.replace( indexOf( r, c ), i ); } void clearCell( int r, int c ) { items.remove( indexOf( r, c ) ); } - void takeItem( TQTableItem *item ) + void takeItem( TQTableItem *item ) { items.setAutoDelete( FALSE ); - items.remove( indexOf( item->row(), item->col() ) ); + items.remove( indexOf( item->row(), item->col() ) ); items.setAutoDelete( TRUE ); } void insertWidget( int r, int c, TQWidget *w ) { widgets.replace( indexOf( r, c ), w ); } -- cgit v1.2.3