syndication/rdf
dublincore.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 00023 #ifndef SYNDICATION_RDF_DUBLINCORE_H 00024 #define SYNDICATION_RDF_DUBLINCORE_H 00025 00026 #include <syndication/rdf/resourcewrapper.h> 00027 00028 #include <ctime> 00029 00030 class QString; 00031 class QStringList; 00032 00033 namespace Syndication { 00034 namespace RDF { 00035 00036 class Resource; 00037 //@cond PRIVATE 00038 typedef boost::shared_ptr<Resource> ResourcePtr; 00039 //@endcond 00040 00048 class SYNDICATION_EXPORT DublinCore : public ResourceWrapper 00049 { 00050 public: 00051 00057 explicit DublinCore(ResourcePtr resource); 00058 00062 virtual ~DublinCore(); 00063 00069 QString title() const; 00070 00079 QString creator() const; 00080 00085 QStringList creators() const; 00086 00094 time_t date() const; 00095 00102 QString description() const; 00103 00112 QString subject() const; 00113 00118 QStringList subjects() const; 00119 00127 QString contributor() const; 00128 00133 QStringList contributors() const; 00134 00146 QString rights() const; 00147 00148 00159 QString language() const; 00160 00161 00174 QString coverage() const; 00175 00176 00187 QString format() const; 00188 00199 QString identifier() const; 00200 00201 00208 QString publisher() const; 00209 00216 QString relation() const; 00217 00226 QString source() const; 00227 00237 QString type() const; 00238 00245 QString debugInfo() const; 00246 }; 00247 00248 } // namespace RDF 00249 } // namespace Syndication 00250 00251 #endif // SYNDICATION_RDF_DUBLINCORE_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.