Continued porting signal/slot usage to the new API.

Mon, 09 Aug 2010 15:59:33 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Mon, 09 Aug 2010 15:59:33 +0200
changeset 467
0911d8be9b07
parent 466
e6a4bc9e1043
child 470
99d8c50ba42f

Continued porting signal/slot usage to the new API.

Plugins/PluginAbout.py file | annotate | diff | comparison | revisions
Plugins/PluginWizardPyRegExp.py file | annotate | diff | comparison | revisions
Plugins/PluginWizardQColorDialog.py file | annotate | diff | comparison | revisions
Plugins/PluginWizardQFileDialog.py file | annotate | diff | comparison | revisions
Plugins/PluginWizardQFontDialog.py file | annotate | diff | comparison | revisions
Plugins/PluginWizardQInputDialog.py file | annotate | diff | comparison | revisions
Plugins/PluginWizardQMessageBox.py file | annotate | diff | comparison | revisions
Plugins/PluginWizardQRegExp.py file | annotate | diff | comparison | revisions
Plugins/VcsPlugins/vcsMercurial/ProjectHelper.py file | annotate | diff | comparison | revisions
Preferences/ConfigurationPages/EditorKeywordsPage.py file | annotate | diff | comparison | revisions
eric5.py file | annotate | diff | comparison | revisions
--- a/Plugins/PluginAbout.py	Mon Aug 09 15:59:17 2010 +0200
+++ b/Plugins/PluginAbout.py	Mon Aug 09 15:59:33 2010 +0200
@@ -7,7 +7,7 @@
 Module implementing the About plugin.
 """
 
-from PyQt4.QtCore import QObject, SIGNAL
+from PyQt4.QtCore import QObject
 from PyQt4.QtGui import QMessageBox
 
 from UI.Info import *
@@ -124,4 +124,4 @@
         """
         Private slot to handle the About Qt dialog.
         """
-        QMessageBox.aboutQt(self.__ui, Program)
\ No newline at end of file
+        QMessageBox.aboutQt(self.__ui, Program)
--- a/Plugins/PluginWizardPyRegExp.py	Mon Aug 09 15:59:17 2010 +0200
+++ b/Plugins/PluginWizardPyRegExp.py	Mon Aug 09 15:59:33 2010 +0200
@@ -7,7 +7,7 @@
 Module implementing the Python re wizard plugin.
 """
 
-from PyQt4.QtCore import QObject, SIGNAL
+from PyQt4.QtCore import QObject
 from PyQt4.QtGui import QDialog, QMessageBox
 
 from E5Gui.E5Application import e5App
@@ -126,4 +126,4 @@
                 # It should be done on this way to allow undo
                 editor.beginUndoAction()
                 editor.insertAt(code, line, index)
-                editor.endUndoAction()
\ No newline at end of file
+                editor.endUndoAction()
--- a/Plugins/PluginWizardQColorDialog.py	Mon Aug 09 15:59:17 2010 +0200
+++ b/Plugins/PluginWizardQColorDialog.py	Mon Aug 09 15:59:33 2010 +0200
@@ -7,7 +7,7 @@
 Module implementing the QColorDialog wizard plugin.
 """
 
-from PyQt4.QtCore import QObject, SIGNAL
+from PyQt4.QtCore import QObject
 from PyQt4.QtGui import QDialog, QMessageBox
 
 from E5Gui.E5Application import e5App
@@ -126,4 +126,4 @@
                 # It should be done on this way to allow undo
                 editor.beginUndoAction()
                 editor.insertAt(code, line, index)
-                editor.endUndoAction()
\ No newline at end of file
+                editor.endUndoAction()
--- a/Plugins/PluginWizardQFileDialog.py	Mon Aug 09 15:59:17 2010 +0200
+++ b/Plugins/PluginWizardQFileDialog.py	Mon Aug 09 15:59:33 2010 +0200
@@ -7,7 +7,7 @@
 Module implementing the QFileDialog wizard plugin.
 """
 
-from PyQt4.QtCore import QObject, SIGNAL
+from PyQt4.QtCore import QObject
 from PyQt4.QtGui import QDialog, QMessageBox
 
 from E5Gui.E5Application import e5App
@@ -126,4 +126,4 @@
                 # It should be done on this way to allow undo
                 editor.beginUndoAction()
                 editor.insertAt(code, line, index)
