Changeset 651 for trunk/src/dbus/qdbusintegrator.cpp
- Timestamp:
- Mar 8, 2010, 12:52:58 PM (15 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:mergeinfo changed
/branches/vendor/nokia/qt/4.6.2 (added) merged: 650 /branches/vendor/nokia/qt/current merged: 649 /branches/vendor/nokia/qt/4.6.1 removed
- Property svn:mergeinfo changed
-
trunk/src/dbus/qdbusintegrator.cpp
r561 r651 1 1 /**************************************************************************** 2 2 ** 3 ** Copyright (C) 20 09Nokia Corporation and/or its subsidiary(-ies).3 ** Copyright (C) 20 Nokia Corporation and/or its subsidiary(-ies). 4 4 ** All rights reserved. 5 5 ** Contact: Nokia Corporation ([email protected]) … … 524 524 525 525 QDBusMessage amsg = QDBusMessagePrivate::fromDBusMessage(message); 526 qDBusDebug() << QThread::currentThread()<< "got message:" << amsg;526 qDBusDebug() << << "got message:" << amsg; 527 527 528 528 return d->handleMessage(amsg) ? … … 914 914 if (!fail) { 915 915 // normal reply 916 qDBusDebug() << QThread::currentThread()<< "Automatically sending reply:" << outputArgs;916 qDBusDebug() << << "Automatically sending reply:" << outputArgs; 917 917 send(msg.createReply(outputArgs)); 918 918 } else { … … 1672 1672 q_dbus_connection_add_filter(connection, qDBusSignalFilter, this, 0); 1673 1673 1674 //qDebug("base service: %s", service);1674 ; 1675 1675 1676 1676 // schedule a dispatch: … … 1707 1707 q_dbus_message_unref(reply); 1708 1708 } 1709 qDBusDebug() << QThread::currentThread()<< "got message reply (async):" << msg;1709 qDBusDebug() << << "got message reply (async):" << msg; 1710 1710 1711 1711 // Check if the reply has the expected signature … … 1775 1775 q_dbus_message_set_no_reply(msg, true); // the reply would not be delivered to anything 1776 1776 1777 qDBusDebug() << QThread::currentThread()<< "sending message (no reply):" << message;1777 qDBusDebug() << << "sending message (no reply):" << message; 1778 1778 checkThread(); 1779 1779 bool isOk = q_dbus_connection_send(connection, msg, 0); … … 1807 1807 } 1808 1808 1809 qDBusDebug() << QThread::currentThread()<< "sending message (blocking):" << message;1809 qDBusDebug() << << "sending message (blocking):" << message; 1810 1810 QDBusErrorInternal error; 1811 1811 DBusMessage *reply = q_dbus_connection_send_with_reply_and_block(connection, msg, timeout, error); … … 1820 1820 QDBusMessage amsg = QDBusMessagePrivate::fromDBusMessage(reply); 1821 1821 q_dbus_message_unref(reply); 1822 qDBusDebug() << QThread::currentThread()<< "got message reply (blocking):" << amsg;1822 qDBusDebug() << << "got message reply (blocking):" << amsg; 1823 1823 1824 1824 return amsg; … … 1827 1827 Q_ASSERT(pcall); 1828 1828 1829 if (pcall->replyMessage.type() != QDBusMessage::InvalidMessage) {1829 if (pcall->replyMessage.type() = QDBusMessage::InvalidMessage) { 1830 1830 pcall->watcherHelper = new QDBusPendingCallWatcherHelper; 1831 1831 QEventLoop loop; … … 1847 1847 QDBusMessage QDBusConnectionPrivate::sendWithReplyLocal(const QDBusMessage &message) 1848 1848 { 1849 qDBusDebug() << QThread::currentThread()<< "sending message via local-loop:" << message;1849 qDBusDebug() << << "sending message via local-loop:" << message; 1850 1850 1851 1851 QDBusMessage localCallMsg = QDBusMessagePrivate::makeLocal(*this, message); … … 1874 1874 1875 1875 // there is a reply 1876 qDBusDebug() << QThread::currentThread()<< "got message via local-loop:" << localReplyMsg;1876 qDBusDebug() << << "got message via local-loop:" << localReplyMsg; 1877 1877 return localReplyMsg; 1878 1878 } … … 1908 1908 } 1909 1909 1910 qDBusDebug() << QThread::currentThread()<< "sending message (async):" << message;1910 qDBusDebug() << << "sending message (async):" << message; 1911 1911 DBusPendingCall *pending = 0; 1912 1912
Note:
See TracChangeset
for help on using the changeset viewer.