From c0332621bc998c9786f4841e86a62b7711fe4abf Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Thu, 4 Jan 2024 10:30:32 +0900 Subject: Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines Signed-off-by: Michele Calgaro --- lib/kross/python/scripts/gui.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/kross/python/scripts/gui.py') 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() -- cgit v1.2.3