qdbusconnectioninterface.cpp

Absolute File Name:/home/qt/qt5_coco/qt5/qtbase/src/dbus/qdbusconnectioninterface.cpp
Switch to Source codePreprocessed file
LineSourceCount
1-
2-
3-
4-
5-
6-
7const char *QDBusConnectionInterface::staticInterfaceName()-
8{ return
never executed: return "org.freedesktop.DBus";
"org.freedesktop.DBus";
never executed: return "org.freedesktop.DBus";
}
0
9-
10-
11-
12-
13QDBusConnectionInterface::QDBusConnectionInterface(const QDBusConnection &connection,-
14 QObject *parent)-
15 : QDBusAbstractInterface(QDBusUtil::dbusService(),-
16 QDBusUtil::dbusPath(),-
17 "org.freedesktop.DBus", connection, parent)-
18{-
19 connect(this, &QDBusConnectionInterface::NameAcquired, this, &QDBusConnectionInterface::serviceRegistered);-
20 connect(this, &QDBusConnectionInterface::NameLost, this, &QDBusConnectionInterface::serviceUnregistered);-
21 connect(this, &QDBusConnectionInterface::NameOwnerChanged,-
22 this, &QDBusConnectionInterface::serviceOwnerChanged);-
23}
executed 326 times by 160 tests: end of block
Executed by:
  • tst_Gestures
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractButton
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QApplication
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QDataWidgetMapper
  • tst_QDateTimeEdit
  • tst_QDesktopWidget
  • ...
