• Skip to content
  • Skip to link menu
  • KDE API Reference
  • kdepimlibs-4.10.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:
Syndication::DataRetriever

List of all members.

Public Member Functions

 OutputRetriever ()
virtual ~OutputRetriever ()
virtual void abort ()
virtual int errorCode () const
virtual void retrieveData (const KUrl &url)
- Public Member Functions inherited from Syndication::DataRetriever
 DataRetriever ()
virtual ~DataRetriever ()

Additional Inherited Members

- Signals inherited from Syndication::DataRetriever
void dataRetrieved (const QByteArray &data, bool success)

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

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-2013 The KDE developers.
Generated on Wed Jul 24 2013 01:05:45 by doxygen 1.8.1.1 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.10.5 API Reference

Skip menu "kdepimlibs-4.10.5 API Reference"
  • akonadi
  •   contact
  •   kmime
  •   socialutils
  • kabc
  • kalarmcal
  • kblog
  • kcal
  • kcalcore
  • kcalutils
  • kholidays
  • kimap
  • kioslave
  •   imap4
  •   mbox
  •   nntp
  • kldap
  • kmbox
  • kmime
  • kontactinterface
  • kpimidentities
  • kpimtextedit
  • 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