diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-02-27 17:38:16 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-02-27 17:38:16 -0600 |
commit | 104997c6f7b545c0095fdc1b1573367bc4cb4d5b (patch) | |
tree | cb6ae5f9464208d78cb51515f5a3c3a0a7edc64f /examples2/widgets.py | |
parent | e87fff3247e64b4e9509be991a8f2d6bd4ccfacc (diff) | |
download | pytqt-104997c6f7b545c0095fdc1b1573367bc4cb4d5b.tar.gz pytqt-104997c6f7b545c0095fdc1b1573367bc4cb4d5b.zip |
Rename tqt3 color functions
Diffstat (limited to 'examples2/widgets.py')
-rwxr-xr-x | examples2/widgets.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples2/widgets.py b/examples2/widgets.py index 59d9249..3dfa524 100755 --- a/examples2/widgets.py +++ b/examples2/widgets.py @@ -136,7 +136,7 @@ class WidgetView ( TQWidget ): self.setCaption( "TQt Widgets Demo Application" ) # Install an application-global event filter - qApp.installEventFilter( self ) + tqApp.installEventFilter( self ) # Create a layout to position the widgets self.topLayout = TQVBoxLayout( self, 10 ) @@ -161,7 +161,7 @@ class WidgetView ( TQWidget ): self.id = self.popup.insertItem( "&Open" ) self.popup.setItemEnabled( self.id, FALSE ) self.popup.insertSeparator() - self.popup.insertItem( "&Quit", qApp, SLOT("quit()"), TQt.CTRL+TQt.Key_Q ) + self.popup.insertItem( "&Quit", tqApp, SLOT("quit()"), TQt.CTRL+TQt.Key_Q ) self.menubar.insertItem( "&File", self.popup ) |