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/canvas-example.html | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'doc/html/canvas-example.html') diff --git a/doc/html/canvas-example.html b/doc/html/canvas-example.html index fab7117ff..1f91a482f 100644 --- a/doc/html/canvas-example.html +++ b/doc/html/canvas-example.html @@ -143,7 +143,7 @@ private: #include <tqprinter.h> #include <tqlabel.h> #include <tqimage.h> -#include <ntqprogressdialog.h> +#include <tqprogressdialog.h> #include "canvas.h" #include <stdlib.h> @@ -817,7 +817,7 @@ void Main::addMesh() int cols = w / dist; #ifndef TQT_NO_PROGRESSDIALOG - TQProgressDialog progress( "Creating mesh...", "Abort", rows, + TQProgressDialog progress( "Creating mesh...", "Abort", rows, this, "progress", TRUE ); #endif @@ -851,13 +851,13 @@ void Main::addMesh() } lastRow[n-1]=prev; #ifndef TQT_NO_PROGRESSDIALOG - progress.setProgress( j ); - if ( progress.wasCancelled() ) + progress.setProgress( j ); + if ( progress.wasCancelled() ) break; #endif } #ifndef TQT_NO_PROGRESSDIALOG - progress.setProgress( rows ); + progress.setProgress( rows ); #endif // tqDebug( "%d nodes, %d edges", nodecount, EdgeItem::count() ); } -- cgit v1.2.1