summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorOlli Salli <ollisal@gmail.com>2011-09-22 20:26:20 +0300
committerOlli Salli <ollisal@gmail.com>2011-10-10 19:17:42 +0300
commit60b6c9f7d8dfb6457beb71992d12c3b19e6922d9 (patch)
treed2a4624e4630c11bfbf156299c9eed72ebfa047d /examples
parent3b9bed03aa098b47e18133284686e6183a50adb7 (diff)
Fix TubeReceiver example connect to accept signal to follow the latest arg order
Diffstat (limited to 'examples')
-rw-r--r--examples/stream-tubes/tube-receiver.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/examples/stream-tubes/tube-receiver.cpp b/examples/stream-tubes/tube-receiver.cpp
index 8c7c0b10..5ae9fff7 100644
--- a/examples/stream-tubes/tube-receiver.cpp
+++ b/examples/stream-tubes/tube-receiver.cpp
@@ -34,9 +34,8 @@ TubeReceiver::TubeReceiver(QObject *parent)
{
mTubeClient = StreamTubeClient::create(QStringList() << QLatin1String("tp-qt4-stube-example"));
connect(mTubeClient.data(),
- SIGNAL(tubeAcceptedAsUnix(Tp::AccountPtr,Tp::IncomingStreamTubeChannelPtr,QString,
- bool,uchar)),
- SLOT(onTubeAccepted(Tp::AccountPtr,Tp::IncomingStreamTubeChannelPtr,QString)));
+ SIGNAL(tubeAcceptedAsUnix(QString,bool,uchar,Tp::AccountPtr,Tp::IncomingStreamTubeChannelPtr)),
+ SLOT(onTubeAccepted(QString)));
mTubeClient->setToAcceptAsUnix(false); // no SCM_CREDENTIALS required
}