diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-12-28 21:16:30 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-13 11:05:57 +0900 |
commit | 7faf6c12841dbb3c6abc0106f95482dce3c51d5e (patch) | |
tree | c7ae353798f6074253526f0baa2e0581140363f0 /DesktopEffects/DesktopEffectsDialog.py | |
parent | c3d75707fcd803931fec5c524c7bbf446c8a6d67 (diff) | |
download | desktop-effects-tde-7faf6c12841dbb3c6abc0106f95482dce3c51d5e.tar.gz desktop-effects-tde-7faf6c12841dbb3c6abc0106f95482dce3c51d5e.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit e8911a360bc24d9cd2e5bacd52f08cd978fb2ec1)
Diffstat (limited to 'DesktopEffects/DesktopEffectsDialog.py')
-rw-r--r-- | DesktopEffects/DesktopEffectsDialog.py | 16 |
1 files 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() |