Syndication Library
loader.cpp
172 QRegExp rx( QLatin1String("(?:REL)[^=]*=[^sAa]*(?:service.feed|ALTERNATE)[\\s]*[^s][^s](?:[^>]*)(?:HREF)[^=]*=[^A-Z0-9-_~,./$]*([^'\">\\s]*)"), Qt::CaseInsensitive );
ErrorCode errorCode() const
Retrieves the error code of the last loading process (if any).
Definition: loader.cpp:98
QString & prepend(QChar ch)
KUrl discoveredFeedURL() const
returns the URL of a feed discovered in the feed source
Definition: loader.cpp:116
the host was contacted successfully, but reported a 404 error
Definition: global.h:95
Implements a file retriever, to be used with Loader::loadFrom().
Definition: dataretriever.h:150
Represents the source of a syndication document, as read from the downloaded file.
Definition: documentsource.h:50
void loadingComplete(Syndication::Loader *loader, Syndication::FeedPtr feed, Syndication::ErrorCode error)
This signal gets emitted when the loading process triggered by calling loadFrom() finished...
bool isNull() const
No error occurred, feed was fetched and parsed successfully.
Definition: global.h:87
void loadFrom(const KUrl &url, DataRetriever *retriever)
Loads the feed source referenced by the given URL using the specified retrieval algorithm.
Definition: loader.cpp:79
void append(const T &value)
retriever error not covered by the error codes above.
Definition: global.h:98
const char * constData() const
bool startsWith(const QString &s, Qt::CaseSensitivity cs) const
bool endsWith(const QString &s, Qt::CaseSensitivity cs) const
ParserCollection< Feed > * parserCollection()
The default ParserCollection instance parsing a DocumentSource into a Feed object.
Definition: global.cpp:55
QString fromLatin1(const char *str, int size)
const_iterator constEnd() const
const_iterator constBegin() const
Abstract baseclass for all data retriever classes.
Definition: dataretriever.h:36
bool connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
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.