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>
This commit is contained in:
Matt Broadstone 2014-01-08 14:05:14 -05:00 committed by The Qt Project
parent 9a789a965a
commit 86fa8b4fb8

View File

@ -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[] =