diff options
Diffstat (limited to 'examples2/tut14.py')
-rwxr-xr-x | examples2/tut14.py | 4 |
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) |