syndication/rdf
syndicationinfo.cpp
45 return stringToPeriod(resource()->property(SyndicationVocab::self()->updatePeriod())->asString());
76 info += QString::fromLatin1("syn:updateFrequency: #%1#\n").arg(QString::number(updateFrequency()));
the feed is updated yearly
Definition: syndicationinfo.h:57
int updateFrequency() const
Used to describe the frequency of updates in relation to the update period.
Definition: syndicationinfo.cpp:48
QString debugInfo() const
description of the syndication information for debugging purposes
Definition: syndicationinfo.cpp:71
static QString periodToString(Period period)
returns Period value as string.
Definition: syndicationinfo.cpp:85
the feed is updated weekly
Definition: syndicationinfo.h:55
static Period stringToPeriod(const QString &str)
parses a Period value from a string.
Definition: syndicationinfo.cpp:104
bool isNull() const
QString number(int n, int base)
the feed is updated monthly
Definition: syndicationinfo.h:56
int toInt(bool *ok, int base) const
bool isEmpty() const
the feed is updated hourly
Definition: syndicationinfo.h:53
time_t updateBase() const
Defines a base date to be used in concert with updatePeriod and updateFrequency to calculate the publ...
Definition: syndicationinfo.cpp:64
SyndicationInfo()
creates a wrapper wrapping a null resource.
Period updatePeriod() const
Describes the period over which the channel format is updated.
Definition: syndicationinfo.cpp:43
QString fromLatin1(const char *str, int size)
QString arg(qlonglong a, int fieldWidth, int base, const QChar &fillChar) const
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:37:38 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:38 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.