From 152ae594d855263ac21f403a73963000bfdf98c9 Mon Sep 17 00:00:00 2001 From: Jeremy Lainé Date: Sat, 15 Aug 2015 10:42:47 +0200 Subject: add a note that QXmppTransferManager::sendFile requires a full JID --- src/client/QXmppTransferManager.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/client/QXmppTransferManager.cpp') diff --git a/src/client/QXmppTransferManager.cpp b/src/client/QXmppTransferManager.cpp index bf112389..0616163d 100644 --- a/src/client/QXmppTransferManager.cpp +++ b/src/client/QXmppTransferManager.cpp @@ -1286,6 +1286,9 @@ void QXmppTransferManager::_q_jobStateChanged(QXmppTransferJob::State state) /// /// The remote party will be given the choice to accept or refuse the transfer. /// +/// \note The recipient's \a jid must be a full JID with a resource, for instance "user@host/resource". +/// + QXmppTransferJob *QXmppTransferManager::sendFile(const QString &jid, const QString &filePath, const QString &description) { if (jid.isEmpty()) { @@ -1334,6 +1337,9 @@ QXmppTransferJob *QXmppTransferManager::sendFile(const QString &jid, const QStri /// /// The remote party will be given the choice to accept or refuse the transfer. /// +/// \note The recipient's \a jid must be a full JID with a resource, for instance "user@host/resource". +/// + QXmppTransferJob *QXmppTransferManager::sendFile(const QString &jid, QIODevice *device, const QXmppTransferFileInfo &fileInfo, const QString &sid) { bool check; -- cgit v1.2.3