• Skip to content
  • Skip to link menu
KDE 4.7 API Reference
  • KDE API Reference
  • KDE-PIM Libraries
  • KDE Home
  • Contact Us
 

Syndication Library

  • Syndication
  • OutputRetriever
Public Member Functions
Syndication::OutputRetriever Class Reference

#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()

Constructor & Destructor Documentation

Syndication::OutputRetriever::OutputRetriever ( )

Default constructor.

Definition at line 167 of file dataretriever.cpp.

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

Destructor.

Definition at line 171 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 192 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:
urlAn URL which is supposed to reference an executable file.
See also:
Loader::loadFrom()

Implements Syndication::DataRetriever.

Definition at line 176 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
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • Related Pages

KDE-PIM Libraries

Skip menu "KDE-PIM Libraries"
  • akonadi
  •   contact
  •   kmime
  • kabc
  • kblog
  • kcal
  • kcalcore
  • kcalutils
  • kholidays
  • kimap
  • kioslave
  •   imap4
  •   mbox
  •   nntp
  • kldap
  • kmbox
  • kmime
  • kontactinterface
  • kpimidentities
  • kpimtextedit
  •   richtextbuilders
  • kpimutils
  • kresources
  • ktnef
  • kxmlrpcclient
  • mailtransport
  • microblog
  • qgpgme
  • syndication
  •   atom
  •   rdf
  •   rss2
Generated for KDE-PIM Libraries by doxygen 1.7.5
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