kget
dbusverifierwrapper.cpp
Go to the documentation of this file.
28 connect(m_verifier, SIGNAL(brokenPieces(QList<KIO::fileoffset_t>,KIO::filesize_t)), this, SLOT(slotBrokenPieces(QList<KIO::fileoffset_t>,KIO::filesize_t)));
46 void DBusVerifierWrapper::addPartialChecksums(const QString &type, qulonglong length, const QStringList &checksums)
66 void DBusVerifierWrapper::slotBrokenPieces(const QList<KIO::fileoffset_t> &offsets, KIO::filesize_t length)
68 //FIXME seems to work correct though is not correctly received at TestTransfers or maybe wrong converted
void addPartialChecksums(const QString &type, KIO::filesize_t length, const QStringList &checksums)
Add partial checksums that can be used as repairinformation.
Definition: verifier.cpp:524
void verify(const QModelIndex &index=QModelIndex())
Call this method if you want to verify() in its own thread, then signals with the result are emitted...
Definition: verifier.cpp:364
DBusVerifierWrapper(Verifier *parent)
Definition: dbusverifierwrapper.cpp:24
void brokenPieces() const
Call this method after calling verify() with a negative result, it will emit a list of the broken pie...
Definition: dbusverifierwrapper.cpp:61
QString number(int n, int base)
int count(const T &value) const
~DBusVerifierWrapper()
Definition: dbusverifierwrapper.cpp:32
void verified(bool verified)
Emitted when the verification of a file finishes.
Definition: verifier.h:68
void addChecksum(const QString &type, const QString &hash)
Adds a checksum to the transfer.
Definition: dbusverifierwrapper.cpp:41
void addPartialChecksums(const QString &type, qulonglong length, const QStringList &checksums)
Add partial checksums that can be used as repairinformation.
Definition: dbusverifierwrapper.cpp:46
void addChecksum(const QString &type, const QString &checksum, int verified=0)
Add a checksum that is later used in the verification process.
Definition: verificationmodel.cpp:179
bool connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
void brokenPieces() const
Call this method after calling verify() with a negative result, it will emit a list of the broken pie...
Definition: verifier.cpp:386
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.