Syndication Library
11 #ifndef SYNDICATION_LOADER_H
12 #define SYNDICATION_LOADER_H
14 #include <syndication/global.h>
15 #include <boost/shared_ptr.hpp>
17 #include "ksyndication_export.h"
19 #include <QtCore/QObject>
23 namespace Syndication {
28 typedef boost::shared_ptr<Feed> FeedPtr;
75 class SYNDICATION_EXPORT
Loader :
public QObject
99 static Loader* create(QObject*
object,
const char* slot);
124 void loadFrom(
const KUrl& url);
136 int retrieverError()
const;
141 KUrl discoveredFeedURL()
const;
164 Syndication::FeedPtr feed,
169 void slotRetrieverDone(
const QByteArray& data,
bool success);
177 void discoverFeeds(
const QByteArray& data);
179 struct LoaderPrivate;
180 LoaderPrivate*
const d;
186 #endif // SYNDICATION_LOADER_H
This class is the preferred way of loading feed sources.
ErrorCode
error code indicating fetching or parsing errors
Abstract baseclass for all data retriever classes.
This file is part of the KDE documentation.
Documentation copyright © 1996-2013 The KDE developers.
Generated on Tue Nov 26 2013 09:02:40 by
doxygen 1.8.5 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.