326
24-
25-
26-
27-
28QDBusConnectionInterface::~QDBusConnectionInterface()-
29{-
30}-
31-
32-
33-
34-
35-
36-
37QDBusReply<QString> QDBusConnectionInterface::serviceOwner(const QString &name) const-
38{-
39 return
never executed: return internalConstCall(QDBus::AutoDetect, QLatin1String("GetNameOwner"), QList<QVariant>() << name);
internalConstCall(QDBus::AutoDetect, QLatin1String("GetNameOwner"), QList<QVariant>() << name);
never executed: return internalConstCall(QDBus::AutoDetect, QLatin1String("GetNameOwner"), QList<QVariant>() << name);
0
40}-
41-
42-
43-
44-
45-
46-
47-
48QDBusReply<QStringList> QDBusConnectionInterface::registeredServiceNames() const-
49{-
50 return
executed 3 times by 1 test: return internalConstCall(QDBus::AutoDetect, QLatin1String("ListNames"));
Executed by:
  • tst_qdbusthreading - unknown status
internalConstCall(QDBus::AutoDetect, QLatin1String("ListNames"));
executed 3 times by 1 test: return internalConstCall(QDBus::AutoDetect, QLatin1String("ListNames"));
Executed by:
  • tst_qdbusthreading - unknown status
3
51}-
52-
53-
54-
55-
56-
57QDBusReply<bool> QDBusConnectionInterface::isServiceRegistered(const QString &serviceName) const-
58{-
59 return
executed 239 times by 149 tests: return internalConstCall(QDBus::AutoDetect, QLatin1String("NameHasOwner"), QList<QVariant>() << serviceName);
Executed by:
  • tst_Gestures
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractButton
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QApplication
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QDataWidgetMapper
  • tst_QDateTimeEdit
  • tst_QDesktopWidget
  • ...
internalConstCall(QDBus::AutoDetect, QLatin1String("NameHasOwner"),
executed 239 times by 149 tests: return internalConstCall(QDBus::AutoDetect, QLatin1String("NameHasOwner"), QList<QVariant>() << serviceName);
Executed by:
  • tst_Gestures
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractButton
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QApplication
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QDataWidgetMapper
  • tst_QDateTimeEdit
  • tst_QDesktopWidget
  • ...
239
60 QList<QVariant>() << serviceName);
executed 239 times by 149 tests: return internalConstCall(QDBus::AutoDetect, QLatin1String("NameHasOwner"), QList<QVariant>() << serviceName);
Executed by:
  • tst_Gestures
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractButton
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QApplication
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QDataWidgetMapper
  • tst_QDateTimeEdit
  • tst_QDesktopWidget
  • ...
239
61}-
62-
63-
64-
65-
66-
67QDBusReply<uint> QDBusConnectionInterface::servicePid(const QString &serviceName) const-
68{-
69 return
never executed: return internalConstCall(QDBus::AutoDetect, QLatin1String("GetConnectionUnixProcessID"), QList<QVariant>() << serviceName);
internalConstCall(QDBus::AutoDetect, QLatin1String("GetConnectionUnixProcessID"),
never executed: return internalConstCall(QDBus::AutoDetect, QLatin1String("GetConnectionUnixProcessID"), QList<QVariant>() << serviceName);
0
70 QList<QVariant>() << serviceName);
never executed: return internalConstCall(QDBus::AutoDetect, QLatin1String("GetConnectionUnixProcessID"), QList<QVariant>() << serviceName);
0
71}-
72-
73-
74-
75-
76-
77QDBusReply<uint> QDBusConnectionInterface::serviceUid(const QString &serviceName) const-
78{-
79 return
never executed: return internalConstCall(QDBus::AutoDetect, QLatin1String("GetConnectionUnixUser"), QList<QVariant>() << serviceName);
internalConstCall(QDBus::AutoDetect, QLatin1String("GetConnectionUnixUser"),
never executed: return internalConstCall(QDBus::AutoDetect, QLatin1String("GetConnectionUnixUser"), QList<QVariant>() << serviceName);
0
80 QList<QVariant>() << serviceName);
never executed: return internalConstCall(QDBus::AutoDetect, QLatin1String("GetConnectionUnixUser"), QList<QVariant>() << serviceName);
0
81}-
82-
83-
84-
85-
86QDBusReply<void> QDBusConnectionInterface::startService(const QString &name)-
87{-
88 return
never executed: return call(QLatin1String("StartServiceByName"), name, uint(0));
call(QLatin1String("StartServiceByName"), name, uint(0));
never executed: return call(QLatin1String("StartServiceByName"), name, uint(0));
0
89}-
90QDBusReply<QDBusConnectionInterface::RegisterServiceReply>-
91QDBusConnectionInterface::registerService(const QString &serviceName,-
92 ServiceQueueOptions qoption,-
93 ServiceReplacementOptions roption)-
94{-
95-
96 uint flags = 0;-
97 switch (qoption) {-
98 case
executed 31 times by 9 tests: case DontQueueService:
Executed by:
  • tst_qdbusabstractadaptor - unknown status
  • tst_qdbusabstractinterface - unknown status
  • tst_qdbusconnection - unknown status
  • tst_qdbusconnection_delayed - unknown status
  • tst_qdbusconnection_no_app - unknown status
  • tst_qdbusconnection_spyhook - unknown status
  • tst_qdbusinterface - unknown status
  • tst_qdbusmarshall - unknown status
  • tst_qdbusservicewatcher - unknown status
DontQueueService:
executed 31 times by 9 tests: case DontQueueService:
Executed by:
  • tst_qdbusabstractadaptor - unknown status
  • tst_qdbusabstractinterface - unknown status
  • tst_qdbusconnection - unknown status
  • tst_qdbusconnection_delayed - unknown status
  • tst_qdbusconnection_no_app - unknown status
  • tst_qdbusconnection_spyhook - unknown status
  • tst_qdbusinterface - unknown status
  • tst_qdbusmarshall - unknown status
  • tst_qdbusservicewatcher - unknown status
31
99 flags = 0x4;-
100 break;
executed 31 times by 9 tests: break;
Executed by:
  • tst_qdbusabstractadaptor - unknown status
  • tst_qdbusabstractinterface - unknown status
  • tst_qdbusconnection - unknown status
  • tst_qdbusconnection_delayed - unknown status
  • tst_qdbusconnection_no_app - unknown status
  • tst_qdbusconnection_spyhook - unknown status
  • tst_qdbusinterface - unknown status
  • tst_qdbusmarshall - unknown status
  • tst_qdbusservicewatcher - unknown status
31
101 case
never executed: case QueueService:
QueueService:
never executed: case QueueService:
0
102 flags = 0;-
103 break;
never executed: break;
0
104 case
never executed: case ReplaceExistingService:
ReplaceExistingService:
never executed: case ReplaceExistingService:
0
105 flags = 0x4 | 0x2;-
106 break;
never executed: break;
0
107 }-
108-
109 switch (roption) {-
110 case
executed 31 times by 9 tests: case DontAllowReplacement:
Executed by:
  • tst_qdbusabstractadaptor - unknown status
  • tst_qdbusabstractinterface - unknown status
  • tst_qdbusconnection - unknown status
  • tst_qdbusconnection_delayed - unknown status
  • tst_qdbusconnection_no_app - unknown status
  • tst_qdbusconnection_spyhook - unknown status
  • tst_qdbusinterface - unknown status
  • tst_qdbusmarshall - unknown status
  • tst_qdbusservicewatcher - unknown status
DontAllowReplacement:
executed 31 times by 9 tests: case DontAllowReplacement:
Executed by:
  • tst_qdbusabstractadaptor - unknown status
  • tst_qdbusabstractinterface - unknown status
  • tst_qdbusconnection - unknown status
  • tst_qdbusconnection_delayed - unknown status
  • tst_qdbusconnection_no_app - unknown status
  • tst_qdbusconnection_spyhook - unknown status
  • tst_qdbusinterface - unknown status
  • tst_qdbusmarshall - unknown status
  • tst_qdbusservicewatcher - unknown status
31
111 break;
executed 31 times by 9 tests: break;
Executed by:
  • tst_qdbusabstractadaptor - unknown status
  • tst_qdbusabstractinterface - unknown status
  • tst_qdbusconnection - unknown status
  • tst_qdbusconnection_delayed - unknown status
  • tst_qdbusconnection_no_app - unknown status
  • tst_qdbusconnection_spyhook - unknown status
  • tst_qdbusinterface - unknown status
  • tst_qdbusmarshall - unknown status
  • tst_qdbusservicewatcher - unknown status
31
112 case
never executed: case AllowReplacement:
AllowReplacement:
never executed: case AllowReplacement:
0
113 flags |= 0x1;-
114 break;
never executed: break;
0
115 }-
116-
117 QDBusMessage reply = call(QLatin1String("RequestName"), serviceName, flags);-
118-
119-
120-
121 if (reply.type() == QDBusMessage::ReplyMessage
reply.type() =...::ReplyMessageDescription
TRUEevaluated 31 times by 9 tests
Evaluated by:
  • tst_qdbusabstractadaptor - unknown status
  • tst_qdbusabstractinterface - unknown status
  • tst_qdbusconnection - unknown status
  • tst_qdbusconnection_delayed - unknown status
  • tst_qdbusconnection_no_app - unknown status
  • tst_qdbusconnection_spyhook - unknown status
  • tst_qdbusinterface - unknown status
  • tst_qdbusmarshall - unknown status
  • tst_qdbusservicewatcher - unknown status
FALSEnever evaluated
) {
0-31
122 uint code = 0;-
123-
124 switch (reply.arguments().at(0).toUInt()) {-
125 case
executed 25 times by 9 tests: case 1:
Executed by:
  • tst_qdbusabstractadaptor - unknown status
  • tst_qdbusabstractinterface - unknown status
  • tst_qdbusconnection - unknown status
  • tst_qdbusconnection_delayed - unknown status
  • tst_qdbusconnection_no_app - unknown status
  • tst_qdbusconnection_spyhook - unknown status
  • tst_qdbusinterface - unknown status
  • tst_qdbusmarshall - unknown status
  • tst_qdbusservicewatcher - unknown status
1:
executed 25 times by 9 tests: case 1:
Executed by:
  • tst_qdbusabstractadaptor - unknown status
  • tst_qdbusabstractinterface - unknown status
  • tst_qdbusconnection - unknown status
  • tst_qdbusconnection_delayed - unknown status
  • tst_qdbusconnection_no_app - unknown status
  • tst_qdbusconnection_spyhook - unknown status
  • tst_qdbusinterface - unknown status
  • tst_qdbusmarshall - unknown status
  • tst_qdbusservicewatcher - unknown status
25
126 case
executed 6 times by 1 test: case 4:
Executed by:
  • tst_qdbusabstractadaptor - unknown status
4:
executed 6 times by 1 test: case 4:
Executed by:
  • tst_qdbusabstractadaptor - unknown status
6
127 code = uint(ServiceRegistered);-
128 break;
executed 31 times by 9 tests: break;
Executed by:
  • tst_qdbusabstractadaptor - unknown status
  • tst_qdbusabstractinterface - unknown status
  • tst_qdbusconnection - unknown status
  • tst_qdbusconnection_delayed - unknown status
  • tst_qdbusconnection_no_app - unknown status
  • tst_qdbusconnection_spyhook - unknown status
  • tst_qdbusinterface - unknown status
  • tst_qdbusmarshall - unknown status
  • tst_qdbusservicewatcher - unknown status
31
129-
130 case
never executed: case 3:
3:
never executed: case 3:
0
131 code = uint(ServiceNotRegistered);-
132 break;
never executed: break;
0
133-
134 case
never executed: case 2:
2:
never executed: case 2:
0
135 code = uint(ServiceQueued);-
136 break;
never executed: break;
0
137 }-
138-
139 reply.setArguments(QVariantList() << code);-
140 }
executed 31 times by 9 tests: end of block
Executed by:
  • tst_qdbusabstractadaptor - unknown status
  • tst_qdbusabstractinterface - unknown status
  • tst_qdbusconnection - unknown status
  • tst_qdbusconnection_delayed - unknown status
  • tst_qdbusconnection_no_app - unknown status
  • tst_qdbusconnection_spyhook - unknown status
  • tst_qdbusinterface - unknown status
  • tst_qdbusmarshall - unknown status
  • tst_qdbusservicewatcher - unknown status
31
141-
142 return
executed 31 times by 9 tests: return reply;
Executed by:
  • tst_qdbusabstractadaptor - unknown status
  • tst_qdbusabstractinterface - unknown status
  • tst_qdbusconnection - unknown status
  • tst_qdbusconnection_delayed - unknown status
  • tst_qdbusconnection_no_app - unknown status
  • tst_qdbusconnection_spyhook - unknown status
  • tst_qdbusinterface - unknown status
  • tst_qdbusmarshall - unknown status
  • tst_qdbusservicewatcher - unknown status
reply;
executed 31 times by 9 tests: return reply;
Executed by:
  • tst_qdbusabstractadaptor - unknown status
  • tst_qdbusabstractinterface - unknown status
  • tst_qdbusconnection - unknown status
  • tst_qdbusconnection_delayed - unknown status
  • tst_qdbusconnection_no_app - unknown status
  • tst_qdbusconnection_spyhook - unknown status
  • tst_qdbusinterface - unknown status
  • tst_qdbusmarshall - unknown status
  • tst_qdbusservicewatcher - unknown status
31
143}-
144QDBusReply<bool>-
145QDBusConnectionInterface::unregisterService(const QString &serviceName)-
146{-
147 QDBusMessage reply = call(QLatin1String("ReleaseName"), serviceName);-
148 if (reply.type() == QDBusMessage::ReplyMessage
reply.type() =...::ReplyMessageDescription
TRUEevaluated 11 times by 4 tests
Evaluated by:
  • tst_qdbusabstractinterface - unknown status
  • tst_qdbusconnection - unknown status
  • tst_qdbusconnection_spyhook - unknown status
  • tst_qdbusservicewatcher - unknown status
FALSEnever evaluated
) {
0-11
149 bool success = reply.arguments().at(0).toUInt() == 1;-
150 reply.setArguments(QVariantList() << success);-
151 }
executed 11 times by 4 tests: end of block
Executed by:
  • tst_qdbusabstractinterface - unknown status
  • tst_qdbusconnection - unknown status
  • tst_qdbusconnection_spyhook - unknown status
  • tst_qdbusservicewatcher - unknown status
11
152 return
executed 11 times by 4 tests: return reply;
Executed by:
  • tst_qdbusabstractinterface - unknown status
  • tst_qdbusconnection - unknown status
  • tst_qdbusconnection_spyhook - unknown status
  • tst_qdbusservicewatcher - unknown status
reply;
executed 11 times by 4 tests: return reply;
Executed by:
  • tst_qdbusabstractinterface - unknown status
  • tst_qdbusconnection - unknown status
  • tst_qdbusconnection_spyhook - unknown status
  • tst_qdbusservicewatcher - unknown status
11
153}-
154-
155-
156-
157-
158void QDBusConnectionInterface::connectNotify(const QMetaMethod &signal)-
159{-
160-
161-
162 static const QMetaMethod serviceRegisteredSignal = QMetaMethod::fromSignal(&QDBusConnectionInterface::serviceRegistered);-
163 static const QMetaMethod serviceUnregisteredSignal = QMetaMethod::fromSignal(&QDBusConnectionInterface::serviceUnregistered);-
164 static const QMetaMethod serviceOwnerChangedSignal = QMetaMethod::fromSignal(&QDBusConnectionInterface::serviceOwnerChanged);-
165 static const QMetaMethod NameAcquiredSignal = QMetaMethod::fromSignal(&QDBusConnectionInterface::NameAcquired);-
166 static const QMetaMethod NameLostSignal = QMetaMethod::fromSignal(&QDBusConnectionInterface::NameLost);-
167 static const QMetaMethod NameOwnerChangedSignal = QMetaMethod::fromSignal(&QDBusConnectionInterface::NameOwnerChanged);-
168 if (signal == serviceRegisteredSignal
signal == serv...gisteredSignalDescription
TRUEnever evaluated
FALSEevaluated 980 times by 160 tests
Evaluated by:
  • tst_Gestures
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractButton
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QApplication
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QDataWidgetMapper
  • tst_QDateTimeEdit
  • tst_QDesktopWidget
  • ...
)
0-980
169 QDBusAbstractInterface::connectNotify(NameAcquiredSignal);
never executed: QDBusAbstractInterface::connectNotify(NameAcquiredSignal);
0
170-
171 else if (signal == serviceUnregisteredSignal
signal == serv...gisteredSignalDescription
TRUEnever evaluated
FALSEevaluated 980 times by 160 tests
Evaluated by:
  • tst_Gestures
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractButton
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QApplication
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QDataWidgetMapper
  • tst_QDateTimeEdit
  • tst_QDesktopWidget
  • ...
)
0-980
172 QDBusAbstractInterface::connectNotify(NameLostSignal);
never executed: QDBusAbstractInterface::connectNotify(NameLostSignal);
0
173-
174 else if (signal == serviceOwnerChangedSignal
signal == serv...rChangedSignalDescription
TRUEevaluated 1 time by 1 test
Evaluated by:
  • tst_qdbusinterface - unknown status
FALSEevaluated 979 times by 160 tests
Evaluated by:
  • tst_Gestures
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractButton
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QApplication
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QDataWidgetMapper
  • tst_QDateTimeEdit
  • tst_QDesktopWidget
  • ...
) {
1-979
175 static bool warningPrinted = false;-
176 if (!warningPrinted
!warningPrintedDescription
TRUEevaluated 1 time by 1 test
Evaluated by:
  • tst_qdbusinterface - unknown status
FALSEnever evaluated
) {
0-1
177 QMessageLogger(__FILE__, 349, __PRETTY_FUNCTION__).warning("Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)");-
178 warningPrinted = true;-
179 }
executed 1 time by 1 test: end of block
Executed by:
  • tst_qdbusinterface - unknown status
1
180 QDBusAbstractInterface::connectNotify(NameOwnerChangedSignal);-
181 }
executed 1 time by 1 test: end of block
Executed by:
  • tst_qdbusinterface - unknown status
1
182}
executed 980 times by 160 tests: end of block
Executed by:
  • tst_Gestures
  • tst_ModelTest
  • tst_NetworkSelfTest
  • tst_QAbstractButton
  • tst_QAbstractItemView
  • tst_QAbstractNetworkCache
  • tst_QAbstractScrollArea
  • tst_QAbstractSlider
  • tst_QAbstractSpinBox
  • tst_QAccessibility
  • tst_QAction
  • tst_QActionGroup
  • tst_QApplication
  • tst_QBackingStore
  • tst_QBoxLayout
  • tst_QButtonGroup
  • tst_QCalendarWidget
  • tst_QCheckBox
  • tst_QColorDialog
  • tst_QColumnView
  • tst_QComboBox
  • tst_QCommandLinkButton
  • tst_QDataWidgetMapper
  • tst_QDateTimeEdit
  • tst_QDesktopWidget
  • ...
