Provide torrent creation feature via WebAPI

PR #20366.
Closes #5614.

Co-authored-by: Radu Carpa <radu.carpa@cern.ch>
This commit is contained in:
Vladimir Golovnev
2024-02-27 15:57:16 +03:00
committed by GitHub
parent 15697f904d
commit 0114610a40
17 changed files with 887 additions and 83 deletions

View File

@@ -1,5 +1,6 @@
/*
* Bittorrent Client using Qt and libtorrent.
* Copyright (C) 2024 Radu Carpa <radu.carpa@cern.ch>
* Copyright (C) 2017 Mike Tzou (Chocobo1)
* Copyright (C) 2010 Christophe Dumez <chris@qbittorrent.org>
*
@@ -58,7 +59,7 @@ private slots:
void onAddFileButtonClicked();
void onAddFolderButtonClicked();
void handleCreationFailure(const QString &msg);
void handleCreationSuccess(const Path &path, const Path &branchPath);
void handleCreationSuccess(const BitTorrent::TorrentCreatorResult &result);
private:
void dropEvent(QDropEvent *event) override;