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/drawdemo-example.html | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'doc/html/drawdemo-example.html') diff --git a/doc/html/drawdemo-example.html b/doc/html/drawdemo-example.html index 5ecd477c6..43984ebfd 100644 --- a/doc/html/drawdemo-example.html +++ b/doc/html/drawdemo-example.html @@ -49,7 +49,7 @@ You can easily add you own drawing functions. #include <tqwidget.h> #include <tqpainter.h> -#include <ntqprinter.h> +#include <tqprinter.h> #include <ntqpushbutton.h> #include <ntqradiobutton.h> #include <ntqbuttongroup.h> @@ -75,10 +75,10 @@ void drawColorWheel( TQPainter *p ) for ( int i=0; i<36; i++ ) { // draws 36 rotated rectangles - TQWMatrix matrix; - matrix.translate( 250.0F, 250.0F ); // move to center - matrix.shear( 0.0F, 0.3F ); // twist it - matrix.rotate( (float)i*10 ); // rotate 0,10,20,.. degrees + TQWMatrix matrix; + matrix.translate( 250.0F, 250.0F ); // move to center + matrix.shear( 0.0F, 0.3F ); // twist it + matrix.rotate( (float)i*10 ); // rotate 0,10,20,.. degrees p->setWorldMatrix( matrix ); // use this world matrix TQColor c; @@ -182,7 +182,7 @@ protected: void paintEvent( TQPaintEvent * ); void resizeEvent( TQResizeEvent * ); private: - TQPrinter *printer; + TQPrinter *printer; TQButtonGroup *bgroup; TQPushButton *print; int drawindex; @@ -253,7 +253,7 @@ private: #ifndef TQT_NO_PRINTER - printer = new TQPrinter; + printer = new TQPrinter; // Create and setup the print button print = new TQPushButton( "Print...", bgroup ); @@ -306,7 +306,7 @@ void DrawView::drawIt( TQPainter void DrawView::printIt() { - if ( printer->setup( this ) ) { + if ( printer->setup( this ) ) { TQPainter paint; if( !paint.begin( printer ) ) return; -- cgit v1.2.1