syndication/atom
23 #include "generator.h"
24 #include "constants.h"
26 #include <QtCore/QString>
28 namespace Syndication {
41 return completeURI(attribute(QLatin1String(
"uri")));
51 return attribute(QLatin1String(
"version"));
57 info += QLatin1String(
"### Generator: ###################\n");
58 if (!
name().isEmpty())
59 info += QLatin1String(
"name: #") +
name() + QLatin1String(
"#\n");
61 info += QLatin1String(
"uri: #") +
uri() + QLatin1String(
"#\n");
63 info += QLatin1String(
"version: #") +
version() + QLatin1String(
"#\n");
64 info += QLatin1String(
"### Generator end ################\n");
QString name() const
human-readable name of the generator.
QString uri() const
A URI for the generator (e.g.
QString debugInfo() const
a description of this generator for debugging purposes.
QString version() const
version of the agent (optional)
Generator()
default constructor, creates a null generator
This file is part of the KDE documentation.
Documentation copyright © 1996-2013 The KDE developers.
Generated on Tue Nov 26 2013 09:02:42 by
doxygen 1.8.5 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.