syndication/rdf
rssvocab.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022 #ifndef SYNDICATION_RDF_RSSVOCAB_H
00023 #define SYNDICATION_RDF_RSSVOCAB_H
00024
00025 #include <syndication/ksyndication_export.h>
00026
00027 class QString;
00028 class QStringList;
00029
00030 namespace boost {
00031 template <class T> class shared_ptr;
00032 }
00033
00034 namespace Syndication {
00035
00036 namespace RDF {
00037
00038
00039 class Property;
00040 typedef boost::shared_ptr<Property> PropertyPtr;
00041 class Resource;
00042 typedef boost::shared_ptr<Resource> ResourcePtr;
00043
00044
00051 class SYNDICATION_EXPORT RSSVocab
00052 {
00053 public:
00054
00058 ~RSSVocab();
00059
00063 static RSSVocab* self();
00064
00069 const QString& namespaceURI() const;
00070
00075 PropertyPtr title() const;
00076
00081 PropertyPtr description() const;
00082
00087 PropertyPtr link() const;
00088
00093 PropertyPtr name() const;
00094
00099 PropertyPtr url() const;
00100
00105 ResourcePtr channel() const;
00106
00111 ResourcePtr item() const;
00112
00117 PropertyPtr items() const;
00118
00123 PropertyPtr image() const;
00124
00129 PropertyPtr textinput() const;
00130
00131 private:
00132 RSSVocab();
00133
00134 class RSSVocabPrivate;
00135 RSSVocabPrivate * const d;
00136 };
00137
00145 class SYNDICATION_EXPORT RSS09Vocab
00146 {
00147 public:
00148
00152 ~RSS09Vocab();
00153
00157 static RSS09Vocab* self();
00158
00163 const QString& namespaceURI() const;
00164
00169 PropertyPtr title() const;
00170
00175 PropertyPtr description() const;
00176
00181 PropertyPtr link() const;
00182
00187 PropertyPtr name() const;
00188
00193 PropertyPtr url() const;
00194
00199 ResourcePtr channel() const;
00200
00205 ResourcePtr item() const;
00206
00211 PropertyPtr image() const;
00212
00217 PropertyPtr textinput() const;
00218
00222 QStringList properties() const;
00223
00227 QStringList classes() const;
00228
00229 private:
00230 RSS09Vocab();
00231
00232 class RSS09VocabPrivate;
00233 RSS09VocabPrivate * const d;
00234 };
00235
00236 }
00237 }
00238
00239 #endif // SYNDICATION_RDF_RSSVOCAB_H