summaryrefslogtreecommitdiffstats
path: root/examples3
diff options
context:
space:
mode:
Diffstat (limited to 'examples3')
-rwxr-xr-xexamples3/canvas/canvas.py2
-rwxr-xr-xexamples3/progress.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/examples3/canvas/canvas.py b/examples3/canvas/canvas.py
index 8c0998e..dd39337 100755
--- a/examples3/canvas/canvas.py
+++ b/examples3/canvas/canvas.py
@@ -563,7 +563,7 @@ class Main (TQMainWindow):
#ifndef QT_NO_PROGRESSDIALOG
#progress.setProgress( rows )
#endif
- #// qDebug( "%d nodes, %d edges", nodecount, EdgeItem::count() );
+ #// tqDebug( "%d nodes, %d edges", nodecount, EdgeItem::count() );
def addRectangle(self):
i = TQCanvasRectangle( self.canvas.width()*random.random()%self.canvas.width(),
diff --git a/examples3/progress.py b/examples3/progress.py
index 3c84f83..b475020 100755
--- a/examples3/progress.py
+++ b/examples3/progress.py
@@ -210,7 +210,7 @@ class CPUWaster(TQWidget):
def draw(self, n):
if self.timer_driven:
if self.pb:
- qWarning("This cannot happen!")
+ tqWarning("This cannot happen!")
return
self.rects = n