diff -r a2b1d1770ef0 -r c20e25deb33a Plugins/WizardPlugins/PyRegExpWizard/PyRegExpWizardDialog.py --- a/Plugins/WizardPlugins/PyRegExpWizard/PyRegExpWizardDialog.py Mon Aug 09 15:36:47 2010 +0200 +++ b/Plugins/WizardPlugins/PyRegExpWizard/PyRegExpWizardDialog.py Mon Aug 09 15:49:03 2010 +0200 @@ -648,8 +648,8 @@ self.__layout.addWidget(self.cw) self.resize(size) - self.connect(self.cw.buttonBox, SIGNAL("accepted()"), self.accept) - self.connect(self.cw.buttonBox, SIGNAL("rejected()"), self.reject) + self.cw.buttonBox.accepted[()].connect(self.accept) + self.cw.buttonBox.rejected[()].connect(self.reject) def getCode(self, indLevel, indString): """ @@ -677,5 +677,5 @@ self.setCentralWidget(self.cw) self.resize(size) - self.connect(self.cw.buttonBox, SIGNAL("accepted()"), self.close) - self.connect(self.cw.buttonBox, SIGNAL("rejected()"), self.close) + self.cw.buttonBox.accepted[()].connect(self.close) + self.cw.buttonBox.rejected[()].connect(self.close) \ No newline at end of file