[Bug 30098] Implement an intuitive replacement for synchronous D-Bus property getters

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Oct 14 15:10:57 CEST 2010


https://bugs.freedesktop.org/show_bug.cgi?id=30098

Marco Barisione <marco at barisione.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                URL|                            |http://git.collabora.co.uk/
                   |                            |?p=user/bari/telepathy-qt4.
                   |                            |git;a=shortlog;h=refs/heads
                   |                            |/async-properties
  Status Whiteboard|                            |patch
         AssignedTo|telepathy-bugs at lists.freede |marco at barisione.org
                   |sktop.org                   |

--- Comment #2 from Marco Barisione <marco at barisione.org> 2010-10-14 06:10:57 PDT ---
Here's my branch with the fixes. It generates requestPropertyFoo() and
setPropertyFoo() for every DBus properties.
If there are properties it also generates a requestAllProperties() returning a
PendingVariantMap (new type that is more convenient to use than a
PendingVariant in this case).
I also added a new test to test DBus properties and modified the existing ones
to avoid the deprecated getters.
The last patch, not supposed to be merged now, removes the deprecates property
accessors.

Sadly it was not possible to add a PendingValue<T> as you cannot use Q_OBJECT
with templates :(

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.



More information about the telepathy-bugs mailing list