Plugins/ViewManagerPlugins/MdiArea/MdiArea.py

changeset 454
d28d558f7484
parent 453
a81097a85889
child 456
d766de2ccbc7
--- a/Plugins/ViewManagerPlugins/MdiArea/MdiArea.py	Wed Aug 04 08:54:52 2010 +0200
+++ b/Plugins/ViewManagerPlugins/MdiArea/MdiArea.py	Wed Aug 04 20:33:53 2010 +0200
@@ -217,7 +217,7 @@
             """<b>Tile the windows</b>"""
             """<p>Rearrange and resize the windows so that they are tiled.</p>"""
         ))
-        self.tileAct.triggered.connect(self.tile)
+        self.tileAct.triggered[()].connect(self.tile)
         self.windowActions.append(self.tileAct)
         
         self.cascadeAct = E5Action(self.trUtf8('Cascade'),
@@ -227,7 +227,7 @@
             """<b>Cascade the windows</b>"""
             """<p>Rearrange and resize the windows so that they are cascaded.</p>"""
         ))
-        self.cascadeAct.triggered.connect(self.cascade)
+        self.cascadeAct.triggered[()].connect(self.cascade)
         self.windowActions.append(self.cascadeAct)
         
         self.nextChildAct = E5Action(self.trUtf8('Next'),
@@ -237,7 +237,7 @@
             """<b>Next</b>"""
             """<p>Activate the next window of the list of open windows.</p>"""
         ))
-        self.nextChildAct.triggered.connect(self.activateNextSubWindow)
+        self.nextChildAct.triggered[()].connect(self.activateNextSubWindow)
         self.windowActions.append(self.nextChildAct)
         
         self.prevChildAct = E5Action(self.trUtf8('Previous'),
@@ -247,7 +247,7 @@
             """<b>Previous</b>"""
             """<p>Activate the previous window of the list of open windows.</p>"""
         ))
-        self.prevChildAct.triggered.connect(self.activatePreviousSubWindow)
+        self.prevChildAct.triggered[()].connect(self.activatePreviousSubWindow)
         self.windowActions.append(self.prevChildAct)
         
         self.restoreAllAct = E5Action(self.trUtf8('Restore All'),
@@ -257,7 +257,7 @@
             """<b>Restore All</b>"""
             """<p>Restores all windows to their original size.</p>"""
         ))
-        self.restoreAllAct.triggered.connect(self.__restoreAllWindows)
+        self.restoreAllAct.triggered[()].connect(self.__restoreAllWindows)
         self.windowActions.append(self.restoreAllAct)
         
         self.iconizeAllAct = E5Action(self.trUtf8('Iconize All'),
@@ -267,7 +267,7 @@
             """<b>Iconize All</b>"""
             """<p>Iconizes all windows.</p>"""
         ))
-        self.iconizeAllAct.triggered.connect(self.__iconizeAllWindows)
+        self.iconizeAllAct.triggered[()].connect(self.__iconizeAllWindows)
         self.windowActions.append(self.iconizeAllAct)
         
     def setEditorName(self, editor, newName):

eric ide

mercurial