From 1e9fa8e06de5da7fcc268e9cccb2d6b21c5f53a3 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sat, 20 Jul 2024 20:15:52 +0900 Subject: Rename graphics class nt* related files to equivalent tq* (part 2) Signed-off-by: Michele Calgaro --- doc/html/chart-setdataform-cpp.html | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'doc/html/chart-setdataform-cpp.html') diff --git a/doc/html/chart-setdataform-cpp.html b/doc/html/chart-setdataform-cpp.html index 737eb5574..186ae6329 100644 --- a/doc/html/chart-setdataform-cpp.html +++ b/doc/html/chart-setdataform-cpp.html @@ -38,7 +38,7 @@ body { background: #ffffff; color: black; } #include <tqcolordialog.h> #include <ntqcombobox.h> #include <ntqlayout.h> -#include <ntqpixmap.h> +#include <tqpixmap.h> #include <ntqpushbutton.h> #include <ntqtable.h> @@ -116,7 +116,7 @@ const int MAX_PATTERNS = 14; tableButtonBox->addLayout( buttonBox ); - connect( table, TQ_SIGNAL( clicked(int,int,int,const TQPoint&) ), + connect( table, TQ_SIGNAL( clicked(int,int,int,const TQPoint&) ), this, TQ_SLOT( setColor(int,int) ) ); connect( table, TQ_SIGNAL( currentChanged(int,int) ), this, TQ_SLOT( currentChanged(int,int) ) ); @@ -142,8 +142,8 @@ const int MAX_PATTERNS = 14; patterns[12] = TQPixmap( pattern13 ); patterns[13] = TQPixmap( pattern14 ); - TQRect rect = table->cellRect( 0, 1 ); - TQPixmap pix( rect.width(), rect.height() ); + TQRect rect = table->cellRect( 0, 1 ); + TQPixmap pix( rect.width(), rect.height() ); for ( int i = 0; i < ChartForm::MAX_ELEMENTS; ++i ) { Element element = (*m_elements)[i]; @@ -155,7 +155,7 @@ const int MAX_PATTERNS = 14; m_decimalPlaces ) ); TQColor color = element.valueColor(); - pix.fill( color ); + pix.fill( color ); table->setPixmap( i, 1, pix ); table->setText( i, 1, color.name() ); @@ -168,7 +168,7 @@ const int MAX_PATTERNS = 14; table->setText( i, 3, element.label() ); color = element.labelColor(); - pix.fill( color ); + pix.fill( color ); table->setPixmap( i, 4, pix ); table->setText( i, 4, color.name() ); } @@ -213,8 +213,8 @@ void SetDataForm::setColor( int row, int col ) TQColor( table->text( row, col ) ), this, "color dialog" ); if ( color.isValid() ) { - TQPixmap pix = table->pixmap( row, col ); - pix.fill( color ); + TQPixmap pix = table->pixmap( row, col ); + pix.fill( color ); table->setPixmap( row, col, pix ); table->setText( row, col, color.name() ); } -- cgit v1.2.3