• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdenetwork API Reference
  • KDE Home
  • Contact Us
 

kget

  • KGetMetalink
  • HandleMetalink
Static Public Member Functions | List of all members
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

bool KGetMetalink::HandleMetalink::load ( const KUrl &  destination,
KGetMetalink::Metalink *  metalink 
)
static

Loads destination into metalink.

Parameters
destinationthe place of the metalink in the filesystem
metalinkthe instance of Metalink where the metalink will be stored
Returns
return true if it worked

Definition at line 1232 of file metalinker.cpp.

bool KGetMetalink::HandleMetalink::load ( const QByteArray &  data,
KGetMetalink::Metalink *  metalink 
)
static

Loads data into metalink.

Parameters
datathe contents of a metalink
metalinkthe instance of Metalink where the metalink will be stored
Returns
return true if it worked

Definition at line 1265 of file metalinker.cpp.

bool KGetMetalink::HandleMetalink::save ( const KUrl &  destination,
KGetMetalink::Metalink *  metalink 
)
static

Saves metalink to destination.

Parameters
destinationthe place where the metlink will be saved, the ending defines what version should be used: *.meta4 –> Metalink 4.0; *.metalink –> Metalink 3.0
metalinkthe 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:
  • metalinker.h
  • 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

KDE's Doxygen guidelines are available online.

kget

Skip menu "kget"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members

kdenetwork API Reference

Skip menu "kdenetwork API Reference"
  • kget
  • kopete
  •   kopete
  •   libkopete
  • krdc
  • krfb

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal