summaryrefslogtreecommitdiffstats
path: root/examples2/tut14.py
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-02-27 17:38:16 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-02-27 17:38:16 -0600
commit104997c6f7b545c0095fdc1b1573367bc4cb4d5b (patch)
treecb6ae5f9464208d78cb51515f5a3c3a0a7edc64f /examples2/tut14.py
parente87fff3247e64b4e9509be991a8f2d6bd4ccfacc (diff)
downloadpytqt-104997c6f7b545c0095fdc1b1573367bc4cb4d5b.tar.gz
pytqt-104997c6f7b545c0095fdc1b1573367bc4cb4d5b.zip
Rename tqt3 color functions
Diffstat (limited to 'examples2/tut14.py')
-rwxr-xr-xexamples2/tut14.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples2/tut14.py b/examples2/tut14.py
index 8a75538..a61c0dd 100755
--- a/examples2/tut14.py
+++ b/examples2/tut14.py
@@ -276,7 +276,7 @@ class GameBoard(TQWidget):
quit = TQPushButton('&Quit',self,'quit')
quit.setFont(TQFont('Times',18,TQFont.Bold))
- self.connect(quit,SIGNAL('clicked()'),qApp,SLOT('quit()'))
+ self.connect(quit,SIGNAL('clicked()'),tqApp,SLOT('quit()'))
self.angle = LCDRange('ANGLE',self,'angle')
self.angle.setRange(5,70)
@@ -315,7 +315,7 @@ class GameBoard(TQWidget):
accel = TQAccel(self)
accel.connectItem(accel.insertItem(TQt.Key_Enter),self.fire)
accel.connectItem(accel.insertItem(TQt.Key_Return),self.fire)
- accel.connectItem(accel.insertItem(TQt.CTRL + TQt.Key_Q),qApp,SLOT('quit()'))
+ accel.connectItem(accel.insertItem(TQt.CTRL + TQt.Key_Q),tqApp,SLOT('quit()'))
grid = TQGridLayout(self,2,2,10)
grid.addWidget(quit,0,0)