I was converting the program I'm working on to the new style signals and I
found that not all signals are working; for example this instruction:

self.aboutact.triggered.connect(self.on_menu_item_about_clicked)

give the following error (self.aboutact is a QAction):

AttributeError: 'Signal' object has no attribute 'connect'

while the old styled one:

self.connect(self.aboutact,SIGNAL('triggered()'),self,SLOT('on_menu_item_about_clicked()'))

works as expected.

What am I doing wrong?

-- 
Luca Donaggio
_______________________________________________
PySide mailing list
[email protected]
http://lists.openbossa.org/listinfo/pyside

Reply via email to