kget
Classes | |
class | CommonData |
class | DateConstruct |
class | File |
class | Files |
class | HandleMetalink |
class | HttpLinkHeader |
class | Metalink |
class | Metalink_v3 |
class | MetalinkHttpParser |
class | Metaurl |
class | Pieces |
class | Resources |
class | Url |
class | UrlText |
class | Verification |
Functions | |
QString | addaptHashType (const QString &type, bool loaded) |
Detailed Description
The following classes try to resemble the structure of a Metalink-document, they partially support the Metalink specification version 3.0 2nd ed and Draft 09 It is possible to load and save metalinks and to edit them inbetween, you could also create a metalink from scratch.
Function Documentation
QString KGetMetalink::addaptHashType | ( | const QString & | type, |
bool | loaded | ||
) |
Adapts type to the way the hash is internally stored.
- Parameters
-
type the hash-type load true if the hash has been loaded, false if it should be saved
- Note
- metalink wants sha1 in the form "sha-1", though the metalinker uses it internally in the form "sha1", this function transforms it to the correct form, it is only needed internally
Definition at line 60 of file metalinker.cpp.
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:53:18 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:18 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.