El Miércoles, 1 de Febrero de 2006 09:48, V. Armando Sole escribió:
> Hi!
>
> I'm maintaining a fairly large amount of code where most of the former
> PYSIGNALS were implemented by sending a dictionary. Unless I'm missing
> something, I did not found other way to keep the code working than to make
> a derivative class of a supported type and make it behave as a dictionary
> without being one. For instance:

I haven't even got PyQt4 yet, but how about inheriting from a dictionary and a 
QObject?

class myclass (QObject,dict):
        whatever
   
-- 
 ("\''/").__..-''"`-. .         Roberto Alsina
 `9_ 9  )   `-. (    ).`-._.`) [EMAIL PROTECTED]
 (_Y_.)' ._   ) `._`.  " -.-'   KDE Developer (MFCH)
  _..`-'_..-_/ /-'_.'
(l)-'' ((i).' ((!.'   Buenos Aires - Argentina
Imminentizing the eschaton since 1971.

_______________________________________________
PyKDE mailing list    [email protected]
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde

Reply via email to