• Skip to content
  • Skip to link menu
  • KDE API Reference
  • kdepimlibs-4.8.3 API Reference
  • KDE Home
  • 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 Model;
00037 class DublinCore;
00038 class Image;
00039 class Item;
00040 class SyndicationInfo;
00041 class TextInput;
00042 //@cond PRIVATE
00043 typedef boost::shared_ptr<Document> DocumentPtr;
00044 //@endcond
00045 
00051 class SYNDICATION_EXPORT Document : public Syndication::SpecificDocument, public ResourceWrapper
00052 {
00053     friend class ::Syndication::RDF::Model;
00054     public:
00055 
00059         Document();
00060         
00066         explicit Document(ResourcePtr resource);
00067         
00073         Document(const Document& other);
00074         
00078         virtual ~Document();
00079 
00086         bool operator==(const Document& other) const;
00087         
00093         Document& operator=(const Document& other);
00094         
00100         virtual bool accept(DocumentVisitor* visitor);
00101 
00107         bool isValid() const;
00108 
00114         QString title() const;
00115         
00121         QString description() const;
00122 
00127         QString link() const;
00128 
00132         DublinCore dc() const;
00133 
00138         SyndicationInfo syn() const;
00139 
00143         QList<Item> items() const;
00144 
00148         Image image() const;
00149 
00153         TextInput textInput() const;
00154 //@cond PRIVATE
00162         void getItemTitleFormatInfo(bool* containsMarkup) const;
00163 
00171         void getItemDescriptionFormatInfo(bool* containsMarkup) const;
00172 //@endcond PRIVATE
00173         
00179         virtual QString debugInfo() const;
00180 
00181     private:
00182         class Private;
00183         Private* const d;
00184 };
00185 
00186 } // namespace RDF
00187 } // namespace Syndication
00188 
00189 #endif //  SYNDICATION_RDF_DOCUMENT_H
This file is part of the KDE documentation.
Documentation copyright © 1996-2012 The KDE developers.
Generated on Mon May 14 2012 04:47:16 by doxygen 1.7.5 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

syndication/rdf

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

kdepimlibs-4.8.3 API Reference

Skip menu "kdepimlibs-4.8.3 API Reference"
  • akonadi
  •   contact
  •   kmime
  • kabc
  • kalarmcal
  • kblog
  • kcal
  • kcalcore
  • kcalutils
  • kholidays
  • kimap
  • kioslave
  •   imap4
  •   mbox
  •   nntp
  • kldap
  • kmbox
  • kmime
  • kontactinterface
  • kpimidentities
  • kpimtextedit
  •   richtextbuilders
  • kpimutils
  • kresources
  • ktnef
  • kxmlrpcclient
  • mailtransport
  • microblog
  • qgpgme
  • syndication
  •   atom
  •   rdf
  •   rss2
Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal