diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-04 10:30:32 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-04 12:36:03 +0900 |
commit | c0332621bc998c9786f4841e86a62b7711fe4abf (patch) | |
tree | 38b3ab6688de7a9396a1c5993a8ec265f5f33b64 /lib/kross/python/scripts/gui.py | |
parent | 6c81ff8d61ec679e735d3fbd875583b12f0ef0a5 (diff) | |
download | koffice-c0332621bc998c9786f4841e86a62b7711fe4abf.tar.gz koffice-c0332621bc998c9786f4841e86a62b7711fe4abf.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'lib/kross/python/scripts/gui.py')
-rwxr-xr-x | lib/kross/python/scripts/gui.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/kross/python/scripts/gui.py b/lib/kross/python/scripts/gui.py index aa4dc986a..19a51ce46 100755 --- a/lib/kross/python/scripts/gui.py +++ b/lib/kross/python/scripts/gui.py @@ -224,7 +224,7 @@ class TQtDialog: tqt.TQPushButton.__init__(self, parent) self.commandmethod = commandmethod self.setText(caption) - tqt.TQObject.connect(self, tqt.SIGNAL("clicked()"), self.commandmethod) + tqt.TQObject.connect(self, tqt.TQ_SIGNAL("clicked()"), self.commandmethod) class CheckBox(tqt.TQCheckBox): @@ -268,7 +268,7 @@ class TQtDialog: label.setBuddy(self.edit) browsebutton = Button(dialog, self, "...", self.browseButtonClicked) - #tqt.TQObject.connect(browsebutton, tqt.SIGNAL("clicked()"), self.browseButtonClicked) + #tqt.TQObject.connect(browsebutton, tqt.TQ_SIGNAL("clicked()"), self.browseButtonClicked) def get(self): return self.edit.text() |