QScintilla/Shell.py

changeset 500
c3abc7895a01
parent 482
4650a72c307a
child 536
6d8d39753c82
--- a/QScintilla/Shell.py	Thu Aug 12 10:11:06 2010 +0200
+++ b/QScintilla/Shell.py	Thu Aug 12 16:11:13 2010 +0200
@@ -80,8 +80,7 @@
             """ window caption.</p>"""
         ))
         
-        self.connect(self, SIGNAL('userListActivated(int, const QString)'),
-                     self.__completionListSelected)
+        self.userListActivated.connect(self.__completionListSelected)
         
         self.__showStdOutErr = Preferences.getShell("ShowStdOutErr")
         if self.__showStdOutErr:
@@ -143,7 +142,7 @@
         for language in self.clientLanguages:
             act = self.lmenu.addAction(language)
             act.setData(language)
-        self.connect(self.lmenu, SIGNAL("triggered(QAction *)"), self.__startDebugClient)
+        self.lmenu.triggered.connect(self.__startDebugClient)
         
         # Create the history context menu
         self.hmenu = QMenu(self.trUtf8('History'))

eric ide

mercurial