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