qBittorrent
|
Namespaces | |
LT | |
SessionSettingsEnums | |
TorrentContentLayoutNS | |
TorrentOperatingModeNS | |
Classes | |
class | AbstractFileStorage |
struct | AddTorrentParams |
class | BencodeResumeDataStorage |
struct | CacheStatus |
struct | CategoryOptions |
class | DBResumeDataStorage |
class | TorrentID |
class | InfoHash |
struct | LoadTorrentParams |
class | MagnetUri |
struct | PeerAddress |
class | PeerInfo |
class | ResumeDataStorage |
struct | SessionMetricIndices |
class | Session |
struct | SessionStatus |
class | Torrent |
struct | TorrentCreatorParams |
class | TorrentCreatorThread |
struct | FileErrorInfo |
class | TorrentImpl |
class | TorrentInfo |
struct | Peer |
class | Tracker |
struct | TrackerEntry |
Functions | |
bool | operator== (const CategoryOptions::DownloadPathOption &left, const CategoryOptions::DownloadPathOption &right) |
bool | operator== (const CategoryOptions &left, const CategoryOptions &right) |
bool | isValidDownloadPriority (const DownloadPriority priority) |
uint | qHash (const TorrentID &key, uint seed) |
bool | operator== (const InfoHash &left, const InfoHash &right) |
bool | operator!= (const InfoHash &left, const InfoHash &right) |
bool | operator== (const PeerAddress &left, const PeerAddress &right) |
uint | qHash (const PeerAddress &addr, uint seed) |
uint | qHash (const TorrentState key, const uint seed) |
TorrentContentLayout | detectContentLayout (const QStringList &filePaths) |
void | applyContentLayout (QStringList &filePaths, TorrentContentLayout contentLayout, const QString &rootFolder={}) |
bool | operator== (const Peer &left, const Peer &right) |
bool | operator!= (const Peer &left, const Peer &right) |
uint | qHash (const Peer &key, const uint seed) |
bool | operator== (const TrackerEntry &left, const TrackerEntry &right) |
uint | qHash (const TrackerEntry &key, uint seed) |
|
strong |
|
strong |
|
strong |
Enumerator | |
---|---|
KeepExistingFiles | |
Overwrite |
Definition at line 59 of file torrentimpl.h.
|
strong |
Definition at line 69 of file torrent.h.
void BitTorrent::applyContentLayout | ( | QStringList & | filePaths, |
const BitTorrent::TorrentContentLayout | contentLayout, | ||
const QString & | rootFolder = {} |
||
) |
Definition at line 52 of file torrentcontentlayout.cpp.
References Utils::Fs::addRootFolder(), Utils::Fs::findRootFolder(), anonymous_namespace{torrentcontentlayout.cpp}::removeExtension(), and Utils::Fs::stripRootFolder().
Referenced by BitTorrent::Session::addTorrent_impl(), AddNewTorrentDialog::contentLayoutChanged(), BitTorrent::TorrentImpl::handleSaveResumeDataAlert(), and AddNewTorrentDialog::setupTreeview().
BitTorrent::TorrentContentLayout BitTorrent::detectContentLayout | ( | const QStringList & | filePaths | ) |
Definition at line 44 of file torrentcontentlayout.cpp.
References Utils::Fs::findRootFolder().
Referenced by BitTorrent::Session::addTorrent_impl(), BitTorrent::TorrentInfo::contentLayout(), AddNewTorrentDialog::contentLayoutChanged(), and AddNewTorrentDialog::setupTreeview().
bool BitTorrent::isValidDownloadPriority | ( | const DownloadPriority | priority | ) |
Definition at line 33 of file downloadpriority.cpp.
References High, Ignored, Maximum, Mixed, and Normal.
Referenced by TorrentsController::filePrioAction().
Definition at line 96 of file infohash.cpp.
Definition at line 138 of file tracker.cpp.
bool BitTorrent::operator== | ( | const CategoryOptions & | left, |
const CategoryOptions & | right | ||
) |
Definition at line 74 of file categoryoptions.cpp.
References BitTorrent::CategoryOptions::downloadPath, and BitTorrent::CategoryOptions::savePath.
bool BitTorrent::operator== | ( | const CategoryOptions::DownloadPathOption & | left, |
const CategoryOptions::DownloadPathOption & | right | ||
) |
Definition at line 68 of file categoryoptions.cpp.
References BitTorrent::CategoryOptions::DownloadPathOption::enabled, and BitTorrent::CategoryOptions::DownloadPathOption::path.
Definition at line 91 of file infohash.cpp.
Definition at line 133 of file tracker.cpp.
References BitTorrent::Peer::uniqueID().
bool BitTorrent::operator== | ( | const PeerAddress & | left, |
const PeerAddress & | right | ||
) |
Definition at line 75 of file peeraddress.cpp.
References BitTorrent::PeerAddress::ip, and BitTorrent::PeerAddress::port.
bool BitTorrent::operator== | ( | const TrackerEntry & | left, |
const TrackerEntry & | right | ||
) |
Definition at line 33 of file trackerentry.cpp.
References BitTorrent::TrackerEntry::tier, and BitTorrent::TrackerEntry::url.
uint BitTorrent::qHash | ( | const Peer & | key, |
const uint | seed | ||
) |
Definition at line 143 of file tracker.cpp.
References qHash(), and BitTorrent::Peer::uniqueID().
uint BitTorrent::qHash | ( | const PeerAddress & | addr, |
uint | seed | ||
) |
Definition at line 80 of file peeraddress.cpp.
References BitTorrent::PeerAddress::ip, BitTorrent::PeerAddress::port, and qHash().
uint BitTorrent::qHash | ( | const TorrentID & | key, |
uint | seed | ||
) |
Definition at line 86 of file infohash.cpp.
Referenced by qHash(), and Net::qHash().
uint BitTorrent::qHash | ( | const TorrentState | key, |
const uint | seed | ||
) |
Definition at line 38 of file torrent.cpp.
uint BitTorrent::qHash | ( | const TrackerEntry & | key, |
uint | seed | ||
) |
Definition at line 39 of file trackerentry.cpp.
References qHash(), BitTorrent::TrackerEntry::tier, and BitTorrent::TrackerEntry::url.