Syndication Library
dataretriever.cpp
62 QString FileRetriever::m_userAgent = QString::fromLatin1("Syndication %1").arg(QString::fromLatin1(SYNDICATION_VERSION));
90 d->job->addMetaData(QLatin1String("cache"), m_useCache ? QLatin1String("refresh") : QLatin1String("reload"));
virtual int errorCode() const
Definition: dataretriever.cpp:113
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
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
static void setUseCache(bool enabled)
sets whether the retriever should use the KHTML cache or always refetch the file. ...
Definition: dataretriever.cpp:69
static void setUserAgent(const QString &userAgent)
sets the user agent string sent to the remote server
Definition: dataretriever.cpp:64
void permanentRedirection(const KUrl &url)
Signals a permanent redirection.
virtual int errorCode() const
Definition: dataretriever.cpp:192
char * data()
QString fromLatin1(const char *str, int size)
int size() const
bool connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
QString arg(qlonglong a, int fieldWidth, int base, const QChar &fillChar) const
singleShot
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:37:32 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:37:32 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.