summaryrefslogtreecommitdiffstats
path: root/examples/uimodules/uidialogs.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/uimodules/uidialogs.py')
-rw-r--r--examples/uimodules/uidialogs.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/examples/uimodules/uidialogs.py b/examples/uimodules/uidialogs.py
index 1c8e2b4..baedc0e 100644
--- a/examples/uimodules/uidialogs.py
+++ b/examples/uimodules/uidialogs.py
@@ -1,4 +1,4 @@
-from PyTQt.tqt import TQVBox, TQLabel, TQLineEdit, TQString, TQPixmap, TQPushButton, TQColor, SIGNAL, TQButtonGroup,\
+from PyTQt.tqt import TQVBox, TQLabel, TQLineEdit, TQString, TQPixmap, TQPushButton, TQColor, TQ_SIGNAL, TQButtonGroup,\
TQRadioButton, TQt, TQWidget
from tdecore import TDEAccel, i18n
@@ -46,9 +46,9 @@ class CustomDlg (KDialog):
self.okBtn.setGeometry (x, y, 40, 22)
self.canBtn.setGeometry (x + 50, y, 40, 22)
- self.connect (self.dlgBtn, SIGNAL ("clicked()"), self.dlgClicked)
- self.connect (self.okBtn, SIGNAL ("clicked ()"), self.okClicked)
- self.connect (self.canBtn, SIGNAL ("clicked ()"), self.cancelClicked)
+ self.connect (self.dlgBtn, TQ_SIGNAL ("clicked()"), self.dlgClicked)
+ self.connect (self.okBtn, TQ_SIGNAL ("clicked ()"), self.okClicked)
+ self.connect (self.canBtn, TQ_SIGNAL ("clicked ()"), self.cancelClicked)
def dlgClicked (self):
# get some (numerical) color values from the original dialog
@@ -93,7 +93,7 @@ class MessageDlg (KDialog):
for i in range (n):
TQRadioButton (buttons [i], grp)
- self.connect (grp, SIGNAL ("clicked (int)"), self.launch)
+ self.connect (grp, TQ_SIGNAL ("clicked (int)"), self.launch)
def launch (self, which):
if which == QuestionYesNo: