summaryrefslogtreecommitdiffstats
path: root/examples/canvas
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2018-10-17 19:46:30 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2018-10-17 19:46:30 +0900
commit69d87202cb139ffe9e4b3ce92e434523b7b09b64 (patch)
tree7b133311a4d5e5394f2612dced305f815c04847b /examples/canvas
parente07baa10b7b8e7105e02a621efadac67216c61ed (diff)
downloadtqt3-69d87202cb139ffe9e4b3ce92e434523b7b09b64.tar.gz
tqt3-69d87202cb139ffe9e4b3ce92e434523b7b09b64.zip
QT_NO_* -> TQT_NO_* renaming.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
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() );