diff options
Diffstat (limited to 'examples/canvas/canvas.cpp')
-rw-r--r-- | examples/canvas/canvas.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/canvas/canvas.cpp b/examples/canvas/canvas.cpp index 3c96ca4ac..7e78c7ceb 100644 --- a/examples/canvas/canvas.cpp +++ b/examples/canvas/canvas.cpp @@ -689,7 +689,7 @@ void Main::addMesh() int rows = h / dist; int cols = w / dist; -#ifndef QT_NO_PROGRESSDIALOG +#ifndef TQT_NO_PROGRESSDIALOG TQProgressDialog progress( "Creating mesh...", "Abort", rows, this, "progress", TRUE ); #endif @@ -723,13 +723,13 @@ void Main::addMesh() el->show(); } lastRow[n-1]=prev; -#ifndef QT_NO_PROGRESSDIALOG +#ifndef TQT_NO_PROGRESSDIALOG progress.setProgress( j ); if ( progress.wasCancelled() ) break; #endif } -#ifndef QT_NO_PROGRESSDIALOG +#ifndef TQT_NO_PROGRESSDIALOG progress.setProgress( rows ); #endif // tqDebug( "%d nodes, %d edges", nodecount, EdgeItem::count() ); |