-                editor.endUndoAction()
\ No newline at end of file
+                editor.endUndoAction()
--- a/Plugins/PluginWizardQFontDialog.py	Mon Aug 09 15:59:17 2010 +0200
+++ b/Plugins/PluginWizardQFontDialog.py	Mon Aug 09 15:59:33 2010 +0200
@@ -7,7 +7,7 @@
 Module implementing the QFontDialog wizard plugin.
 """
 
-from PyQt4.QtCore import QObject, SIGNAL
+from PyQt4.QtCore import QObject
 from PyQt4.QtGui import QDialog, QMessageBox
 
 from E5Gui.E5Application import e5App
@@ -126,4 +126,4 @@
                 # It should be done on this way to allow undo
                 editor.beginUndoAction()
                 editor.insertAt(code, line, index)
-                editor.endUndoAction()
\ No newline at end of file
+                editor.endUndoAction()
--- a/Plugins/PluginWizardQInputDialog.py	Mon Aug 09 15:59:17 2010 +0200
+++ b/Plugins/PluginWizardQInputDialog.py	Mon Aug 09 15:59:33 2010 +0200
@@ -7,7 +7,7 @@
 Module implementing the QInputDialog wizard plugin.
 """
 
-from PyQt4.QtCore import QObject, SIGNAL
+from PyQt4.QtCore import QObject
 from PyQt4.QtGui import QDialog, QMessageBox
 
 from E5Gui.E5Application import e5App
@@ -126,4 +126,4 @@
                 # It should be done on this way to allow undo
                 editor.beginUndoAction()
                 editor.insertAt(code, line, index)
-                editor.endUndoAction()
\ No newline at end of file
+                editor.endUndoAction()
--- a/Plugins/PluginWizardQMessageBox.py	Mon Aug 09 15:59:17 2010 +0200
+++ b/Plugins/PluginWizardQMessageBox.py	Mon Aug 09 15:59:33 2010 +0200
@@ -7,7 +7,7 @@
 Module implementing the QMessageBox wizard plugin.
 """
 
-from PyQt4.QtCore import QObject, SIGNAL
+from PyQt4.QtCore import QObject
 from PyQt4.QtGui import QDialog, QMessageBox
 
 from E5Gui.E5Application import e5App
@@ -126,4 +126,4 @@
                 # It should be done on this way to allow undo
                 editor.beginUndoAction()
                 editor.insertAt(code, line, index)
-                editor.endUndoAction()
\ No newline at end of file
+                editor.endUndoAction()
--- a/Plugins/PluginWizardQRegExp.py	Mon Aug 09 15:59:17 2010 +0200
+++ b/Plugins/PluginWizardQRegExp.py	Mon Aug 09 15:59:33 2010 +0200
@@ -7,7 +7,7 @@
 Module implementing the QRegExp wizard plugin.
 """
 
-from PyQt4.QtCore import QObject, SIGNAL
+from PyQt4.QtCore import QObject
 from PyQt4.QtGui import QDialog, QMessageBox
 
 from E5Gui.E5Application import e5App
@@ -126,4 +126,4 @@
                 # It should be done on this way to allow undo
                 editor.beginUndoAction()
                 editor.insertAt(code, line, index)
-                editor.endUndoAction()
\ No newline at end of file
+                editor.endUndoAction()
--- a/Plugins/VcsPlugins/vcsMercurial/ProjectHelper.py	Mon Aug 09 15:59:17 2010 +0200
+++ b/Plugins/VcsPlugins/vcsMercurial/ProjectHelper.py	Mon Aug 09 15:59:33 2010 +0200
@@ -9,7 +9,6 @@
 
 import os
 
-from PyQt4.QtCore import SIGNAL
 from PyQt4.QtGui import QMenu
 
 from E5Gui.E5Application import e5App
@@ -1060,4 +1059,4 @@
         """
         Protected slot used to serve the project.
         """
-        self.vcs.hgServe(self.project.ppath)
\ No newline at end of file
+        self.vcs.hgServe(self.project.ppath)
--- a/Preferences/ConfigurationPages/EditorKeywordsPage.py	Mon Aug 09 15:59:17 2010 +0200
+++ b/Preferences/ConfigurationPages/EditorKeywordsPage.py	Mon Aug 09 15:59:33 2010 +0200
@@ -8,7 +8,6 @@
 """
 
 from PyQt4.QtCore import pyqtSlot
-from PyQt4.QtGui import QWidget
 
 from .ConfigurationPageBase import ConfigurationPageBase
 from .Ui_EditorKeywordsPage import Ui_EditorKeywordsPage
--- a/eric5.py	Mon Aug 09 15:59:17 2010 +0200
+++ b/eric5.py	Mon Aug 09 15:59:33 2010 +0200
@@ -18,8 +18,7 @@
 import time
 import logging
 
-from PyQt4.QtCore import QTextCodec, SIGNAL, SLOT, qWarning, \
-    QLibraryInfo, QTimer
+from PyQt4.QtCore import QTextCodec, qWarning, QLibraryInfo, QTimer
 from PyQt4.QtGui import QApplication, QErrorMessage
 
 # some global variables needed to start the application

eric ide

mercurial