Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/9/head
Michele Calgaro 11 months ago
parent 0ba3fb3a41
commit e8911a360b
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -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()

Loading…
Cancel
Save