syndication/rdf
rssvocab.h
00001 /* 00002 * This file is part of the syndication library 00003 * 00004 * Copyright (C) 2006 Frank Osterfeld <osterfeld@kde.org> 00005 * 00006 * This library is free software; you can redistribute it and/or 00007 * modify it under the terms of the GNU Library General Public 00008 * License as published by the Free Software Foundation; either 00009 * version 2 of the License, or (at your option) any later version. 00010 * 00011 * This library is distributed in the hope that it will be useful, 00012 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00013 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00014 * Library General Public License for more details. 00015 * 00016 * You should have received a copy of the GNU Library General Public License 00017 * along with this library; see the file COPYING.LIB. If not, write to 00018 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 00019 * Boston, MA 02110-1301, USA. 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 //@cond PRIVATE 00039 class Property; 00040 typedef boost::shared_ptr<Property> PropertyPtr; 00041 class Resource; 00042 typedef boost::shared_ptr<Resource> ResourcePtr; 00043 //@endcond 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 } // namespace RDF 00237 } // namespace Syndication 00238 00239 #endif // SYNDICATION_RDF_RSSVOCAB_H
This file is part of the KDE documentation.
Documentation copyright © 1996-2012 The KDE developers.
Generated on Mon May 7 2012 23:57:54 by doxygen 1.8.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2012 The KDE developers.
Generated on Mon May 7 2012 23:57:54 by doxygen 1.8.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.