Preferences/PreferencesLexer.py

changeset 500
c3abc7895a01
parent 97
c4086afea02b
child 791
9ec2ac20e54e
diff -r 622ab17a68d5 -r c3abc7895a01 Preferences/PreferencesLexer.py
--- a/Preferences/PreferencesLexer.py	Thu Aug 12 10:11:06 2010 +0200
+++ b/Preferences/PreferencesLexer.py	Thu Aug 12 16:11:13 2010 +0200
@@ -111,14 +111,10 @@
                 self.ind2style[index] = i
                 index += 1
         
-        self.connect(self, SIGNAL("colorChanged (const QColor&, int)"), 
-                     self.setColor)
-        self.connect(self, SIGNAL("eolFillChanged (bool, int)"), 
-                     self.setEolFill)
-        self.connect(self, SIGNAL("fontChanged (const QFont&, int)"), 
-                     self.setFont)
-        self.connect(self, SIGNAL("paperChanged (const QColor&, int )"), 
-                     self.setPaper)
+        self.colorChanged.connect(self.setColor)
+        self.eolFillChanged.connect(self.setEolFill)
+        self.fontChanged.connect(self.setFont)
+        self.paperChanged.connect(self.setPaper)
         
         # read the last stored values from preferences file
         self.readSettings(Preferences.Prefs.settings, "Scintilla")

eric ide

mercurial