Syndication Library
dataretriever.h
virtual void retrieveData(const KUrl &url)=0
Retrieve data from the given URL.
virtual int errorCode() const =0
void dataRetrieved(const QByteArray &data, bool success)
Emit this signal to tell the Loader class that the retrieval process was finished.
virtual void retrieveData(const KUrl &url)
Downloads the file referenced by the given URL and passes it's contents on to the Loader.
Definition dataretriever.cpp:74
void permanentRedirection(const KUrl &url)
Signals a permanent redirection.
static void setUserAgent(const QString &userAgent)
sets the user agent string sent to the remote server
Definition dataretriever.cpp:64
static void setUseCache(bool enabled)
sets whether the retriever should use the KHTML cache or always refetch the file.
Definition dataretriever.cpp:69
Implements a data retriever which executes a program and stores returned by the program on stdout.
Definition dataretriever.h:101
virtual int errorCode() const
Definition dataretriever.cpp:192
virtual void retrieveData(const KUrl &url)
Executes the program referenced by the given URL and retrieves the data which the program prints to s...
Definition dataretriever.cpp:176
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 17 2025 00:00:00 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 17 2025 00:00:00 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.