kget
verificationthread.cpp
Go to the documentation of this file.
58 void VerificationThread::findBrokenPieces(const QString &type, const QList<QString> checksums, KIO::filesize_t length, const KUrl &file)
115 kDebug(5001) << "Type:" << type << "Calculated checksum:" << hash << "Entered checksum:" << checksum;
162 const QStringList fileChecksums = Verifier::partialChecksums(url, type, length, &m_abort).checksums();
void clear()
const T & at(int i) const
void verifiy(const QString &type, const QString &checksum, const KUrl &file)
Definition: verificationthread.cpp:44
void unlock()
bool exists() const
void verified(bool verified)
Emitted when the verification of a file finishes, connect to this signal if you do the verification f...
int size() const
void brokenPieces(const QList< KIO::fileoffset_t > &offsets, KIO::filesize_t length)
void start(Priority priority)
int count(const T &value) const
void append(const T &value)
bool isEmpty() const
void findBrokenPieces(const QString &type, const QList< QString > checksums, KIO::filesize_t length, const KUrl &file)
Definition: verificationthread.cpp:58
VerificationThread(QObject *parent=0)
Definition: verificationthread.cpp:27
static PartialChecksums partialChecksums(const KUrl &dest, const QString &type, KIO::filesize_t length=0, bool *abortPtr=0)
Create partial checksums of type for file dest.
Definition: verifier.cpp:448
void lock()
bool isRunning() const
bool wait(unsigned long time)
T takeFirst()
static QString checksum(const KUrl &dest, const QString &type, bool *abortPtr)
Creates the checksum type of the file dest.
Definition: verifier.cpp:398
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:28:43 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:28:43 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.