PluginManager/PluginUninstallDialog.py

changeset 465
c20e25deb33a
parent 415
59a0f9e90768
child 495
b31b0bffa5b0
--- a/PluginManager/PluginUninstallDialog.py	Mon Aug 09 15:36:47 2010 +0200
+++ b/PluginManager/PluginUninstallDialog.py	Mon Aug 09 15:49:03 2010 +0200
@@ -180,8 +180,8 @@
         self.__layout.addWidget(self.cw)
         self.resize(size)
         
-        self.connect(self.cw, SIGNAL("accepted()"), self.accept)
-        self.connect(self.cw.buttonBox, SIGNAL("rejected()"), self.reject)
+        self.cw.accepted[()].connect(self.accept)
+        self.cw.buttonBox.rejected[()].connect(self.reject)
 
 class PluginUninstallWindow(QMainWindow):
     """
@@ -199,5 +199,5 @@
         self.setCentralWidget(self.cw)
         self.resize(size)
         
-        self.connect(self.cw, SIGNAL("accepted()"), self.close)
-        self.connect(self.cw.buttonBox, SIGNAL("rejected()"), self.close)
+        self.cw.accepted[()].connect(self.close)
+        self.cw.buttonBox.rejected[()].connect(self.close)
\ No newline at end of file

eric ide

mercurial