diff options
author | Matt Broadstone <mbroadstone@devonit.com> | 2014-01-08 14:05:14 -0500 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-01-09 22:34:54 +0100 |
commit | 86fa8b4fb800620ef065f5e151fa6896931cfc99 (patch) | |
tree | 3b7fa0d2b186b82079ea22f1da797f645d16dc56 /src/dbus/qdbusinternalfilters.cpp | |
parent | 9a789a965aabc20b2084104a334a69932da60cb6 (diff) |
Added PropertiesChanged signal to dbus introspection data
QtDBus adheres to the org.freedesktop.DBus.Properties
interface, however there is no current way to include the
PropertiesChanged signal in exposed introspection data.
This change adds that signal to the introspection data,
whether the adaptor uses the signal or not is up to the user.
[ChangeLog][QtDBus][Important Behavior Changes]
QtDBus adaptors now include the PropertiesChanged signal in introspection data
Change-Id: Iee26528b59b30696689a79fb692f93859b42bb49
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/dbus/qdbusinternalfilters.cpp')
-rw-r--r-- | src/dbus/qdbusinternalfilters.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/dbus/qdbusinternalfilters.cpp b/src/dbus/qdbusinternalfilters.cpp index e9bfd19060..17e12f1bba 100644 --- a/src/dbus/qdbusinternalfilters.cpp +++ b/src/dbus/qdbusinternalfilters.cpp @@ -92,6 +92,12 @@ static const char propertiesInterfaceXml[] = " <arg name=\"values\" type=\"a{sv}\" direction=\"out\"/>\n" " <annotation name=\"org.qtproject.QtDBus.QtTypeName.Out0\" value=\"QVariantMap\"/>\n" " </method>\n" + " <signal name=\"PropertiesChanged\">\n" + " <arg name=\"interface_name\" type=\"s\" direction=\"out\"/>\n" + " <arg name=\"changed_properties\" type=\"a{sv}\" direction=\"out\"/>\n" + " <annotation name=\"org.qtproject.QtDBus.QtTypeName.Out1\" value=\"QVariantMap\"/>\n" + " <arg name=\"invalidated_properties\" type=\"as\" direction=\"out\"/>\n" + " </signal>\n" " </interface>\n"; static const char peerInterfaceXml[] = |