aboutsummaryrefslogtreecommitdiff
path: root/src/client/QXmppFileTransfer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/QXmppFileTransfer.cpp')
-rw-r--r--src/client/QXmppFileTransfer.cpp43
1 files changed, 43 insertions, 0 deletions
diff --git a/src/client/QXmppFileTransfer.cpp b/src/client/QXmppFileTransfer.cpp
new file mode 100644
index 00000000..f26c3a89
--- /dev/null
+++ b/src/client/QXmppFileTransfer.cpp
@@ -0,0 +1,43 @@
+// SPDX-FileCopyrightText: 2022 Linus Jahn <lnj@kaidan.im>
+//
+// SPDX-License-Identifier: LGPL-2.1-or-later
+
+#include "QXmppFileTransfer.h"
+
+///
+/// \class QXmppFileTransfer
+///
+/// \brief Provides progress information about ongoing file uploads and downloads.
+///
+/// \since QXmpp 1.5
+///
+
+///
+/// \fn QXmppFileTransfer::cancel()
+///
+/// \brief Cancels the file transfer. finished() will be emitted.
+///
+
+///
+/// \fn QXmppFileTransfer::isFinished()
+///
+/// \brief Returns whether the file transfer is finished.
+///
+
+///
+/// \fn QXmppFileTransfer::bytesTransferred()
+///
+/// \brief Returns the number of bytes that have been uploaded or downloaded.
+///
+
+///
+/// \fn QXmppFileTransfer::bytesTotal()
+///
+/// \brief Returns the number of bytes that totally need to be transferred.
+///
+
+///
+/// \fn QXmppFileTransfer::progressChanged()
+///
+/// \brief Emitted when new bytes have been transferred.
+///