qBittorrent
|
#include <infohash.h>
Public Types | |
using | BaseType = Digest32< 160 > |
Public Types inherited from Digest32< 160 > | |
using | UnderlyingType = lt::digest32< N > |
Static Public Member Functions | |
static TorrentID | fromString (const QString &hashString) |
static TorrentID | fromInfoHash (const InfoHash &infoHash) |
Static Public Member Functions inherited from Digest32< 160 > | |
static constexpr int | length () |
static Digest32 | fromString (const QString &digestString) |
Additional Inherited Members | |
Public Member Functions inherited from Digest32< 160 > | |
Digest32 ()=default | |
Digest32 (const UnderlyingType &nativeDigest) | |
bool | isValid () const |
operator UnderlyingType () const | |
QString | toString () const |
Definition at line 47 of file infohash.h.
using BitTorrent::TorrentID::BaseType = Digest32<160> |
Definition at line 50 of file infohash.h.
|
static |
Definition at line 81 of file infohash.cpp.
References BitTorrent::InfoHash::toTorrentID().
Referenced by BitTorrent::Session::addTorrent_impl(), BitTorrent::Session::createTorrent(), BitTorrent::Session::downloadMetadata(), BitTorrent::Session::findIncompleteFiles(), BitTorrent::Session::handleAddTorrentAlert(), BitTorrent::Session::handleMetadataReceivedAlert(), BitTorrent::Session::handleStateUpdateAlert(), BitTorrent::Session::handleStorageMovedAlert(), BitTorrent::Session::handleStorageMovedFailedAlert(), BitTorrent::Session::handleTorrentDeletedAlert(), BitTorrent::Session::handleTorrentDeleteFailedAlert(), BitTorrent::Session::handleTorrentRemovedAlert(), AddNewTorrentDialog::loadMagnet(), BitTorrent::Session::loadTorrent(), AddNewTorrentDialog::loadTorrentImpl(), and BitTorrent::Session::moveTorrentStorage().
|
static |
Definition at line 76 of file infohash.cpp.
Referenced by TorrentsController::addTrackersAction(), anonymous_namespace{torrentscontroller.cpp}::applyToTorrents(), BitTorrent::BencodeResumeDataStorage::BencodeResumeDataStorage(), TorrentsController::downloadLimitAction(), TorrentsController::editTrackerAction(), TorrentsController::filePrioAction(), TorrentsController::filesAction(), TorrentsController::infoAction(), BitTorrent::BencodeResumeDataStorage::loadQueue(), TorrentsController::pieceHashesAction(), TorrentsController::pieceStatesAction(), BitTorrent::Tracker::processAnnounceRequest(), TorrentsController::propertiesAction(), BitTorrent::DBResumeDataStorage::registeredTorrents(), TorrentsController::removeTrackersAction(), TorrentsController::renameAction(), TorrentsController::renameFileAction(), TorrentsController::renameFolderAction(), SyncController::torrentPeersAction(), anonymous_namespace{torrentscontroller.cpp}::toTorrentIDs(), TorrentsController::trackersAction(), TorrentsController::uploadLimitAction(), and TorrentsController::webseedsAction().