diff options
Diffstat (limited to 'examples/fonts.py')
-rwxr-xr-x | examples/fonts.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/fonts.py b/examples/fonts.py index 7cb3cd1..44eb3dd 100755 --- a/examples/fonts.py +++ b/examples/fonts.py @@ -35,15 +35,15 @@ class Viewer( TQWidget ): self.defaultButton = TQPushButton( "Default", self, "pushbutton1" ) self.defaultButton.setFont( TQFont( "times" ) ) - self.connect( self.defaultButton, SIGNAL("clicked()"), self.setDefault ) + self.connect( self.defaultButton, TQ_SIGNAL("clicked()"), self.setDefault ) self.sansSerifButton = TQPushButton( "Sans Serif", self, "pushbutton2" ) self.sansSerifButton.setFont( TQFont( "Helvetica", 12 ) ) - self.connect( self.sansSerifButton, SIGNAL("clicked()"), self.setSansSerif ) + self.connect( self.sansSerifButton, TQ_SIGNAL("clicked()"), self.setSansSerif ) self.italicsButton = TQPushButton( "Italics", self, "pushbutton3" ) self.italicsButton.setFont( TQFont( "lucida", 12, TQFont.Bold, True ) ) - self.connect( self.italicsButton, SIGNAL("clicked()"), self.setItalics ) + self.connect( self.italicsButton, TQ_SIGNAL("clicked()"), self.setItalics ) self.layout() |