• Skip to content
  • Skip to link menu
KDE 4.4 API Reference
  • KDE API Reference
  • KDE-PIM Libraries
  • Sitemap
  • Contact Us
 

Syndication Library

Syndication::OutputRetriever

Syndication::OutputRetriever Class Reference

Implements a data retriever which executes a program and stores returned by the program on stdout. More...

#include <dataretriever.h>

Inheritance diagram for Syndication::OutputRetriever:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 OutputRetriever ()
virtual ~OutputRetriever ()
virtual void abort ()
virtual int errorCode () const
virtual void retrieveData (const KUrl &url)

Detailed Description

Implements a data retriever which executes a program and stores returned by the program on stdout.

To be used with Loader::loadFrom().

See also:
DataRetriever, Loader::loadFrom()

Definition at line 100 of file dataretriever.h.


Constructor & Destructor Documentation

Syndication::OutputRetriever::OutputRetriever (  ) 

Default constructor.

Definition at line 158 of file dataretriever.cpp.

Syndication::OutputRetriever::~OutputRetriever (  )  [virtual]

Destructor.

Definition at line 162 of file dataretriever.cpp.


Member Function Documentation

virtual void Syndication::OutputRetriever::abort (  )  [inline, virtual]

aborts the retrieval process.

Implements Syndication::DataRetriever.

Definition at line 133 of file dataretriever.h.

int Syndication::OutputRetriever::errorCode (  )  const [virtual]
Returns:
The error code for the last process of retrieving data. 0 is returned in case there was no error, otherwise an error code which depends on the particular program which was run is returned.

Implements Syndication::DataRetriever.

Definition at line 183 of file dataretriever.cpp.

void Syndication::OutputRetriever::retrieveData ( const KUrl &  url  )  [virtual]

Executes the program referenced by the given URL and retrieves the data which the program prints to stdout.

Parameters:
url An URL which is supposed to reference an executable file.
See also:
Loader::loadFrom()

Implements Syndication::DataRetriever.

Definition at line 167 of file dataretriever.cpp.


The documentation for this class was generated from the following files:
  • dataretriever.h
  • dataretriever.cpp

Syndication Library

Skip menu "Syndication Library"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

KDE-PIM Libraries

Skip menu "KDE-PIM Libraries"
  • akonadi
  •   contact
  •   kmime
  • kabc
  • kblog
  • kcal
  • kholidays
  • kimap
  • kioslave
  •   imap4
  •   mbox
  •   nntp
  • kldap
  • kmime
  • kontactinterface
  • kpimidentities
  • kpimtextedit
  •   richtextbuilders
  • kpimutils
  • kresources
  • ktnef
  • kxmlrpcclient
  • mailtransport
  • microblog
  • qgpgme
  • syndication
  •   atom
  •   rdf
  •   rss2
Generated for KDE-PIM Libraries by doxygen 1.6.2-20100208
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal