qBittorrent
|
Functions | |
QVector< BitTorrent::TorrentID > | extractIDs (const QVector< BitTorrent::Torrent * > &torrents) |
bool | torrentContainsPreviewableFiles (const BitTorrent::Torrent *const torrent) |
void | openDestinationFolder (const BitTorrent::Torrent *const torrent) |
void | removeTorrents (const QVector< BitTorrent::Torrent * > &torrents, const bool isDeleteFileSelected) |
QVector<BitTorrent::TorrentID> anonymous_namespace{transferlistwidget.cpp}::extractIDs | ( | const QVector< BitTorrent::Torrent * > & | torrents | ) |
Definition at line 79 of file transferlistwidget.cpp.
Referenced by TransferListWidget::bottomQueuePosSelectedTorrents(), TransferListWidget::decreaseQueuePosSelectedTorrents(), TransferListWidget::increaseQueuePosSelectedTorrents(), and TransferListWidget::topQueuePosSelectedTorrents().
void anonymous_namespace{transferlistwidget.cpp}::openDestinationFolder | ( | const BitTorrent::Torrent *const | torrent | ) |
Definition at line 103 of file transferlistwidget.cpp.
References BitTorrent::Torrent::contentPath(), BitTorrent::AbstractFileStorage::filesCount(), MacUtils::openFiles(), Utils::Gui::openFolderSelect(), and Utils::Gui::openPath().
Referenced by TransferListWidget::torrentDoubleClicked().
void anonymous_namespace{transferlistwidget.cpp}::removeTorrents | ( | const QVector< BitTorrent::Torrent * > & | torrents, |
const bool | isDeleteFileSelected | ||
) |
Definition at line 115 of file transferlistwidget.cpp.
References DeleteTorrent, DeleteTorrentAndFiles, and BitTorrent::Session::instance().
Referenced by TransferListWidget::deleteSelectedTorrents(), and TransferListWidget::deleteVisibleTorrents().
bool anonymous_namespace{transferlistwidget.cpp}::torrentContainsPreviewableFiles | ( | const BitTorrent::Torrent *const | torrent | ) |
Definition at line 88 of file transferlistwidget.cpp.
References asConst(), Utils::Fs::fileName(), BitTorrent::Torrent::filePaths(), BitTorrent::Torrent::hasMetadata(), and Utils::Misc::isPreviewable().
Referenced by TransferListWidget::previewSelectedTorrents(), and TransferListWidget::torrentDoubleClicked().