diff options
| author | Linus Jahn <lnj@kaidan.im> | 2022-10-02 22:13:45 +0200 |
|---|---|---|
| committer | Linus Jahn <lnj@kaidan.im> | 2022-10-02 23:01:13 +0200 |
| commit | 6210e9a55bd87a20031c675e243fb5f4e0a5fd85 (patch) | |
| tree | aaa25ae851f7e6e2294925c8e496aab0c4780d51 /src/client/QXmppFileSharingManager.cpp | |
| parent | 8b0bc1fd585ca12776aa7e8e23d292c5056c7098 (diff) | |
| download | qxmpp-6210e9a55bd87a20031c675e243fb5f4e0a5fd85.tar.gz | |
FileSharingManager: Rename sendFile to uploadFile
Diffstat (limited to 'src/client/QXmppFileSharingManager.cpp')
| -rw-r--r-- | src/client/QXmppFileSharingManager.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
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<QXmppFileUpload> QXmppFileSharingManager::sendFile(std::shared_ptr<QXmppFileSharingProvider> provider, - const QString &filePath, - const std::optional<QString> &description) +std::shared_ptr<QXmppFileUpload> QXmppFileSharingManager::uploadFile(std::shared_ptr<QXmppFileSharingProvider> provider, + const QString &filePath, + const std::optional<QString> &description) { QFileInfo fileInfo(filePath); auto metadata = QXmppFileMetadata::fromFileInfo(fileInfo); |
