Syndication Library
documentsource.cpp
51DocumentSource::DocumentSource(const QByteArray& source, const QString& url) : d(new DocumentSourcePrivate)
Represents the source of a syndication document, as read from the downloaded file.
Definition documentsource.h:51
QByteArray asByteArray() const
Returns the feed source as byte array.
Definition documentsource.cpp:74
QDomDocument asDomDocument() const
Returns the feed source as DOM document.
Definition documentsource.cpp:79
QString url() const
returns the URL the document source was loaded from
Definition documentsource.cpp:114
unsigned int hash() const
calculates a hash value for the source array.
Definition documentsource.cpp:103
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-2024 The KDE developers.
Generated on Wed Jan 24 2024 00:00:00 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Wed Jan 24 2024 00:00:00 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.