equal
deleted
inserted
replaced
252 QDBusPendingCall::operator=(other); |
252 QDBusPendingCall::operator=(other); |
253 } |
253 } |
254 |
254 |
255 void QDBusPendingReplyData::assign(const QDBusMessage &message) |
255 void QDBusPendingReplyData::assign(const QDBusMessage &message) |
256 { |
256 { |
257 d = new QDBusPendingCallPrivate; // drops the reference to the old one |
257 d = new QDBusPendingCallPrivate(QDBusMessage(), 0); // drops the reference to the old one |
258 d->replyMessage = message; |
258 d->replyMessage = message; |
259 } |
259 } |
260 |
260 |
261 QVariant QDBusPendingReplyData::argumentAt(int index) const |
261 QVariant QDBusPendingReplyData::argumentAt(int index) const |
262 { |
262 { |
271 } |
271 } |
272 |
272 |
273 void QDBusPendingReplyData::setMetaTypes(int count, const int *types) |
273 void QDBusPendingReplyData::setMetaTypes(int count, const int *types) |
274 { |
274 { |
275 Q_ASSERT(d); |
275 Q_ASSERT(d); |
|
276 QMutexLocker locker(&d->mutex); |
276 d->setMetaTypes(count, types); |
277 d->setMetaTypes(count, types); |
277 d->checkReceivedSignature(); |
278 d->checkReceivedSignature(); |
278 } |
279 } |
279 |
280 |
280 #endif // QT_NO_DBUS |
281 #endif // QT_NO_DBUS |