kget
checksumsearch.cpp
Go to the documentation of this file.
30 const QStringList ChecksumSearch::URLCHANGEMODES = (QStringList() << i18n("Append") << i18n("Replace file") << i18n("Replace file-ending"));
32 ChecksumSearch::ChecksumSearch(const QList<KUrl> &srcs, const QString &fileName, const QStringList &types, QObject *parent)
144 //only create a download here if type was specified, otherwise parseDownloadEmpty has to handle this
166 KUrl ChecksumSearch::createUrl(const KUrl &src, const QString &change, ChecksumSearch::UrlChangeMode mode)
static KUrl createUrl(const KUrl &src, const QString &change, UrlChangeMode mode)
Returns a modified url according to the parameters.
Definition: checksumsearch.cpp:166
Replaces the file of the Url with QString –> "http://test.com/aFile.zip"; "MD5SUMS" "http://test...
Definition: checksumsearch.h:44
UrlChangeMode
Used to define in whiche way the url should be changed to try and find Checksums. ...
Definition: checksumsearch.h:40
static int diggestLength(const QString &type)
Returns the diggest length of type.
Definition: verifier.cpp:239
static QStringList supportedVerficationTypes()
Returns the supported verification types.
Definition: verifier.cpp:216
Definition: checksumsearch.h:42
void data(QString type, QString checksum)
ChecksumSearch(const QList< KUrl > &srcs, const QString &fileName, const QStringList &types, QObject *parent=0)
Definition: checksumsearch.cpp:32
Appends the QString to the Url –> "http://test.com/aFile.zip"; ".md5" "http://test.com/aFile.zip.md5".
Definition: checksumsearch.h:43
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:53:17 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:53:17 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.