Hey Luca,

I did some tests here and works fine for me.  Are you using the git HEAD
version? This new API was not released yet its only available on git.

BR


On Wed, Jun 16, 2010 at 10:26 AM, Luca Donaggio <[email protected]> wrote:

> 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
>
>


-- 
Renato Araujo Oliveira Filho
Instituto Nokia de Tecnologia - INdT
Mobile: +55 (81) 8704-2144
_______________________________________________
PySide mailing list
[email protected]
http://lists.openbossa.org/listinfo/pyside

Reply via email to