summaryrefslogtreecommitdiffstats
path: root/examples3
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2012-03-01 13:23:29 -0600
committerTimothy Pearson <[email protected]>2012-03-01 13:23:29 -0600
commit2dfc9a2950b3c7179ede2903d5713a8486cb0e8d (patch)
treec1725476af2ed61a0c705b9312311e971d3c07b6 /examples3
parent104997c6f7b545c0095fdc1b1573367bc4cb4d5b (diff)
downloadpytqt-2dfc9a2950b3c7179ede2903d5713a8486cb0e8d.tar.gz
pytqt-2dfc9a2950b3c7179ede2903d5713a8486cb0e8d.zip
Rename additional global TQt functions
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