From e8911a360bc24d9cd2e5bacd52f08cd978fb2ec1 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Thu, 28 Dec 2023 21:16:30 +0900 Subject: [PATCH] Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines Signed-off-by: Michele Calgaro --- DesktopEffects/DesktopEffectsDialog.py | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/DesktopEffects/DesktopEffectsDialog.py b/DesktopEffects/DesktopEffectsDialog.py index 9fd60bd..64bbd91 100644 --- a/DesktopEffects/DesktopEffectsDialog.py +++ b/DesktopEffects/DesktopEffectsDialog.py @@ -2706,13 +2706,13 @@ class DesktopEffectsDialog(TQDialog): self.resize(TQSize(697,527).expandedTo(self.minimumSizeHint())) self.clearWState(TQt.WState_Polished) - self.connect(self.installButton,SIGNAL("clicked()"),self.installButtonClicked) - self.connect(self.radioButton4,SIGNAL("clicked()"),self.noEffects) - self.connect(self.radioButton4_2,SIGNAL("clicked()"),self.standardEffects) - self.connect(self.radioButton4_3,SIGNAL("clicked()"),self.extraEffects) - self.connect(self.radioButton4_3_2,SIGNAL("clicked()"),self.customEffects) - self.connect(self.applyButton,SIGNAL("clicked()"),self.apply) - self.connect(self.cancelButton,SIGNAL("clicked()"),self.cancel) + self.connect(self.installButton,TQ_SIGNAL("clicked()"),self.installButtonClicked) + self.connect(self.radioButton4,TQ_SIGNAL("clicked()"),self.noEffects) + self.connect(self.radioButton4_2,TQ_SIGNAL("clicked()"),self.standardEffects) + self.connect(self.radioButton4_3,TQ_SIGNAL("clicked()"),self.extraEffects) + self.connect(self.radioButton4_3_2,TQ_SIGNAL("clicked()"),self.customEffects) + self.connect(self.applyButton,TQ_SIGNAL("clicked()"),self.apply) + self.connect(self.cancelButton,TQ_SIGNAL("clicked()"),self.cancel) def languageChange(self): @@ -2770,7 +2770,7 @@ if __name__ == "__main__": TDECmdLineArgs.init (sys.argv, appname, description, version) a = TDEApplication () - TQObject.connect(a,SIGNAL("lastWindowClosed()"),a,SLOT("quit()")) + TQObject.connect(a,TQ_SIGNAL("lastWindowClosed()"),a,TQ_SLOT("quit()")) w = DesktopEffectsDialog() a.setMainWidget(w) w.show()