summaryrefslogtreecommitdiffstats
path: root/examples/canvas
diff options
context:
space:
mode:
Diffstat (limited to 'examples/canvas')
-rw-r--r--examples/canvas/canvas.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/canvas/canvas.cpp b/examples/canvas/canvas.cpp
index 3c96ca4a..7e78c7ce 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() );