Home
last modified time | relevance | path

Searched refs:TorrentInfo (Results 1 – 25 of 78) sorted by relevance

1234

/dports/net-p2p/qbittorrent/qbittorrent-4.3.9/src/base/bittorrent/
H A Dtorrentinfo.cpp80 TorrentInfo::TorrentInfo(std::shared_ptr<const lt::torrent_info> nativeInfo) in TorrentInfo() function in TorrentInfo
85 TorrentInfo::TorrentInfo(const TorrentInfo &other) in TorrentInfo() function in TorrentInfo
90 TorrentInfo &TorrentInfo::operator=(const TorrentInfo &other) in operator =()
99 TorrentInfo TorrentInfo::load(const QByteArray &data, QString *error) noexcept in load()
113 return TorrentInfo(); in load()
121 return TorrentInfo(); in load()
127 TorrentInfo TorrentInfo::loadFromFile(const QString &path, QString *error) noexcept in loadFromFile()
137 return TorrentInfo(); in loadFromFile()
144 return TorrentInfo(); in loadFromFile()
392 TorrentInfo::PieceRange TorrentInfo::filePieces(const QString &file) const in filePieces()
[all …]
H A Dtorrentinfo.h50 class TorrentInfo final : public AbstractFileStorage
52 Q_DECLARE_TR_FUNCTIONS(TorrentInfo)
55 explicit TorrentInfo(std::shared_ptr<const lt::torrent_info> nativeInfo = {});
56 TorrentInfo(const TorrentInfo &other);
58 static TorrentInfo load(const QByteArray &data, QString *error = nullptr) noexcept;
59 static TorrentInfo loadFromFile(const QString &path, QString *error = nullptr) noexcept;
62 TorrentInfo &operator=(const TorrentInfo &other);
114 Q_DECLARE_METATYPE(BitTorrent::TorrentInfo)
H A Dsession.h219 QString torrentTempPath(const TorrentInfo &torrentInfo) const;
458 …bool addTorrent(const TorrentInfo &torrentInfo, const AddTorrentParams &params = AddTorrentParams(…
496 void findIncompleteFiles(const TorrentInfo &torrentInfo, const QString &savePath) const;
507 void metadataDownloaded(const TorrentInfo &info);
598 …bool loadTorrentResumeData(const QByteArray &data, const TorrentInfo &metadata, LoadTorrentParams …
601 …bool addTorrent_impl(const std::variant<MagnetUri, TorrentInfo> &source, const AddTorrentParams &a…
H A Dtorrent.h48 class TorrentInfo; variable
197 virtual TorrentInfo info() const = 0;
H A Dtorrentimpl.h154 TorrentInfo info() const override;
308 TorrentInfo m_torrentInfo;
H A Dtorrentimpl.cpp293 m_torrentInfo = TorrentInfo {m_nativeHandle.torrent_file()}; in TorrentImpl()
806 TorrentInfo TorrentImpl::info() const in info()
1483 const TorrentInfo::PieceRange extremities = info().filePieces(index); in applyFirstLastPiecePriority()
1552 m_torrentInfo = TorrentInfo {m_nativeHandle.torrent_file()}; in reload()
1800 TorrentInfo metadata = TorrentInfo {m_nativeHandle.torrent_file()}; in handleSaveResumeDataAlert()
2273 const TorrentInfo info = this->info(); in availableFileFractions()
2276 const TorrentInfo::PieceRange filePieces = info.filePieces(i); in availableFileFractions()
H A Dsession.cpp677 QString Session::torrentTempPath(const TorrentInfo &torrentInfo) const in torrentTempPath()
1723 addTorrent(TorrentInfo::load(result.data), m_downloadedTorrents.take(result.url)); in handleDownloadFinished()
2057 if (addTorrent(TorrentInfo::loadFromFile(source), params)) in addTorrent()
2073 bool Session::addTorrent(const TorrentInfo &torrentInfo, const AddTorrentParams &params) in addTorrent()
2121 const bool hasMetadata = std::holds_alternative<TorrentInfo>(source); in addTorrent_impl()
2122 TorrentInfo metadata = (hasMetadata ? std::get<TorrentInfo>(source) : TorrentInfo {}); in addTorrent_impl()
2258 void Session::findIncompleteFiles(const TorrentInfo &torrentInfo, const QString &savePath) const in findIncompleteFiles()
3942 TorrentInfo torrentInfo = TorrentInfo::loadFromFile(torrentFullpath); in handleTorrentFinished()
4228 addTorrent(TorrentInfo::loadFromFile(torrentFullpath), params); in recursiveTorrentDownload()
4389 TorrentInfo metadata = TorrentInfo::loadFromFile(torrentFilePath); in startUpTorrents()
[all …]
/dports/net-p2p/deluge-cli/deluge-2.0.3/deluge/tests/
H A Dtest_ui_common.py15 from deluge.ui.common import TorrentInfo
29 ti = TorrentInfo(filename)
45 ti = TorrentInfo(filename)
H A Dtest_metafile.py26 from deluge.ui.common import TorrentInfo
28 TorrentInfo(filename)
H A Dtest_maketorrent.py26 from deluge.ui.common import TorrentInfo
28 TorrentInfo(filename)
/dports/devel/hs-git-annex/git-annex-8.20210903/_cabal_deps/torrent-10000.1.1/src/Data/
H A DTorrent.hs9 , TorrentInfo(..)
34 , tInfo :: TorrentInfo
38 data TorrentInfo type
90 parseTorrentInfo :: ByteString -> Integer -> ByteString -> BParser TorrentInfo
/dports/net-p2p/qbittorrent/qbittorrent-4.3.9/src/gui/properties/
H A Dpiecesbar.cpp55 PieceIndexToImagePos(const BitTorrent::TorrentInfo &torrentInfo, const QImage &image) in PieceIndexToImagePos()
66 ImageRange imagePos(const BitTorrent::TorrentInfo::PieceRange &pieces) const in imagePos()
85 const BitTorrent::TorrentInfo m_torrentInfo;
313 …BitTorrent::TorrentInfo::PieceRange filePieces = m_torrent->info().filePieces(fileIndices.first()); in highlightFile()
/dports/net-p2p/qbittorrent/qbittorrent-4.3.9/src/gui/
H A Dtorrentcontentmodel.h44 class TorrentInfo; variable
77 void setupModelData(const BitTorrent::TorrentInfo &info);
H A Daddnewtorrentdialog.h84 void updateMetadata(const BitTorrent::TorrentInfo &metadata);
115 BitTorrent::TorrentInfo m_torrentInfo;
H A Dtorrentcontenttreeview.h37 class TorrentInfo; variable
H A Dtorrentcreatordialog.cpp237 …const BitTorrent::TorrentInfo info = BitTorrent::TorrentInfo::loadFromFile(Utils::Fs::toNativePath… in handleCreationSuccess()
H A Daddnewtorrentdialog.cpp256 m_torrentInfo = BitTorrent::TorrentInfo::loadFromFile(decodedPath, &error); in loadTorrentFile()
638 void AddNewTorrentDialog::updateMetadata(const BitTorrent::TorrentInfo &metadata) in updateMetadata()
724 m_torrentInfo = BitTorrent::TorrentInfo::load(result.data, &error); in handleDownloadFinished()
H A Dtorrentcontentmodel.cpp480 void TorrentContentModel::setupModelData(const BitTorrent::TorrentInfo &info) in setupModelData()
/dports/net-p2p/deluge-cli/deluge-2.0.3/deluge/ui/console/modes/
H A Dadd_util.py23 from deluge.ui.common import TorrentInfo
86 TorrentInfo(f)
/dports/net-p2p/qbittorrent/qbittorrent-4.3.9/src/base/
H A Dtorrentfileswatcher.h76 …void onTorrentFound(const BitTorrent::TorrentInfo &torrentInfo, const BitTorrent::AddTorrentParams…
H A Dtorrentfileswatcher.cpp205 …void torrentFound(const BitTorrent::TorrentInfo &torrentInfo, const BitTorrent::AddTorrentParams &…
428 void TorrentFilesWatcher::onTorrentFound(const BitTorrent::TorrentInfo &torrentInfo in onTorrentFound()
525 const auto torrentInfo = BitTorrent::TorrentInfo::loadFromFile(filePath); in processFolder()
566 const auto torrentInfo = BitTorrent::TorrentInfo::loadFromFile(torrentPath); in processFailedTorrents()
/dports/net-p2p/qbittorrent/qbittorrent-4.3.9/src/webui/api/
H A Dtorrentscontroller.cpp551 const BitTorrent::TorrentInfo info = torrent->info(); in filesAction()
568 const BitTorrent::TorrentInfo::PieceRange idx = info.filePieces(index); in filesAction()
700 const BitTorrent::TorrentInfo torrentInfo = BitTorrent::TorrentInfo::load(it.value()); in addAction()
/dports/net-p2p/deluge-cli/deluge-2.0.3/deluge/ui/gtk3/
H A Daddtorrentdialog.py35 from deluge.ui.common import TorrentInfo
252 info = TorrentInfo(filename)
274 info = TorrentInfo.from_metadata(metadata, [[t] for t in trackers])
/dports/net-p2p/deluge-cli/deluge-2.0.3/deluge/ui/web/
H A Djson_api.py31 from deluge.ui.common import FileTree2, TorrentInfo
710 torrent_info = TorrentInfo(filename.strip(), 2)
/dports/net-p2p/deluge-cli/deluge-2.0.3/deluge/ui/
H A Dcommon.py172 class TorrentInfo(object): class

1234