kget
KGetMetalink::HandleMetalink Class Reference
#include <metalinker.h>
Static Public Member Functions | |
static bool | load (const KUrl &destination, Metalink *metalink) |
static bool | load (const QByteArray &data, Metalink *metalink) |
static bool | save (const KUrl &destination, Metalink *metalink) |
Detailed Description
This class can handle the loading and saving of metalinks on the filesystem.
Definition at line 382 of file metalinker.h.
Member Function Documentation
|
static |
Loads destination into metalink.
- Parameters
-
destination the place of the metalink in the filesystem metalink the instance of Metalink where the metalink will be stored
- Returns
- return true if it worked
Definition at line 1232 of file metalinker.cpp.
|
static |
Loads data into metalink.
- Parameters
-
data the contents of a metalink metalink the instance of Metalink where the metalink will be stored
- Returns
- return true if it worked
Definition at line 1265 of file metalinker.cpp.
|
static |
Saves metalink to destination.
- Parameters
-
destination the place where the metlink will be saved, the ending defines what version should be used: *.meta4 –> Metalink 4.0; *.metalink –> Metalink 3.0 metalink the instance of metalink that will be written to the filesystem
- Returns
- return true if it worked
Definition at line 1296 of file metalinker.cpp.
The documentation for this class was generated from the following files:
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.