Debian Codegraph @

src/dbusextendedabstractinterface.cpp

raw symbols SCIP
1 // -*- c++ -*-cxx . . $ `<file>/src/dbusextendedabstractinterface.cpp`/
2
3 /*!
4 *
5 * Copyright (C) 2015 Jolla Ltd.
6 *
7 * Contact: Valerio Valerio <[email protected]>
8 * Author: Andres Gomez <[email protected]>
9 *
10 * This library is free software; you can redistribute it and/or
11 * modify it under the terms of the GNU Lesser General Public
12 * License as published by the Free Software Foundation; either
13 * version 2.1 of the License, or (at your option) any later version.
14 *
15 * This library is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18 * Lesser General Public License for more details.
19 *
20 * You should have received a copy of the GNU Lesser General Public
21 * License along with this library; if not, write to the Free Software
22 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
23 */
24
25
26 #include "dbusextendedpendingcallwatcher_p.h"cxx . . $ `<file>/src/dbusextendedpendingcallwatcher_p.h`/
27
28 #include <DBusExtendedAbstractInterface>cxx . . $ `<file>/src/DBusExtendedAbstractInterface`/
29
30 #include <QtDBus/QDBusMetaType>
31 #include <QtDBus/QDBusMessage>
32 #include <QtDBus/QDBusPendingCall>
33 #include <QtDBus/QDBusPendingCallWatcher>
34 #include <QtDBus/QDBusPendingReply>
35
36 #include <QtCore/QDebug>
37 #include <QtCore/QMetaProperty>
38
39
40 Q_GLOBAL_STATIC_WITH_ARGScxx . . $ `<external>/5857545390125231380/qglobalstatic.h:151:9`!(QByteArray, dBusPropertiesInterface, ("org.freedesktop.DBus.Properties"))
41 Q_GLOBAL_STATIC_WITH_ARGScxx . . $ `<external>/5857545390125231380/qglobalstatic.h:151:9`!(QByteArray, dBusPropertiesChangedSignal, ("PropertiesChanged"))
42 Q_GLOBAL_STATIC_WITH_ARGScxx . . $ `<external>/5857545390125231380/qglobalstatic.h:151:9`!(QByteArray, propertyChangedSignature, ("propertyChanged(QString,QVariant)"))
43 Q_GLOBAL_STATIC_WITH_ARGScxx . . $ `<external>/5857545390125231380/qglobalstatic.h:151:9`!(QByteArray, propertyInvalidatedSignature, ("propertyInvalidated(QString)"))
44
45
46 DBusExtendedAbstractInterfacecxx . . $ DBusExtendedAbstractInterface#::DBusExtendedAbstractInterfacecxx . . $ DBusExtendedAbstractInterface#DBusExtendedAbstractInterface(224dae0651165b93).(const QStringcxx . . $ QString# &service, const QStringcxx . . $ QString# &path, const char *interface, const QDBusConnectioncxx . . $ QDBusConnection# &connection, QObjectcxx . . $ QObject# *parent)
47 : QDBusAbstractInterfacecxx . . $ QDBusAbstractInterface#(service, path, interface, connection, parent)
48 , m_synccxx . . $ DBusExtendedAbstractInterface#m_sync.(false)
49 , m_useCachecxx . . $ DBusExtendedAbstractInterface#m_useCache.(false)
50 , m_getAllPendingCallWatchercxx . . $ DBusExtendedAbstractInterface#m_getAllPendingCallWatcher.(0)
51 , m_propertiesChangedConnectedcxx . . $ DBusExtendedAbstractInterface#m_propertiesChangedConnected.(false)
52 {
53 }
54
55 DBusExtendedAbstractInterfacecxx . . $ DBusExtendedAbstractInterface#::~cxx . . $ DBusExtendedAbstractInterface#`~DBusExtendedAbstractInterface`(ced63f7c635d850d).DBusExtendedAbstractInterfacecxx . . $ DBusExtendedAbstractInterface#()
56 {
57 }
58
59 void DBusExtendedAbstractInterfacecxx . . $ DBusExtendedAbstractInterface#::getAllPropertiescxx . . $ DBusExtendedAbstractInterface#getAllProperties(49f6e7a06ebc5aa8).()
60 {
61 m_lastExtendedErrorcxx . . $ DBusExtendedAbstractInterface#m_lastExtendedError. =cxx . . $ QDBusError#`operator=`(fe61bee42c190117). QDBusErrorcxx . . $ QDBusError#QDBusError(49f6e7a06ebc5aa8).();
62
63 if (!isValidcxx . . $ QDBusAbstractInterface#isValid(50ce9a9e25b4a850).()) {
64 QStringcxx . . $ QString# errorMessage = QStringLiteralcxx . . $ `<external>/2817157206922689722/qstringliteral.h:65:9`!("This Extended DBus interface is not valid yet.");
65 m_lastExtendedErrorcxx . . $ DBusExtendedAbstractInterface#m_lastExtendedError. =cxx . . $ QDBusError#`operator=`(84362b55f4568b33). QDBusMessagecxx . . $ QDBusMessage#::createErrorcxx . . $ QDBusMessage#createError(5cd9bc61d5b5d5e5).(QDBusErrorcxx . . $ QDBusError#::Failedcxx . . $ QDBusError#Failed., errorMessage);
66 qDebugcxx . . $ `<external>/10450329605257866924/qlogging.h:164:9`!() <<cxx . . $ QDebug#`operator<<`(d8a917b173851aad). Q_FUNC_INFOcxx . . $ `<external>/4507883856836070869/qcompilerdetection.h:240:11`! <<cxx . . $ QDebug#`operator<<`(4cf17434affdd8). errorMessage;
67 return;
68 }
69
70 if (!m_synccxx . . $ DBusExtendedAbstractInterface#m_sync. && m_getAllPendingCallWatchercxx . . $ DBusExtendedAbstractInterface#m_getAllPendingCallWatcher.) {
71 // Call already in place, not repeating ...
72 return;
73 }
74
75 QDBusMessagecxx . . $ QDBusMessage# msg = QDBusMessagecxx . . $ QDBusMessage#::createMethodCallcxx . . $ QDBusMessage#createMethodCall(53922711d019cf27).(servicecxx . . $ QDBusAbstractInterface#service(6ef7b6c27b00b43d).(), pathcxx . . $ QDBusAbstractInterface#path(6ef7b6c27b00b43d).(), *cxx . . $ QString#QString(45672f3c6961a244).dBusPropertiesInterfacecxx . . $ dBusPropertiesInterface.(cxx . . $ QGlobalStatic#`operator()`(155dc7f103cdb9db).), QStringLiteralcxx . . $ `<external>/2817157206922689722/qstringliteral.h:65:9`!("GetAll"));
76 msg <<cxx . . $ QDBusMessage#`operator<<`(ef5601b8018cb889). interfacecxx . . $ QVariant#QVariant(3520e46b33348bf6).();
77
78 if (m_synccxx . . $ DBusExtendedAbstractInterface#m_sync.) {
79 QDBusMessagecxx . . $ QDBusMessage# reply = connectioncxx . . $ QDBusAbstractInterface#connection(c96d733cf6a2a750).().callcxx . . $ QDBusConnection#call(55e43a351c9b9118).(msg);
80
81 if (reply.typecxx . . $ QDBusMessage#type(8f92fad8dfef924e).() != QDBusMessagecxx . . $ QDBusMessage#::ReplyMessagecxx . . $ QDBusMessage#ReplyMessage.) {
82 m_lastExtendedErrorcxx . . $ DBusExtendedAbstractInterface#m_lastExtendedError. =cxx . . $ QDBusError#`operator=`(fe61bee42c190117). QDBusErrorcxx . . $ QDBusError#(reply);
83 qWarningcxx . . $ `<external>/10450329605257866924/qlogging.h:166:9`!() <<cxx . . $ QDebug#`operator<<`(d8a917b173851aad). Q_FUNC_INFOcxx . . $ `<external>/4507883856836070869/qcompilerdetection.h:240:11`! <<cxx . . $ QDebug#`operator<<`(4cf17434affdd8). m_lastExtendedErrorcxx . . $ DBusExtendedAbstractInterface#m_lastExtendedError..messagecxx . . $ QDBusError#message(6ef7b6c27b00b43d).();
84 return;
85 }
86
87 if (reply.signaturecxx . . $ QDBusMessage#signature(6ef7b6c27b00b43d).() !=cxx . . $ QString#`operator!=`(b3b98e09a392cdf9). QLatin1Stringcxx . . $ QLatin1String#QLatin1String(aac1607cfe1c1740).("a{sv}")) {
88 QStringcxx . . $ QString# errorMessage = QStringLiteralcxx . . $ `<external>/2817157206922689722/qstringliteral.h:65:9`!("Invalid signature \"%1\" in return from call to %2")
89 .argcxx . . $ QString#arg(ec0c7a4bb7c7a5fe).(reply.signaturecxx . . $ QDBusMessage#signature(6ef7b6c27b00b43d).(),
90 QStringcxx . . $ QString#QString(45672f3c6961a244).(*dBusPropertiesInterfacecxx . . $ dBusPropertiesInterface.(cxx . . $ QGlobalStatic#`operator()`(155dc7f103cdb9db).)));
91 qWarningcxx . . $ `<external>/10450329605257866924/qlogging.h:166:9`!() <<cxx . . $ QDebug#`operator<<`(d8a917b173851aad). Q_FUNC_INFOcxx . . $ `<external>/4507883856836070869/qcompilerdetection.h:240:11`! <<cxx . . $ QDebug#`operator<<`(4cf17434affdd8). errorMessage;
92 m_lastExtendedErrorcxx . . $ DBusExtendedAbstractInterface#m_lastExtendedError. =cxx . . $ QDBusError#`operator=`(fe61bee42c190117). QDBusErrorcxx . . $ QDBusError#QDBusError(22e07d8d64024c26).(QDBusErrorcxx . . $ QDBusError#::InvalidSignaturecxx . . $ QDBusError#InvalidSignature., errorMessage);
93 return;
94 }
95
96 QVariantMapcxx . . $ QVariantMap# value = reply.argumentscxx . . $ QDBusMessage#arguments(a208304be85d9b76).().atcxx . . $ QList#at(e2681f9bb6b2f357).(0).toMapcxx . . $ QVariant#toMap(87f780dbe64191c4).();
97 onPropertiesChangedcxx . . $ DBusExtendedAbstractInterface#onPropertiesChanged(e3268743089caef9).(interfacecxx . . $ QDBusAbstractInterface#interface(6ef7b6c27b00b43d).(), value, QStringListcxx . . $ QStringList#QStringList(ced63f7c635d850d).());
98 } else {
99 QDBusPendingReplycxx . . $ QDBusPendingReply#<QVariantMapcxx . . $ QVariantMap#> async = connectioncxx . . $ QDBusPendingReply#QDBusPendingReply(8091e1e063dfdcb5).().asyncCallcxx . . $ QDBusConnection#asyncCall(736a370b23ad872a).(msg);
100 m_getAllPendingCallWatchercxx . . $ DBusExtendedAbstractInterface#m_getAllPendingCallWatcher. = new QDBusPendingCallWatchercxx . . $ QDBusPendingCallWatcher#QDBusPendingCallWatcher(a613d4c11aa30e35).(async, this);
101
102 connectcxx . . $ QObject#connect(158df1d9a01a3410).(m_getAllPendingCallWatchercxx . . $ DBusExtendedAbstractInterface#m_getAllPendingCallWatcher., SIGNALcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:271:10`!(finished(QDBusPendingCallWatcher*)), this, SLOTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:270:10`!(onAsyncGetAllPropertiesFinished(QDBusPendingCallWatcher*)));
103 return;
104 }
105 }
106
107 void DBusExtendedAbstractInterfacecxx . . $ DBusExtendedAbstractInterface#::connectNotifycxx . . $ DBusExtendedAbstractInterface#connectNotify(66bcfc5d1b625511).(const QMetaMethodcxx . . $ QMetaMethod# &signal)
108 {
109 if (signal.methodTypecxx . . $ QMetaMethod#methodType(3a13d453cc434175).() == QMetaMethodcxx . . $ QMetaMethod#::Signalcxx . . $ QMetaMethod#Signal.
110 && (signal.methodSignaturecxx . . $ QMetaMethod#methodSignature(a96750bfbcb1fbe9).() ==cxx . . $ `operator==`(be1acefd00fee2fd). *propertyChangedSignaturecxx . . $ propertyChangedSignature.(cxx . . $ QGlobalStatic#`operator()`(155dc7f103cdb9db).)
111 || signal.methodSignaturecxx . . $ QMetaMethod#methodSignature(a96750bfbcb1fbe9).() ==cxx . . $ `operator==`(be1acefd00fee2fd). *propertyInvalidatedSignaturecxx . . $ propertyInvalidatedSignature.(cxx . . $ QGlobalStatic#`operator()`(155dc7f103cdb9db).))) {
112 if (!m_propertiesChangedConnectedcxx . . $ DBusExtendedAbstractInterface#m_propertiesChangedConnected.) {
113 QStringListcxx . . $ QStringList# argumentMatchcxx . . $ QStringList#QStringList(ced63f7c635d850d).;
114 argumentMatch <<cxx . . $ QStringList#`operator<<`(85116071a693d053). interfacecxx . . $ QDBusAbstractInterface#interface(6ef7b6c27b00b43d).();
115 connectioncxx . . $ QDBusAbstractInterface#connection(c96d733cf6a2a750).().connectcxx . . $ QDBusConnection#connect(717bd57795c25c1f).(servicecxx . . $ QDBusAbstractInterface#service(6ef7b6c27b00b43d).(), pathcxx . . $ QDBusAbstractInterface#path(6ef7b6c27b00b43d).(), *cxx . . $ QString#QString(45672f3c6961a244).dBusPropertiesInterfacecxx . . $ dBusPropertiesInterface.(cxx . . $ QGlobalStatic#`operator()`(155dc7f103cdb9db).), *cxx . . $ QString#QString(45672f3c6961a244).dBusPropertiesChangedSignalcxx . . $ dBusPropertiesChangedSignal.(cxx . . $ QGlobalStatic#`operator()`(155dc7f103cdb9db).),
116 argumentMatch, QStringcxx . . $ QString#QString(ced63f7c635d850d).(),
117 this, SLOTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:270:10`!(onPropertiesChanged(QString, QVariantMap, QStringList)));
118
119 m_propertiesChangedConnectedcxx . . $ DBusExtendedAbstractInterface#m_propertiesChangedConnected. = true;
120 return;
121 }
122 } else {
123 QDBusAbstractInterfacecxx . . $ QDBusAbstractInterface#::connectNotifycxx . . $ QDBusAbstractInterface#connectNotify(66bcfc5d1b625511).(signal);
124 }
125 }
126
127 void DBusExtendedAbstractInterfacecxx . . $ DBusExtendedAbstractInterface#::disconnectNotifycxx . . $ DBusExtendedAbstractInterface#disconnectNotify(66bcfc5d1b625511).(const QMetaMethodcxx . . $ QMetaMethod# &signal)
128 {
129 if (signal.methodTypecxx . . $ QMetaMethod#methodType(3a13d453cc434175).() == QMetaMethodcxx . . $ QMetaMethod#::Signalcxx . . $ QMetaMethod#Signal.
130 && (signal.methodSignaturecxx . . $ QMetaMethod#methodSignature(a96750bfbcb1fbe9).() ==cxx . . $ `operator==`(be1acefd00fee2fd). *propertyChangedSignaturecxx . . $ propertyChangedSignature.(cxx . . $ QGlobalStatic#`operator()`(155dc7f103cdb9db).)
131 || signal.methodSignaturecxx . . $ QMetaMethod#methodSignature(a96750bfbcb1fbe9).() ==cxx . . $ `operator==`(be1acefd00fee2fd). *propertyInvalidatedSignaturecxx . . $ propertyInvalidatedSignature.(cxx . . $ QGlobalStatic#`operator()`(155dc7f103cdb9db).))) {
132 if (m_propertiesChangedConnectedcxx . . $ DBusExtendedAbstractInterface#m_propertiesChangedConnected.
133 && 0 == receiverscxx . . $ QObject#receivers(78f035161ffa9fe2).(propertyChangedSignaturecxx . . $ propertyChangedSignature.(cxx . . $ QGlobalStatic#`operator()`(155dc7f103cdb9db).)->constDatacxx . . $ QByteArray#constData(a9f41ea0e82d88cf).())
134 && 0 == receiverscxx . . $ QObject#receivers(78f035161ffa9fe2).(propertyInvalidatedSignaturecxx . . $ propertyInvalidatedSignature.(cxx . . $ QGlobalStatic#`operator()`(155dc7f103cdb9db).)->constDatacxx . . $ QByteArray#constData(a9f41ea0e82d88cf).())) {
135 QStringListcxx . . $ QStringList# argumentMatchcxx . . $ QStringList#QStringList(ced63f7c635d850d).;
136 argumentMatch <<cxx . . $ QStringList#`operator<<`(85116071a693d053). interfacecxx . . $ QDBusAbstractInterface#interface(6ef7b6c27b00b43d).();
137 connectioncxx . . $ QDBusAbstractInterface#connection(c96d733cf6a2a750).().disconnectcxx . . $ QDBusConnection#disconnect(717bd57795c25c1f).(servicecxx . . $ QDBusAbstractInterface#service(6ef7b6c27b00b43d).(), pathcxx . . $ QDBusAbstractInterface#path(6ef7b6c27b00b43d).(), *cxx . . $ QString#QString(45672f3c6961a244).dBusPropertiesInterfacecxx . . $ dBusPropertiesInterface.(cxx . . $ QGlobalStatic#`operator()`(155dc7f103cdb9db).), *cxx . . $ QString#QString(45672f3c6961a244).dBusPropertiesChangedSignalcxx . . $ dBusPropertiesChangedSignal.(cxx . . $ QGlobalStatic#`operator()`(155dc7f103cdb9db).),
138 argumentMatch, QStringcxx . . $ QString#QString(ced63f7c635d850d).(),
139 this, SLOTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:270:10`!(onPropertiesChanged(QString, QVariantMap, QStringList)));
140
141 m_propertiesChangedConnectedcxx . . $ DBusExtendedAbstractInterface#m_propertiesChangedConnected. = false;
142 return;
143 }
144 } else {
145 QDBusAbstractInterfacecxx . . $ QDBusAbstractInterface#::disconnectNotifycxx . . $ QDBusAbstractInterface#disconnectNotify(66bcfc5d1b625511).(signal);
146 }
147 }
148
149 QVariantcxx . . $ QVariant# DBusExtendedAbstractInterfacecxx . . $ DBusExtendedAbstractInterface#::internalPropGetcxx . . $ DBusExtendedAbstractInterface#internalPropGet(d52e7d4cc2c15430).(const char *propname, void *propertyPtr)
150 {
151 m_lastExtendedErrorcxx . . $ DBusExtendedAbstractInterface#m_lastExtendedError. =cxx . . $ QDBusError#`operator=`(fe61bee42c190117). QDBusErrorcxx . . $ QDBusError#QDBusError(49f6e7a06ebc5aa8).();
152
153 if (m_useCachecxx . . $ DBusExtendedAbstractInterface#m_useCache.) {
154 int propertyIndex = metaObjectcxx . . $ DBusExtendedAbstractInterface#metaObject(216d4151dd9c9333).()->indexOfPropertycxx . . $ QMetaObject#indexOfProperty(78f035161ffa9fe2).(propname);
155 QMetaPropertycxx . . $ QMetaProperty# metaProperty = metaObjectcxx . . $ DBusExtendedAbstractInterface#metaObject(216d4151dd9c9333).()->propertycxx . . $ QMetaObject#property(6cb40d873d8cd22).(propertyIndex);
156 return QVariantcxx . . $ QVariant#QVariant(c36afc64ff8dfc2e).(metaProperty.typecxx . . $ QMetaProperty#type(5e54638cd06c4ff1).(), propertyPtr);
157 }
158
159 if (m_synccxx . . $ DBusExtendedAbstractInterface#m_sync.) {
160 return propertycxx . . $ QObject#property(950ff6813be46b58).(propname);
161 } else {
162 if (!isValidcxx . . $ QDBusAbstractInterface#isValid(50ce9a9e25b4a850).()) {
163 QStringcxx . . $ QString# errorMessage = QStringLiteralcxx . . $ `<external>/2817157206922689722/qstringliteral.h:65:9`!("This Extended DBus interface is not valid yet.");
164 m_lastExtendedErrorcxx . . $ DBusExtendedAbstractInterface#m_lastExtendedError. =cxx . . $ QDBusError#`operator=`(84362b55f4568b33). QDBusMessagecxx . . $ QDBusMessage#::createErrorcxx . . $ QDBusMessage#createError(5cd9bc61d5b5d5e5).(QDBusErrorcxx . . $ QDBusError#::Failedcxx . . $ QDBusError#Failed., errorMessage);
165 qDebugcxx . . $ `<external>/10450329605257866924/qlogging.h:164:9`!() <<cxx . . $ QDebug#`operator<<`(d8a917b173851aad). Q_FUNC_INFOcxx . . $ `<external>/4507883856836070869/qcompilerdetection.h:240:11`! <<cxx . . $ QDebug#`operator<<`(4cf17434affdd8). errorMessage;
166 return QVariantcxx . . $ QVariant#QVariant(ced63f7c635d850d).();
167 }
168
169 int propertyIndex = metaObjectcxx . . $ DBusExtendedAbstractInterface#metaObject(216d4151dd9c9333).()->indexOfPropertycxx . . $ QMetaObject#indexOfProperty(78f035161ffa9fe2).(propname);
170
171 if (-1 == propertyIndex) {
172 QStringcxx . . $ QString# errorMessage = QStringLiteralcxx . . $ `<external>/2817157206922689722/qstringliteral.h:65:9`!("Got unknown property \"%1\" to read")
173 .argcxx . . $ QString#arg(bc823072288cbbb5).(QStringcxx . . $ QString#::fromLatin1cxx . . $ QString#fromLatin1(5ac70cc0fa2a874e).(propname));
174 m_lastExtendedErrorcxx . . $ DBusExtendedAbstractInterface#m_lastExtendedError. =cxx . . $ QDBusError#`operator=`(84362b55f4568b33). QDBusMessagecxx . . $ QDBusMessage#::createErrorcxx . . $ QDBusMessage#createError(5cd9bc61d5b5d5e5).(QDBusErrorcxx . . $ QDBusError#::Failedcxx . . $ QDBusError#Failed., errorMessage);
175 qWarningcxx . . $ `<external>/10450329605257866924/qlogging.h:166:9`!() <<cxx . . $ QDebug#`operator<<`(d8a917b173851aad). Q_FUNC_INFOcxx . . $ `<external>/4507883856836070869/qcompilerdetection.h:240:11`! <<cxx . . $ QDebug#`operator<<`(4cf17434affdd8). errorMessage;
176 return QVariantcxx . . $ QVariant#QVariant(ced63f7c635d850d).();
177 }
178
179 QMetaPropertycxx . . $ QMetaProperty# metaProperty = metaObjectcxx . . $ DBusExtendedAbstractInterface#metaObject(216d4151dd9c9333).()->propertycxx . . $ QMetaObject#property(6cb40d873d8cd22).(propertyIndex);
180
181 if (!metaProperty.isReadablecxx . . $ QMetaProperty#isReadable(50ce9a9e25b4a850).()) {
182 QStringcxx . . $ QString# errorMessage = QStringLiteralcxx . . $ `<external>/2817157206922689722/qstringliteral.h:65:9`!("Property \"%1\" is NOT readable")
183 .argcxx . . $ QString#arg(bc823072288cbbb5).(QStringcxx . . $ QString#::fromLatin1cxx . . $ QString#fromLatin1(5ac70cc0fa2a874e).(propname));
184 m_lastExtendedErrorcxx . . $ DBusExtendedAbstractInterface#m_lastExtendedError. =cxx . . $ QDBusError#`operator=`(84362b55f4568b33). QDBusMessagecxx . . $ QDBusMessage#::createErrorcxx . . $ QDBusMessage#createError(5cd9bc61d5b5d5e5).(QDBusErrorcxx . . $ QDBusError#::Failedcxx . . $ QDBusError#Failed., errorMessage);
185 qWarningcxx . . $ `<external>/10450329605257866924/qlogging.h:166:9`!() <<cxx . . $ QDebug#`operator<<`(d8a917b173851aad). Q_FUNC_INFOcxx . . $ `<external>/4507883856836070869/qcompilerdetection.h:240:11`! <<cxx . . $ QDebug#`operator<<`(4cf17434affdd8). errorMessage;
186 return QVariantcxx . . $ QVariant#QVariant(ced63f7c635d850d).();
187 }
188
189 // is this metatype registered?
190 const char *expectedSignature = "";
191 if (int(metaProperty.typecxx . . $ QMetaProperty#type(5e54638cd06c4ff1).()) != QMetaTypecxx . . $ QMetaType#::QVariantcxx . . $ QMetaType#QVariant.) {
192 expectedSignature = QDBusMetaTypecxx . . $ QDBusMetaType#::typeToSignaturecxx . . $ QDBusMetaType#typeToSignature(f7ae7e56280f18ae).(metaProperty.userTypecxx . . $ QMetaProperty#userType(455f465bc33b4cdf).());
193 if (0 == expectedSignature) {
194 QStringcxx . . $ QString# errorMessage =
195 QStringLiteralcxx . . $ `<external>/2817157206922689722/qstringliteral.h:65:9`!("Type %1 must be registered with Qt D-Bus "
196 "before it can be used to read property "
197 "%2.%3")
198 .argcxx . . $ QString#arg(ec0c7a4bb7c7a5fe).(metaProperty.typeNamecxx . . $ QMetaProperty#typeName(a9f41ea0e82d88cf).(),
199 interfacecxx . . $ QDBusAbstractInterface#interface(6ef7b6c27b00b43d).(),
200 propname);
201 m_lastExtendedErrorcxx . . $ DBusExtendedAbstractInterface#m_lastExtendedError. =cxx . . $ QDBusError#`operator=`(84362b55f4568b33). QDBusMessagecxx . . $ QDBusMessage#::createErrorcxx . . $ QDBusMessage#createError(5cd9bc61d5b5d5e5).(QDBusErrorcxx . . $ QDBusError#::Failedcxx . . $ QDBusError#Failed., errorMessage);
202 qWarningcxx . . $ `<external>/10450329605257866924/qlogging.h:166:9`!() <<cxx . . $ QDebug#`operator<<`(d8a917b173851aad). Q_FUNC_INFOcxx . . $ `<external>/4507883856836070869/qcompilerdetection.h:240:11`! <<cxx . . $ QDebug#`operator<<`(4cf17434affdd8). errorMessage;
203 return QVariantcxx . . $ QVariant#QVariant(ced63f7c635d850d).();
204 }
205 }
206
207 asyncPropertycxx . . $ DBusExtendedAbstractInterface#asyncProperty(31fe9d5170203011).(propnamecxx . . $ QString#QString(85c52e162fed56f9).);
208 return QVariantcxx . . $ QVariant#QVariant(c36afc64ff8dfc2e).(metaProperty.typecxx . . $ QMetaProperty#type(5e54638cd06c4ff1).(), propertyPtr);
209 }
210 }
211
212 void DBusExtendedAbstractInterfacecxx . . $ DBusExtendedAbstractInterface#::internalPropSetcxx . . $ DBusExtendedAbstractInterface#internalPropSet(f629bbfc6bd3a5be).(const char *propname, const QVariantcxx . . $ QVariant# &value, void *propertyPtr)
213 {
214 m_lastExtendedErrorcxx . . $ DBusExtendedAbstractInterface#m_lastExtendedError. =cxx . . $ QDBusError#`operator=`(fe61bee42c190117). QDBusErrorcxx . . $ QDBusError#QDBusError(49f6e7a06ebc5aa8).();
215
216 if (m_synccxx . . $ DBusExtendedAbstractInterface#m_sync.) {
217 setPropertycxx . . $ QObject#setProperty(395943cdf6cf5058).(propname, value);
218 } else {
219 if (!isValidcxx . . $ QDBusAbstractInterface#isValid(50ce9a9e25b4a850).()) {
220 QStringcxx . . $ QString# errorMessage = QStringLiteralcxx . . $ `<external>/2817157206922689722/qstringliteral.h:65:9`!("This interface is not yet valid");
221 m_lastExtendedErrorcxx . . $ DBusExtendedAbstractInterface#m_lastExtendedError. =cxx . . $ QDBusError#`operator=`(84362b55f4568b33). QDBusMessagecxx . . $ QDBusMessage#::createErrorcxx . . $ QDBusMessage#createError(5cd9bc61d5b5d5e5).(QDBusErrorcxx . . $ QDBusError#::Failedcxx . . $ QDBusError#Failed., errorMessage);
222 qDebugcxx . . $ `<external>/10450329605257866924/qlogging.h:164:9`!() <<cxx . . $ QDebug#`operator<<`(d8a917b173851aad). Q_FUNC_INFOcxx . . $ `<external>/4507883856836070869/qcompilerdetection.h:240:11`! <<cxx . . $ QDebug#`operator<<`(4cf17434affdd8). errorMessage;
223 return;
224 }
225
226 int propertyIndex = metaObjectcxx . . $ DBusExtendedAbstractInterface#metaObject(216d4151dd9c9333).()->indexOfPropertycxx . . $ QMetaObject#indexOfProperty(78f035161ffa9fe2).(propname);
227
228 if (-1 == propertyIndex) {
229 QStringcxx . . $ QString# errorMessage = QStringLiteralcxx . . $ `<external>/2817157206922689722/qstringliteral.h:65:9`!("Got unknown property \"%1\" to write")
230 .argcxx . . $ QString#arg(bc823072288cbbb5).(QStringcxx . . $ QString#::fromLatin1cxx . . $ QString#fromLatin1(5ac70cc0fa2a874e).(propname));
231 m_lastExtendedErrorcxx . . $ DBusExtendedAbstractInterface#m_lastExtendedError. =cxx . . $ QDBusError#`operator=`(84362b55f4568b33). QDBusMessagecxx . . $ QDBusMessage#::createErrorcxx . . $ QDBusMessage#createError(5cd9bc61d5b5d5e5).(QDBusErrorcxx . . $ QDBusError#::Failedcxx . . $ QDBusError#Failed., errorMessage);
232 qWarningcxx . . $ `<external>/10450329605257866924/qlogging.h:166:9`!() <<cxx . . $ QDebug#`operator<<`(d8a917b173851aad). Q_FUNC_INFOcxx . . $ `<external>/4507883856836070869/qcompilerdetection.h:240:11`! <<cxx . . $ QDebug#`operator<<`(4cf17434affdd8). errorMessage;
233 return;
234 }
235
236 QMetaPropertycxx . . $ QMetaProperty# metaProperty = metaObjectcxx . . $ DBusExtendedAbstractInterface#metaObject(216d4151dd9c9333).()->propertycxx . . $ QMetaObject#property(6cb40d873d8cd22).(propertyIndex);
237
238 if (!metaProperty.isWritablecxx . . $ QMetaProperty#isWritable(50ce9a9e25b4a850).()) {
239 QStringcxx . . $ QString# errorMessage = QStringLiteralcxx . . $ `<external>/2817157206922689722/qstringliteral.h:65:9`!("Property \"%1\" is NOT writable")
240 .argcxx . . $ QString#arg(bc823072288cbbb5).(QStringcxx . . $ QString#::fromLatin1cxx . . $ QString#fromLatin1(5ac70cc0fa2a874e).(propname));
241 m_lastExtendedErrorcxx . . $ DBusExtendedAbstractInterface#m_lastExtendedError. =cxx . . $ QDBusError#`operator=`(84362b55f4568b33). QDBusMessagecxx . . $ QDBusMessage#::createErrorcxx . . $ QDBusMessage#createError(5cd9bc61d5b5d5e5).(QDBusErrorcxx . . $ QDBusError#::Failedcxx . . $ QDBusError#Failed., errorMessage);
242 qWarningcxx . . $ `<external>/10450329605257866924/qlogging.h:166:9`!() <<cxx . . $ QDebug#`operator<<`(d8a917b173851aad). Q_FUNC_INFOcxx . . $ `<external>/4507883856836070869/qcompilerdetection.h:240:11`! <<cxx . . $ QDebug#`operator<<`(4cf17434affdd8). errorMessage;
243 return;
244 }
245
246 asyncSetPropertycxx . . $ DBusExtendedAbstractInterface#asyncSetProperty(1c60a90c724e6bfb).(propnamecxx . . $ QString#QString(85c52e162fed56f9)., QVariantcxx . . $ QVariant#QVariant(c36afc64ff8dfc2e).(metaProperty.typecxx . . $ QMetaProperty#type(5e54638cd06c4ff1).(), propertyPtr));
247 }
248 }
249
250 QVariantcxx . . $ QVariant# DBusExtendedAbstractInterfacecxx . . $ DBusExtendedAbstractInterface#::asyncPropertycxx . . $ DBusExtendedAbstractInterface#asyncProperty(31fe9d5170203011).(const QStringcxx . . $ QString# &propertyName)
251 {
252 QDBusMessagecxx . . $ QDBusMessage# msg = QDBusMessagecxx . . $ QDBusMessage#::createMethodCallcxx . . $ QDBusMessage#createMethodCall(53922711d019cf27).(servicecxx . . $ QDBusAbstractInterface#service(6ef7b6c27b00b43d).(), pathcxx . . $ QDBusAbstractInterface#path(6ef7b6c27b00b43d).(), *cxx . . $ QString#QString(45672f3c6961a244).dBusPropertiesInterfacecxx . . $ dBusPropertiesInterface.(cxx . . $ QGlobalStatic#`operator()`(155dc7f103cdb9db).), QStringLiteralcxx . . $ `<external>/2817157206922689722/qstringliteral.h:65:9`!("Get"));
253 msg <<cxx . . $ QDBusMessage#`operator<<`(ef5601b8018cb889). interfacecxx . . $ QVariant#QVariant(3520e46b33348bf6).() <<cxx . . $ QDBusMessage#`operator<<`(ef5601b8018cb889). propertyNamecxx . . $ QVariant#QVariant(3520e46b33348bf6).;
254 QDBusPendingReplycxx . . $ QDBusPendingReply#<QVariantcxx . . $ QVariant#> async = connectioncxx . . $ QDBusPendingReply#QDBusPendingReply(8091e1e063dfdcb5).().asyncCallcxx . . $ QDBusConnection#asyncCall(736a370b23ad872a).(msg);
255 DBusExtendedPendingCallWatchercxx . . $ DBusExtendedPendingCallWatcher# *watcher = new DBusExtendedPendingCallWatchercxx . . $ DBusExtendedPendingCallWatcher#(async, propertyName, QVariantcxx . . $ QVariant#QVariant(ced63f7c635d850d).(), this);
256
257 connectcxx . . $ QObject#connect(158df1d9a01a3410).(watcher, SIGNALcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:271:10`!(finished(QDBusPendingCallWatcher*)), this, SLOTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:270:10`!(onAsyncPropertyFinished(QDBusPendingCallWatcher*)));
258
259 return QVariantcxx . . $ QVariant#QVariant(ced63f7c635d850d).();
260 }
261
262 void DBusExtendedAbstractInterfacecxx . . $ DBusExtendedAbstractInterface#::asyncSetPropertycxx . . $ DBusExtendedAbstractInterface#asyncSetProperty(1c60a90c724e6bfb).(const QStringcxx . . $ QString# &propertyName, const QVariantcxx . . $ QVariant# &value)
263 {
264 QDBusMessagecxx . . $ QDBusMessage# msg = QDBusMessagecxx . . $ QDBusMessage#::createMethodCallcxx . . $ QDBusMessage#createMethodCall(53922711d019cf27).(servicecxx . . $ QDBusAbstractInterface#service(6ef7b6c27b00b43d).(), pathcxx . . $ QDBusAbstractInterface#path(6ef7b6c27b00b43d).(), *cxx . . $ QString#QString(45672f3c6961a244).dBusPropertiesInterfacecxx . . $ dBusPropertiesInterface.(cxx . . $ QGlobalStatic#`operator()`(155dc7f103cdb9db).), QStringLiteralcxx . . $ `<external>/2817157206922689722/qstringliteral.h:65:9`!("Set"));
265 msg <<cxx . . $ QDBusMessage#`operator<<`(ef5601b8018cb889). interfacecxx . . $ QVariant#QVariant(3520e46b33348bf6).() <<cxx . . $ QDBusMessage#`operator<<`(ef5601b8018cb889). propertyNamecxx . . $ QVariant#QVariant(3520e46b33348bf6). <<cxx . . $ QDBusMessage#`operator<<`(ef5601b8018cb889). value;
266 QDBusPendingReplycxx . . $ QDBusPendingReply#<QVariantcxx . . $ QVariant#> async = connectioncxx . . $ QDBusPendingReply#QDBusPendingReply(8091e1e063dfdcb5).().asyncCallcxx . . $ QDBusConnection#asyncCall(736a370b23ad872a).(msg);
267 DBusExtendedPendingCallWatchercxx . . $ DBusExtendedPendingCallWatcher# *watcher = new DBusExtendedPendingCallWatchercxx . . $ DBusExtendedPendingCallWatcher#(async, propertyName, value, this);
268
269 connectcxx . . $ QObject#connect(158df1d9a01a3410).(watcher, SIGNALcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:271:10`!(finished(QDBusPendingCallWatcher*)), this, SLOTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:270:10`!(onAsyncSetPropertyFinished(QDBusPendingCallWatcher*)));
270 }
271
272 void DBusExtendedAbstractInterfacecxx . . $ DBusExtendedAbstractInterface#::onAsyncPropertyFinishedcxx . . $ DBusExtendedAbstractInterface#onAsyncPropertyFinished(8570ac63cd6291f5).(DBusExtendedPendingCallWatchercxx . . $ DBusExtendedPendingCallWatcher# *watcher)
273 {
274 QDBusPendingReplycxx . . $ QDBusPendingReply#<QVariantcxx . . $ QVariant#> reply = *cxx . . $ QDBusPendingReply#QDBusPendingReply(8091e1e063dfdcb5).watcher;
275
276 if (reply.isErrorcxx . . $ QDBusPendingCall#isError(50ce9a9e25b4a850).()) {
277 m_lastExtendedErrorcxx . . $ DBusExtendedAbstractInterface#m_lastExtendedError. =cxx . . $ QDBusError#`operator=`(fe61bee42c190117). reply.errorcxx . . $ QDBusPendingCall#error(1d9100e4f448fa26).();
278 } else {
279 int propertyIndex = metaObjectcxx . . $ DBusExtendedAbstractInterface#metaObject(216d4151dd9c9333).()->indexOfPropertycxx . . $ QMetaObject#indexOfProperty(78f035161ffa9fe2).(watcher->asyncPropertycxx . . $ DBusExtendedPendingCallWatcher#asyncProperty(6ef7b6c27b00b43d).().toLatin1cxx . . $ QString#toLatin1(7c2073558a834e49).().constDatacxx . . $ QByteArray#constData(a9f41ea0e82d88cf).());
280 QVariantcxx . . $ QVariant# value = demarshallcxx . . $ DBusExtendedAbstractInterface#demarshall(93a7e654a64dd292).(interfacecxx . . $ QDBusAbstractInterface#interface(6ef7b6c27b00b43d).(),
281 metaObjectcxx . . $ DBusExtendedAbstractInterface#metaObject(216d4151dd9c9333).()->propertycxx . . $ QMetaObject#property(6cb40d873d8cd22).(propertyIndex),
282 reply.valuecxx . . $ QDBusPendingReply#value(10b2d146760e3f94).(),
283 &m_lastExtendedErrorcxx . . $ DBusExtendedAbstractInterface#m_lastExtendedError.);
284
285 if (m_lastExtendedErrorcxx . . $ DBusExtendedAbstractInterface#m_lastExtendedError..isValidcxx . . $ QDBusError#isValid(50ce9a9e25b4a850).()) {
286 emitcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:97:10`! propertyInvalidatedcxx . . $ DBusExtendedAbstractInterface#propertyInvalidated(3520e46b33348bf6).(watcher->asyncPropertycxx . . $ DBusExtendedPendingCallWatcher#asyncProperty(6ef7b6c27b00b43d).());
287 } else {
288 emitcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:97:10`! propertyChangedcxx . . $ DBusExtendedAbstractInterface#propertyChanged(1c60a90c724e6bfb).(watcher->asyncPropertycxx . . $ DBusExtendedPendingCallWatcher#asyncProperty(6ef7b6c27b00b43d).(), value);
289 }
290 }
291
292 emitcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:97:10`! asyncPropertyFinishedcxx . . $ DBusExtendedAbstractInterface#asyncPropertyFinished(3520e46b33348bf6).(watcher->asyncPropertycxx . . $ DBusExtendedPendingCallWatcher#asyncProperty(6ef7b6c27b00b43d).());
293 watcher->deleteLatercxx . . $ QObject#deleteLater(49f6e7a06ebc5aa8).();
294 }
295
296 void DBusExtendedAbstractInterfacecxx . . $ DBusExtendedAbstractInterface#::onAsyncSetPropertyFinishedcxx . . $ DBusExtendedAbstractInterface#onAsyncSetPropertyFinished(8570ac63cd6291f5).(DBusExtendedPendingCallWatchercxx . . $ DBusExtendedPendingCallWatcher# *watcher)
297 {
298 QDBusPendingReplycxx . . $ QDBusPendingReply#<QVariantcxx . . $ QVariant#> reply = *cxx . . $ QDBusPendingReply#QDBusPendingReply(8091e1e063dfdcb5).watcher;
299
300 if (reply.isErrorcxx . . $ QDBusPendingCall#isError(50ce9a9e25b4a850).()) {
301 m_lastExtendedErrorcxx . . $ DBusExtendedAbstractInterface#m_lastExtendedError. =cxx . . $ QDBusError#`operator=`(fe61bee42c190117). reply.errorcxx . . $ QDBusPendingCall#error(1d9100e4f448fa26).();
302 } else {
303 m_lastExtendedErrorcxx . . $ DBusExtendedAbstractInterface#m_lastExtendedError. =cxx . . $ QDBusError#`operator=`(fe61bee42c190117). QDBusErrorcxx . . $ QDBusError#QDBusError(49f6e7a06ebc5aa8).();
304 }
305
306 emitcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:97:10`! asyncSetPropertyFinishedcxx . . $ DBusExtendedAbstractInterface#asyncSetPropertyFinished(3520e46b33348bf6).(watcher->asyncPropertycxx . . $ DBusExtendedPendingCallWatcher#asyncProperty(6ef7b6c27b00b43d).());
307
308 // Resetting the property to its previous value after sending the
309 // finished signal
310 if (reply.isErrorcxx . . $ QDBusPendingCall#isError(50ce9a9e25b4a850).()) {
311 m_lastExtendedErrorcxx . . $ DBusExtendedAbstractInterface#m_lastExtendedError. =cxx . . $ QDBusError#`operator=`(fe61bee42c190117). QDBusErrorcxx . . $ QDBusError#QDBusError(49f6e7a06ebc5aa8).();
312 emitcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:97:10`! propertyChangedcxx . . $ DBusExtendedAbstractInterface#propertyChanged(1c60a90c724e6bfb).(watcher->asyncPropertycxx . . $ DBusExtendedPendingCallWatcher#asyncProperty(6ef7b6c27b00b43d).(), watcher->previousValuecxx . . $ DBusExtendedPendingCallWatcher#previousValue(23280f95d1ccaa1f).());
313 }
314
315 watcher->deleteLatercxx . . $ QObject#deleteLater(49f6e7a06ebc5aa8).();
316 }
317
318 void DBusExtendedAbstractInterfacecxx . . $ DBusExtendedAbstractInterface#::onAsyncGetAllPropertiesFinishedcxx . . $ DBusExtendedAbstractInterface#onAsyncGetAllPropertiesFinished(d27dd7c217027f21).(QDBusPendingCallWatchercxx . . $ QDBusPendingCallWatcher# *watcher)
319 {
320 m_getAllPendingCallWatchercxx . . $ DBusExtendedAbstractInterface#m_getAllPendingCallWatcher. = 0;
321
322 QDBusPendingReplycxx . . $ QDBusPendingReply#<QVariantMapcxx . . $ QVariantMap#> reply = *cxx . . $ QDBusPendingReply#QDBusPendingReply(8091e1e063dfdcb5).watcher;
323
324 if (reply.isErrorcxx . . $ QDBusPendingCall#isError(50ce9a9e25b4a850).()) {
325 m_lastExtendedErrorcxx . . $ DBusExtendedAbstractInterface#m_lastExtendedError. =cxx . . $ QDBusError#`operator=`(fe61bee42c190117). reply.errorcxx . . $ QDBusPendingCall#error(1d9100e4f448fa26).();
326 } else {
327 m_lastExtendedErrorcxx . . $ DBusExtendedAbstractInterface#m_lastExtendedError. =cxx . . $ QDBusError#`operator=`(fe61bee42c190117). QDBusErrorcxx . . $ QDBusError#QDBusError(49f6e7a06ebc5aa8).();
328 }
329
330 emitcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:97:10`! asyncGetAllPropertiesFinishedcxx . . $ DBusExtendedAbstractInterface#asyncGetAllPropertiesFinished(49f6e7a06ebc5aa8).();
331
332 if (!reply.isErrorcxx . . $ QDBusPendingCall#isError(50ce9a9e25b4a850).()) {
333 onPropertiesChangedcxx . . $ DBusExtendedAbstractInterface#onPropertiesChanged(e3268743089caef9).(interfacecxx . . $ QDBusAbstractInterface#interface(6ef7b6c27b00b43d).(), reply.valuecxx . . $ QDBusPendingReply#value(10b2d146760e3f94).(), QStringListcxx . . $ QStringList#QStringList(ced63f7c635d850d).());
334 }
335
336 watcher->deleteLatercxx . . $ QObject#deleteLater(49f6e7a06ebc5aa8).();
337 }
338
339 void DBusExtendedAbstractInterfacecxx . . $ DBusExtendedAbstractInterface#::onPropertiesChangedcxx . . $ DBusExtendedAbstractInterface#onPropertiesChanged(e3268743089caef9).(const QStringcxx . . $ QString#& interfaceName,
340 const QVariantMapcxx . . $ QVariantMap#& changedProperties,
341 const QStringListcxx . . $ QStringList#& invalidatedProperties)
342 {
343 if (interfaceName ==cxx . . $ `operator==`(5bc2975d2d751687). interfacecxx . . $ QDBusAbstractInterface#interface(6ef7b6c27b00b43d).()) {
344 QVariantMapcxx . . $ QVariantMap#::const_iteratorcxx . . $ QMap#const_iterator# i = changedProperties.constBegincxx . . $ QMap#constBegin(81a977e5fd18ea74).();
345 while (i !=cxx . . $ QMap#const_iterator#`operator!=`(afb29c289d8ce2db). changedProperties.constEndcxx . . $ QMap#constEnd(81a977e5fd18ea74).()) {
346 int propertyIndex = metaObjectcxx . . $ DBusExtendedAbstractInterface#metaObject(216d4151dd9c9333).()->indexOfPropertycxx . . $ QMetaObject#indexOfProperty(78f035161ffa9fe2).(i.keycxx . . $ QMap#const_iterator#key(ea465e50d690edfe).().toLatin1cxx . . $ QString#toLatin1(ef52b713090bc85a).().constDatacxx . . $ QByteArray#constData(a9f41ea0e82d88cf).());
347
348 if (-1 == propertyIndex) {
349 qDebugcxx . . $ `<external>/10450329605257866924/qlogging.h:164:9`!() <<cxx . . $ QDebug#`operator<<`(d8a917b173851aad). Q_FUNC_INFOcxx . . $ `<external>/4507883856836070869/qcompilerdetection.h:240:11`! <<cxx . . $ QDebug#`operator<<`(d8a917b173851aad). "Got unknown changed property" <<cxx . . $ QDebug#`operator<<`(4cf17434affdd8). i.keycxx . . $ QMap#const_iterator#key(ea465e50d690edfe).();
350 } else {
351 QVariantcxx . . $ QVariant# value = demarshallcxx . . $ DBusExtendedAbstractInterface#demarshall(93a7e654a64dd292).(interfacecxx . . $ QDBusAbstractInterface#interface(6ef7b6c27b00b43d).(), metaObjectcxx . . $ DBusExtendedAbstractInterface#metaObject(216d4151dd9c9333).()->propertycxx . . $ QMetaObject#property(6cb40d873d8cd22).(propertyIndex), i.valuecxx . . $ QMap#const_iterator#value(bdbd05d619d62250).(), &m_lastExtendedErrorcxx . . $ DBusExtendedAbstractInterface#m_lastExtendedError.);
352
353 if (m_lastExtendedErrorcxx . . $ DBusExtendedAbstractInterface#m_lastExtendedError..isValidcxx . . $ QDBusError#isValid(50ce9a9e25b4a850).()) {
354 emitcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:97:10`! propertyInvalidatedcxx . . $ DBusExtendedAbstractInterface#propertyInvalidated(3520e46b33348bf6).(i.keycxx . . $ QMap#const_iterator#key(ea465e50d690edfe).());
355 } else {
356 emitcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:97:10`! propertyChangedcxx . . $ DBusExtendedAbstractInterface#propertyChanged(1c60a90c724e6bfb).(i.keycxx . . $ QMap#const_iterator#key(ea465e50d690edfe).(), value);
357 }
358 }
359
360 ++cxx . . $ QMap#const_iterator#operator++(535153adf4c12c2).i;
361 }
362
363 QStringListcxx . . $ QStringList#::const_iteratorcxx . . $ QList#const_iterator# j = invalidatedProperties.constBegincxx . . $ QList#constBegin(84b7b73c4fb47a00).();
364 while (j !=cxx . . $ QList#const_iterator#`operator!=`(18681b9804797606). invalidatedProperties.constEndcxx . . $ QList#constEnd(84b7b73c4fb47a00).()) {
365 if (-1 == metaObjectcxx . . $ DBusExtendedAbstractInterface#metaObject(216d4151dd9c9333).()->indexOfPropertycxx . . $ QMetaObject#indexOfProperty(78f035161ffa9fe2).(j->cxx . . $ QList#const_iterator#`operator->`(1016ee5406d91ab9).toLatin1cxx . . $ QString#toLatin1(ef52b713090bc85a).().constDatacxx . . $ QByteArray#constData(a9f41ea0e82d88cf).())) {
366 qDebugcxx . . $ `<external>/10450329605257866924/qlogging.h:164:9`!() <<cxx . . $ QDebug#`operator<<`(d8a917b173851aad). Q_FUNC_INFOcxx . . $ `<external>/4507883856836070869/qcompilerdetection.h:240:11`! <<cxx . . $ QDebug#`operator<<`(d8a917b173851aad). "Got unknown invalidated property" <<cxx . . $ QDebug#`operator<<`(4cf17434affdd8). *cxx . . $ QList#const_iterator#`operator*`(ea465e50d690edfe).j;
367 } else {
368 m_lastExtendedErrorcxx . . $ DBusExtendedAbstractInterface#m_lastExtendedError. =cxx . . $ QDBusError#`operator=`(fe61bee42c190117). QDBusErrorcxx . . $ QDBusError#QDBusError(49f6e7a06ebc5aa8).();
369 emitcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:97:10`! propertyInvalidatedcxx . . $ DBusExtendedAbstractInterface#propertyInvalidated(3520e46b33348bf6).(*cxx . . $ QList#const_iterator#`operator*`(ea465e50d690edfe).j);
370 }
371
372 ++cxx . . $ QList#const_iterator#operator++(b8ec5848ade221bd).j;
373 }
374 }
375 }
376
377 QVariantcxx . . $ QVariant# DBusExtendedAbstractInterfacecxx . . $ DBusExtendedAbstractInterface#::demarshallcxx . . $ DBusExtendedAbstractInterface#demarshall(93a7e654a64dd292).(const QStringcxx . . $ QString# &interface, const QMetaPropertycxx . . $ QMetaProperty# &metaProperty, const QVariantcxx . . $ QVariant# &value, QDBusErrorcxx . . $ QDBusError# *error)
378 {
379 Q_ASSERTcxx . . $ `<external>/15045578679651060896/qglobal.h:859:13`!(metaProperty.isValid());
380 Q_ASSERTcxx . . $ `<external>/15045578679651060896/qglobal.h:859:13`!(error != 0);
381
382 if (value.userTypecxx . . $ QVariant#userType(455f465bc33b4cdf).() == metaProperty.userTypecxx . . $ QMetaProperty#userType(455f465bc33b4cdf).()) {
383 // No need demarshalling. Passing back straight away ...
384 *error =cxx . . $ QDBusError#`operator=`(fe61bee42c190117). QDBusErrorcxx . . $ QDBusError#QDBusError(49f6e7a06ebc5aa8).();
385 return valuecxx . . $ QVariant#QVariant(244511558b20107a).;
386 }
387
388 QVariantcxx . . $ QVariant# result = QVariantcxx . . $ QVariant#QVariant(c36afc64ff8dfc2e).(metaProperty.userTypecxx . . $ QMetaProperty#userType(455f465bc33b4cdf).(), (void*)0);
389 QStringcxx . . $ QString# errorMessagecxx . . $ QString#QString(ced63f7c635d850d).;
390 const char *expectedSignature = QDBusMetaTypecxx . . $ QDBusMetaType#::typeToSignaturecxx . . $ QDBusMetaType#typeToSignature(f7ae7e56280f18ae).(metaProperty.userTypecxx . . $ QMetaProperty#userType(455f465bc33b4cdf).());
391
392 if (value.userTypecxx . . $ QVariant#userType(455f465bc33b4cdf).() == qMetaTypeIdcxx . . $ qMetaTypeId(b126dc7c1de90089).<QDBusArgumentcxx . . $ QDBusArgument#>()) {
393 // demarshalling a DBus argument ...
394 QDBusArgumentcxx . . $ QDBusArgument# dbusArg = value.valuecxx . . $ QVariant#value(8f5363d873dd4781).<QDBusArgumentcxx . . $ QDBusArgument#>();
395
396 if (expectedSignature ==cxx . . $ `operator==`(7f8c956aa5fcf267). dbusArg.currentSignaturecxx . . $ QDBusArgument#currentSignature(6ef7b6c27b00b43d).().toLatin1cxx . . $ QString#toLatin1(7c2073558a834e49).()) {
397 QDBusMetaTypecxx . . $ QDBusMetaType#::demarshallcxx . . $ QDBusMetaType#demarshall(27d006813619782c).(dbusArg, metaProperty.userTypecxx . . $ QMetaProperty#userType(455f465bc33b4cdf).(), result.datacxx . . $ QVariant#data(50c7df7de5344ebb).());
398 if (!result.isValidcxx . . $ QVariant#isValid(50ce9a9e25b4a850).()) {
399 errorMessage =cxx . . $ QString#`operator=`(4f35bf974e7f8568). QStringLiteralcxx . . $ `<external>/2817157206922689722/qstringliteral.h:65:9`!("Unexpected failure demarshalling "
400 "upon PropertiesChanged signal arrival "
401 "for property `%3.%4' (expected type `%5' (%6))")
402 .argcxx . . $ QString#arg(ec0c7a4bb7c7a5fe).(interface,
403 QStringcxx . . $ QString#::fromLatin1cxx . . $ QString#fromLatin1(5ac70cc0fa2a874e).(metaProperty.namecxx . . $ QMetaProperty#name(a9f41ea0e82d88cf).()),
404 QStringcxx . . $ QString#::fromLatin1cxx . . $ QString#fromLatin1(5ac70cc0fa2a874e).(metaProperty.typeNamecxx . . $ QMetaProperty#typeName(a9f41ea0e82d88cf).()),
405 expectedSignature);
406 }
407 } else {
408 errorMessage =cxx . . $ QString#`operator=`(4f35bf974e7f8568). QStringLiteralcxx . . $ `<external>/2817157206922689722/qstringliteral.h:65:9`!("Unexpected `user type' (%2) "
409 "upon PropertiesChanged signal arrival "
410 "for property `%3.%4' (expected type `%5' (%6))")
411 .argcxx . . $ QString#arg(ec0c7a4bb7c7a5fe).(dbusArg.currentSignaturecxx . . $ QDBusArgument#currentSignature(6ef7b6c27b00b43d).(),
412 interface,
413 QStringcxx . . $ QString#::fromLatin1cxx . . $ QString#fromLatin1(5ac70cc0fa2a874e).(metaProperty.namecxx . . $ QMetaProperty#name(a9f41ea0e82d88cf).()),
414 QStringcxx . . $ QString#::fromLatin1cxx . . $ QString#fromLatin1(5ac70cc0fa2a874e).(metaProperty.typeNamecxx . . $ QMetaProperty#typeName(a9f41ea0e82d88cf).()),
415 QStringcxx . . $ QString#::fromLatin1cxx . . $ QString#fromLatin1(5ac70cc0fa2a874e).(expectedSignature));
416 }
417 } else {
418 const char *actualSignature = QDBusMetaTypecxx . . $ QDBusMetaType#::typeToSignaturecxx . . $ QDBusMetaType#typeToSignature(f7ae7e56280f18ae).(value.userTypecxx . . $ QVariant#userType(455f465bc33b4cdf).());
419
420 errorMessage =cxx . . $ QString#`operator=`(4f35bf974e7f8568). QStringLiteralcxx . . $ `<external>/2817157206922689722/qstringliteral.h:65:9`!("Unexpected `%1' (%2) "
421 "upon PropertiesChanged signal arrival "
422 "for property `%3.%4' (expected type `%5' (%6))")
423 .argcxx . . $ QString#arg(ec0c7a4bb7c7a5fe).(QStringcxx . . $ QString#::fromLatin1cxx . . $ QString#fromLatin1(5ac70cc0fa2a874e).(value.typeNamecxx . . $ QVariant#typeName(a9f41ea0e82d88cf).()),
424 QStringcxx . . $ QString#::fromLatin1cxx . . $ QString#fromLatin1(5ac70cc0fa2a874e).(actualSignature),
425 interface,
426 QStringcxx . . $ QString#::fromLatin1cxx . . $ QString#fromLatin1(5ac70cc0fa2a874e).(metaProperty.namecxx . . $ QMetaProperty#name(a9f41ea0e82d88cf).()),
427 QStringcxx . . $ QString#::fromLatin1cxx . . $ QString#fromLatin1(5ac70cc0fa2a874e).(metaProperty.typeNamecxx . . $ QMetaProperty#typeName(a9f41ea0e82d88cf).()),
428 QStringcxx . . $ QString#::fromLatin1cxx . . $ QString#fromLatin1(5ac70cc0fa2a874e).(expectedSignature));
429 }
430
431 if (errorMessage.isEmptycxx . . $ QString#isEmpty(50ce9a9e25b4a850).()) {
432 *error =cxx . . $ QDBusError#`operator=`(fe61bee42c190117). QDBusErrorcxx . . $ QDBusError#QDBusError(49f6e7a06ebc5aa8).();
433 } else {
434 *error =cxx . . $ QDBusError#`operator=`(84362b55f4568b33). QDBusMessagecxx . . $ QDBusMessage#::createErrorcxx . . $ QDBusMessage#createError(5cd9bc61d5b5d5e5).(QDBusErrorcxx . . $ QDBusError#::InvalidSignaturecxx . . $ QDBusError#InvalidSignature., errorMessage);
435 qDebugcxx . . $ `<external>/10450329605257866924/qlogging.h:164:9`!() <<cxx . . $ QDebug#`operator<<`(d8a917b173851aad). Q_FUNC_INFOcxx . . $ `<external>/4507883856836070869/qcompilerdetection.h:240:11`! <<cxx . . $ QDebug#`operator<<`(4cf17434affdd8). errorMessage;
436 }
437
438 return resultcxx . . $ QVariant#QVariant(2a36e1ab31ea8e36).;
439 }