# For PyQt5, this block:        
#QObject.connect(self.leo_spell_btn_Add, SIGNAL("clicked()"), 
MainWindow.do_leo_spell_btn_Add)
#QObject.connect(self.leo_spell_btn_Change, SIGNAL("clicked()"), 
MainWindow.do_leo_spell_btn_Change)
#QObject.connect(self.leo_spell_btn_Find, SIGNAL("clicked()"), 
MainWindow.do_leo_spell_btn_Find)
#QObject.connect(self.leo_spell_btn_FindChange, SIGNAL("clicked()"), 
MainWindow.do_leo_spell_btn_FindChange)
#QObject.connect(self.leo_spell_btn_Hide, SIGNAL("clicked()"), 
MainWindow.do_leo_spell_btn_Hide)
#QObject.connect(self.leo_spell_btn_Ignore, SIGNAL("clicked()"), 
MainWindow.do_leo_spell_btn_Ignore)
#QObject.connect(self.leo_spell_listBox, 
SIGNAL("itemDoubleClicked(QListWidgetItem*)"), 
MainWindow.do_leo_spell_btn_FindChange)
# must be changed into this block:
self.leo_spell_btn_Add.clicked.connect(MainWindow.do_leo_spell_btn_Add)
self.leo_spell_btn_Change.clicked.connect(MainWindow.do_leo_spell_btn_Change)
self.leo_spell_btn_Find.clicked.connect(MainWindow.do_leo_spell_btn_Find)
self.leo_spell_btn_FindChange.clicked.connect(MainWindow.do_leo_spell_btn_FindChange)
self.leo_spell_btn_Hide.clicked.connect(MainWindow.do_leo_spell_btn_Hide)
self.leo_spell_btn_Ignore.clicked(MainWindow.do_leo_spell_btn_Ignore)

self.leo_spell_listBox.itemDoubleClicked.connect(MainWindow.do_leo_spell_btn_FindChange)

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.

Reply via email to