On Thu, Jun 17, 2010 at 11:06 AM, Luca Donaggio <[email protected]> wrote:
> On Wed, Jun 16, 2010 at 10:44 PM, Renato Araujo Oliveira Filho < > [email protected]> wrote: > >> 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 >> > > > Thanks Renato, > > no, I'm not using the git version, I'm on 0.3.2 for Maemo. I suppose > support for new style signal is only partial in the last public release > then. > > -- > Luca Donaggio > Sorry to answering myself, but I just read Matti status update, and he clearly states that new style signal architecture should be already present in PySide 0.3.2 (online documentation says the same). Could it be that the Maemo packages for 0.3.2 are not completely up-to-date? Or maybe there were some bugs in released 0.3.2 which have been fixed in git HEAD? -- Luca Donaggio
_______________________________________________ PySide mailing list [email protected] http://lists.openbossa.org/listinfo/pyside
