aboutsummaryrefslogtreecommitdiff
path: root/example/example_4_ibbTransferTarget
diff options
context:
space:
mode:
Diffstat (limited to 'example/example_4_ibbTransferTarget')
-rw-r--r--example/example_4_ibbTransferTarget/ibbTransferTarget.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/example/example_4_ibbTransferTarget/ibbTransferTarget.cpp b/example/example_4_ibbTransferTarget/ibbTransferTarget.cpp
index a7f507c7..b70dcd85 100644
--- a/example/example_4_ibbTransferTarget/ibbTransferTarget.cpp
+++ b/example/example_4_ibbTransferTarget/ibbTransferTarget.cpp
@@ -34,12 +34,12 @@ IbbTransferTarget::IbbTransferTarget(QObject *parent)
{
m_buffer = new QBuffer(this);
- bool check = connect(&getTransferManager(), SIGNAL(fileReceived(QXmppTransferJob*)),
+ bool check = connect(&transferManager(), SIGNAL(fileReceived(QXmppTransferJob*)),
this, SLOT(slotFileReceived(QXmppTransferJob*)));
Q_ASSERT(check);
Q_UNUSED(check);
- getTransferManager().setSupportedMethods(QXmppTransferJob::InBandMethod);
+ transferManager().setSupportedMethods(QXmppTransferJob::InBandMethod);
}
IbbTransferTarget::~IbbTransferTarget()