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");
Generator()
default constructor, creates a null generator
QString uri() const
A URI for the generator (e.g.
QString version() const
version of the agent (optional)
QString debugInfo() const
a description of this generator for debugging purposes.
QString name() const
human-readable name of the generator.
This file is part of the KDE documentation.
Documentation copyright © 1996-2022 The KDE developers.
Generated on Thu Jan 20 2022 00:00:00 by
doxygen 1.9.1 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.