• Skip to content
  • Skip to link menu
  • KDE API Reference
  • kdepimlibs-4.8.5 API Reference
  • 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
This file is part of the KDE documentation.
Documentation copyright © 1996-2012 The KDE developers.
Generated on Thu Aug 2 2012 15:24:48 by doxygen 1.7.5 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

Syndication Library

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

kdepimlibs-4.8.5 API Reference

Skip menu "kdepimlibs-4.8.5 API Reference"
  • akonadi
  •   contact
  •   kmime
  • kabc
  • kalarmcal
  • 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
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