From 6210e9a55bd87a20031c675e243fb5f4e0a5fd85 Mon Sep 17 00:00:00 2001 From: Linus Jahn Date: Sun, 2 Oct 2022 22:13:45 +0200 Subject: FileSharingManager: Rename sendFile to uploadFile --- src/client/QXmppFileSharingManager.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/client/QXmppFileSharingManager.cpp') diff --git a/src/client/QXmppFileSharingManager.cpp b/src/client/QXmppFileSharingManager.cpp index 71f652da..f86a1a19 100644 --- a/src/client/QXmppFileSharingManager.cpp +++ b/src/client/QXmppFileSharingManager.cpp @@ -402,9 +402,9 @@ void QXmppFileSharingManager::setMetadataGenerator(MetadataGenerator &&generator /// \return An object that allows to track the progress of the upload. /// Once the upload is finished, the finished signal is emitted on it. /// -std::shared_ptr QXmppFileSharingManager::sendFile(std::shared_ptr provider, - const QString &filePath, - const std::optional &description) +std::shared_ptr QXmppFileSharingManager::uploadFile(std::shared_ptr provider, + const QString &filePath, + const std::optional &description) { QFileInfo fileInfo(filePath); auto metadata = QXmppFileMetadata::fromFileInfo(fileInfo); -- cgit v1.2.3