signal sender=:1.606 -> dest=(null destination) serial=333 path=/org/freedesktop/Telepathy/Connection/gabble/jabber/XXX_2fnokiaN9/ImChannel33; interface=org.freedesktop.Telepathy.Channel.Interface.Messages; member=MessageReceived array [ array [ dict entry( string "pending-message-id" variant uint32 0 ) dict entry( string "message-sender-id" variant string "XXX@jabberes.org" ) dict entry( string "message-received" variant int64 1440523701 ) dict entry( string "message-sender" variant uint32 33 ) ] array [ dict entry( string "content" variant string "Message content" ) dict entry( string "content-type" variant string "text/plain" ) ] ]
QDBusConnection::sessionBus().connect(QString(), QString(), "org.freedesktop.Telepathy.Channel.Interface.Messages", "MessageReceived", this, SLOT(telepathyMessageReceived(QList<QVariant>)));
void ImControlThread::telepathyMessageReceived(QList<QVariant> _content) { qDebug() << "ImControlThread::telepathyMessageReceived(): size=" << _content.size() << ". Variant=" << _content.at(0).typeName(); }