Syndication Library
documentsource.cpp
51 DocumentSource::DocumentSource(const QByteArray& source, const QString& url) : d(new DocumentSourcePrivate)
QByteArray asByteArray() const
Returns the feed source as byte array.
Definition: documentsource.cpp:74
virtual void setData(const QString &dat)
QDomDocument asDomDocument() const
Returns the feed source as DOM document.
Definition: documentsource.cpp:79
Represents the source of a syndication document, as read from the downloaded file.
Definition: documentsource.h:50
unsigned int hash() const
calculates a hash value for the source array.
Definition: documentsource.cpp:103
virtual void setFeature(const QString &name, bool enable)
QString url() const
returns the URL the document source was loaded from
Definition: documentsource.cpp:114
unsigned int size() const
returns the size the source array in bytes.
Definition: documentsource.cpp:98
DocumentSource & operator=(const DocumentSource &other)
Assignment operator.
Definition: documentsource.cpp:68
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.