summaryrefslogtreecommitdiffstats
path: root/examples/menu.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/menu.py')
-rwxr-xr-xexamples/menu.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/menu.py b/examples/menu.py
index f363195..ff3f9d9 100755
--- a/examples/menu.py
+++ b/examples/menu.py
@@ -131,7 +131,7 @@ class MenuExample( TQWidget ):
self.file.insertSeparator()
self.file.insertItem( "&Print", self.printer, TQt.CTRL+TQt.Key_P )
self.file.insertSeparator()
- self.file.insertItem( "E&xit", tqApp, SLOT( "quit()" ), TQt.CTRL+TQt.Key_Q )
+ self.file.insertItem( "E&xit", tqApp, TQ_SLOT( "quit()" ), TQt.CTRL+TQt.Key_Q )
self.edit = TQPopupMenu( self )
undoID = self.edit.insertItem( "&Undo", self.undo )
@@ -187,7 +187,7 @@ class MenuExample( TQWidget ):
self.label.setLineWidth( 1 )
self.label.setAlignment( TQt.AlignCenter )
- self.connect( self, PYSIGNAL( "explain" ), self.label, SLOT( "setText(const TQString &" ) )
+ self.connect( self, PYSIGNAL( "explain" ), self.label, TQ_SLOT( "setText(const TQString &" ) )
self.setMinimumSize( 100, 80 )
self.setFocusPolicy( TQWidget.ClickFocus )