diff options
Diffstat (limited to 'examples3')
-rwxr-xr-x | examples3/canvas/canvas.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/examples3/canvas/canvas.py b/examples3/canvas/canvas.py index 2fa3bf9..5f7f774 100755 --- a/examples3/canvas/canvas.py +++ b/examples3/canvas/canvas.py @@ -518,7 +518,7 @@ class Main (TQMainWindow): rows = h / dist cols = w / dist - #ifndef QT_NO_PROGRESSDIALOG + #ifndef TQT_NO_PROGRESSDIALOG #progress=TQProgressDialog( "Creating mesh...", "Abort", rows, # self, "progress", True ); #endif @@ -554,13 +554,13 @@ class Main (TQMainWindow): 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() ); |