qBittorrent
|
#include <digest32.h>
Public Types | |
using | UnderlyingType = lt::digest32< N > |
Public Member Functions | |
Digest32 ()=default | |
Digest32 (const UnderlyingType &nativeDigest) | |
bool | isValid () const |
operator UnderlyingType () const | |
QString | toString () const |
Static Public Member Functions | |
static constexpr int | length () |
static Digest32 | fromString (const QString &digestString) |
Private Attributes | |
bool | m_valid = false |
UnderlyingType | m_nativeDigest |
QString | m_hashString |
Definition at line 38 of file digest32.h.
using Digest32< N >::UnderlyingType = lt::digest32<N> |
Definition at line 41 of file digest32.h.
|
inline |
Definition at line 45 of file digest32.h.
References Digest32< N >::length(), and Digest32< N >::m_hashString.
|
inlinestatic |
Definition at line 68 of file digest32.h.
References Digest32< N >::length(), Digest32< N >::m_hashString, Digest32< N >::m_nativeDigest, and Digest32< N >::m_valid.
|
inline |
Definition at line 58 of file digest32.h.
References Digest32< N >::m_valid.
Referenced by TransferListWidget::displayListMenu(), AddNewTorrentDialog::loadMagnet(), AddNewTorrentDialog::loadTorrentImpl(), PropertiesWidget::loadTorrentInfos(), Application::runExternalProgram(), and AddNewTorrentDialog::updateMetadata().
|
inlinestaticconstexpr |
Definition at line 53 of file digest32.h.
Referenced by Digest32< N >::Digest32(), Digest32< N >::fromString(), and anonymous_namespace{magneturi.cpp}::isV2Hash().
|
inline |
Definition at line 63 of file digest32.h.
References Digest32< N >::m_nativeDigest.
|
inline |
Definition at line 85 of file digest32.h.
References Digest32< N >::m_hashString.
Referenced by TorrentsController::addPeersAction(), BitTorrent::Session::deleteTorrent(), AddNewTorrentDialog::loadMagnet(), AddNewTorrentDialog::loadTorrentImpl(), PropertiesWidget::loadTorrentInfos(), SyncController::maindataAction(), BitTorrent::TorrentImpl::name(), TorrentsController::propertiesAction(), Application::runExternalProgram(), and serialize().
|
private |
Definition at line 93 of file digest32.h.
Referenced by Digest32< N >::Digest32(), Digest32< N >::fromString(), and Digest32< N >::toString().
|
private |
Definition at line 92 of file digest32.h.
Referenced by Digest32< N >::fromString(), and Digest32< N >::operator UnderlyingType().
|
private |
Definition at line 91 of file digest32.h.
Referenced by Digest32< N >::fromString(), and Digest32< N >::isValid().