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

syndication/rdf

document.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_DOCUMENT_H
00024 #define SYNDICATION_RDF_DOCUMENT_H
00025 
00026 #include <syndication/rdf/resourcewrapper.h>
00027 
00028 #include <syndication/specificdocument.h>
00029 
00030 template <class T> class QList;
00031 
00032 namespace Syndication {
00033 namespace RDF {
00034 
00035 class Document;
00036 class DublinCore;
00037 class Image;
00038 class Item;
00039 class SyndicationInfo;
00040 class TextInput;
00041 //@cond PRIVATE
00042 typedef boost::shared_ptr<Document> DocumentPtr;
00043 //@endcond
00044 
00050 class SYNDICATION_EXPORT Document : public Syndication::SpecificDocument, public ResourceWrapper
00051 {
00052 
00053     public:
00054 
00058         Document();
00059         
00065         explicit Document(ResourcePtr resource);
00066         
00072         Document(const Document& other);
00073         
00077         virtual ~Document();
00078 
00085         bool operator==(const Document& other) const;
00086         
00092         Document& operator=(const Document& other);
00093         
00099         virtual bool accept(DocumentVisitor* visitor);
00100 
00106         bool isValid() const;
00107 
00113         QString title() const;
00114         
00120         QString description() const;
00121 
00126         QString link() const;
00127 
00131         DublinCore dc() const;
00132 
00137         SyndicationInfo syn() const;
00138 
00142         QList<Item> items() const;
00143 
00147         Image image() const;
00148 
00152         TextInput textInput() const;
00153 //@cond PRIVATE
00161         void getItemTitleFormatInfo(bool* containsMarkup) const;
00162 
00170         void getItemDescriptionFormatInfo(bool* containsMarkup) const;
00171 //@endcond PRIVATE
00172         
00178         virtual QString debugInfo() const;
00179 
00180     private:
00181         class Private;
00182         Private* d;
00183 };
00184 
00185 } // namespace RDF
00186 } // namespace Syndication
00187 
00188 #endif //  SYNDICATION_RDF_DOCUMENT_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
  • kpimutils
  • kresources
  • ktnef
  • kxmlrpcclient
  • mailtransport
  • qgpgme
  • syndication
  •   atom
  •   rdf
  •   rss2
Generated for KDE-PIM Libraries by doxygen 1.5.7.1
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