summaryrefslogtreecommitdiffstats
path: root/examples/canvas/canvas.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/canvas/canvas.py')
-rwxr-xr-xexamples/canvas/canvas.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/examples/canvas/canvas.py b/examples/canvas/canvas.py
index 3039cdb..50797e5 100755
--- a/examples/canvas/canvas.py
+++ b/examples/canvas/canvas.py
@@ -1,8 +1,8 @@
#!/usr/bin/env python
import sys
-from PyTQt.qt import *
-from PyTQt.qtcanvas import *
+from PyTQt.tqt import *
+from PyTQt.tqtcanvas import *
import random
@@ -124,7 +124,7 @@ class BouncyLogo(TQCanvasSprite):
# Make sure the logo exists.
global bouncy_logo
if bouncy_logo is None:
- bouncy_logo=TQCanvasPixmapArray("qt-trans.xpm")
+ bouncy_logo=TQCanvasPixmapArray("tqt-trans.xpm")
TQCanvasSprite.__init__(self,None,canvas)
self.setSequence(bouncy_logo)
@@ -587,11 +587,11 @@ if __name__=='__main__':
if len(sys.argv) > 2:
logo_fn = TQString(sys.argv[2])
else:
- logo_fn=TQString("qtlogo.png")
+ logo_fn=TQString("tqtlogo.png")
canvas=TQCanvas(800,600)
canvas.setAdvancePeriod(30)
- m=Main(canvas,None,"pyqt canvas example")
+ m=Main(canvas,None,"pytqt canvas example")
m.resize(m.sizeHint())
tqApp.setMainWidget(m)