PropertiesChanged signal

Thiago Macieira thiago at kde.org
Fri May 7 12:53:33 PDT 2010


Em Sexta-feira 7. Maio 2010, às 19.06.16, David Zeuthen escreveu:
> Many people have asked for a generic mechanism to convey that one or
> more properties has changed on an object so they don't have to roll
> their own signals for this. Attached is a spec patch to define such a
> mechanism. Some notes
> 
>  - this new signal is optional
> 
>  - even if implemented, a service may opt to avoid using it for huge
> properties (e.g. probably want to avoid using it on a a 300 element
> a{i{tt}ss} property called ChatRoomParticipants)

I will not implement this property in QtDBus unless there's a subscribe method 
to trigger the emission of the signal. Anything else is wasteful.

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
  Senior Product Manager - Nokia, Qt Development Frameworks
      PGP/GPG: 0x6EF45358; fingerprint:
      E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.freedesktop.org/archives/dbus/attachments/20100507/a208642e/attachment.pgp>


More information about the dbus mailing list