980
183-
184-
185-
186-
187void QDBusConnectionInterface::disconnectNotify(const QMetaMethod &signal)-
188{-
189-
190-
191 static const QMetaMethod serviceRegisteredSignal = QMetaMethod::fromSignal(&QDBusConnectionInterface::serviceRegistered);-
192 static const QMetaMethod serviceUnregisteredSignal = QMetaMethod::fromSignal(&QDBusConnectionInterface::serviceUnregistered);-
193 static const QMetaMethod serviceOwnerChangedSignal = QMetaMethod::fromSignal(&QDBusConnectionInterface::serviceOwnerChanged);-
194 static const QMetaMethod NameAcquiredSignal = QMetaMethod::fromSignal(&QDBusConnectionInterface::NameAcquired);-
195 static const QMetaMethod NameLostSignal = QMetaMethod::fromSignal(&QDBusConnectionInterface::NameLost);-
196 static const QMetaMethod NameOwnerChangedSignal = QMetaMethod::fromSignal(&QDBusConnectionInterface::NameOwnerChanged);-
197 if (signal == serviceRegisteredSignal
signal == serv...gisteredSignalDescription
TRUEnever evaluated
FALSEevaluated 2 times by 1 test
Evaluated by:
  • tst_qdbusinterface - unknown status
)
0-2
198 QDBusAbstractInterface::disconnectNotify(NameAcquiredSignal);
never executed: QDBusAbstractInterface::disconnectNotify(NameAcquiredSignal);
0
199-
200 else if (signal == serviceUnregisteredSignal
signal == serv...gisteredSignalDescription
TRUEnever evaluated
FALSEevaluated 2 times by 1 test
Evaluated by:
  • tst_qdbusinterface - unknown status
)
0-2
201 QDBusAbstractInterface::disconnectNotify(NameLostSignal);
never executed: QDBusAbstractInterface::disconnectNotify(NameLostSignal);
0
202-
203 else if (signal == serviceOwnerChangedSignal
signal == serv...rChangedSignalDescription
TRUEevaluated 1 time by 1 test
Evaluated by:
  • tst_qdbusinterface - unknown status
FALSEevaluated 1 time by 1 test
Evaluated by:
  • tst_qdbusinterface - unknown status
)
1
204 QDBusAbstractInterface::disconnectNotify(NameOwnerChangedSignal);
executed 1 time by 1 test: QDBusAbstractInterface::disconnectNotify(NameOwnerChangedSignal);
Executed by:
  • tst_qdbusinterface - unknown status
1
205}
executed 2 times by 1 test: end of block
Executed by:
  • tst_qdbusinterface - unknown status
2
206-
Switch to Source codePreprocessed file

Generated by Squish Coco Non-Commercial 4.3.0-BETA-master-30-08-2018-4cb69e9