• Skip to content
  • Skip to link menu
KDE 4.2 API Reference
  • KDE API Reference
  • KDE-PIM Libraries
  • Sitemap
  • Contact Us
 

syndication/rdf

item.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_ITEM_H
00023 #define SYNDICATION_RDF_ITEM_H
00024 
00025 #include <syndication/rdf/document.h>
00026 #include <syndication/rdf/resourcewrapper.h>
00027 
00028 #include <syndication/specificitem.h>
00029 
00030 class QString;
00031 
00032 namespace Syndication {
00033 
00034 class SpecificItemVisitor;
00035 
00036 namespace RDF {
00037 
00038 class DublinCore;
00039 class Item;
00040 
00048 class SYNDICATION_EXPORT Item : public ResourceWrapper, public SpecificItem
00049 {
00050 
00051     public:
00052 
00057         Item();
00058 
00066         explicit Item(ResourcePtr resource, DocumentPtr doc=DocumentPtr());
00067 
00073         Item(const Item& other);
00074         
00078         virtual ~Item();
00079 
00085         Item& operator=(const Item& other);
00086         
00094         bool operator==(const Item& other) const;
00095         
00102         bool accept(SpecificItemVisitor* visitor);
00103 
00109         QString title() const;
00110 
00118         QString description() const;
00119 
00126         QString link() const;
00127 
00133         DublinCore dc() const;
00134 
00140         QString encodedContent() const;
00141 
00142         //@cond PRIVATE
00148         QString originalTitle() const;
00149         
00155         QString originalDescription() const;
00156         
00157         //@endcond
00158         
00164         QString debugInfo() const;
00165         
00166     private:
00167         
00168         class Private;
00169         Private* d;
00170 };
00171 
00172 } // namespace RDF
00173 } // namespace Syndication
00174 
00175 #endif //  SYNDICATION_RDF_ITEM_H

syndication/rdf

Skip menu "syndication/rdf"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Class Members

KDE-PIM Libraries

Skip menu "KDE-PIM Libraries"
  • akonadi
  • kabc
  • kblog
  • kcal
  • kimap
  • kioslave
  •   imap4
  •   mbox
  • kldap
  • kmime
  • kpimidentities
  •   richtextbuilders
  • kpimutils
  • kresources
  • ktnef
  • kxmlrpcclient
  • mailtransport
  • qgpgme
  • syndication
  •   atom
  •   rdf
  •   rss2
Generated for KDE-PIM Libraries by doxygen 1.5.7
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal