• Skip to content
  • Skip to link menu
KDE 4.2 API Reference
  • KDE API Reference
  • kdepim
  • Sitemap
  • Contact Us
 

akonadi/kcal

kcalmimetypevisitor.h

Go to the documentation of this file.
00001 /*
00002     Copyright (c) 2008 Kevin Krammer <kevin.krammer@gmx.at>
00003 
00004     This library is free software; you can redistribute it and/or modify it
00005     under the terms of the GNU Library General Public License as published by
00006     the Free Software Foundation; either version 2 of the License, or (at your
00007     option) any later version.
00008 
00009     This library is distributed in the hope that it will be useful, but WITHOUT
00010     ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
00011     FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Library General Public
00012     License for more details.
00013 
00014     You should have received a copy of the GNU Library General Public License
00015     along with this library; see the file COPYING.LIB.  If not, write to the
00016     Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
00017     02110-1301, USA.
00018 */
00019 
00020 #ifndef KCALMIMETYPEVISITOR_H
00021 #define KCALMIMETYPEVISITOR_H
00022 
00023 #include "akonadi-kcal_export.h"
00024 
00025 #include <kcal/incidencebase.h>
00026 
00027 namespace Akonadi {
00028 
00050 class AKONADI_KCAL_EXPORT KCalMimeTypeVisitor : public KCal::IncidenceBase::Visitor
00051 {
00052 public:
00058     KCalMimeTypeVisitor();
00059 
00063     virtual ~KCalMimeTypeVisitor();
00064 
00073     virtual bool visit( KCal::Event *event );
00074 
00083     virtual bool visit( KCal::Todo *todo );
00084 
00093     virtual bool visit( KCal::Journal *journal );
00094 
00103     virtual bool visit( KCal::FreeBusy *freebusy );
00104 
00112     QString mimeType() const;
00113 
00117     QStringList allMimeTypes() const;
00118 
00128     QString mimeType( KCal::IncidenceBase *incidence );
00129 
00130   private:
00131     //@cond PRIVATE
00132     class Private;
00133     Private *const d;
00134     //@endcond
00135 
00136     Q_DISABLE_COPY( KCalMimeTypeVisitor )
00137 };
00138 
00139 }
00140 
00141 #endif

akonadi/kcal

Skip menu "akonadi/kcal"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Class Members

kdepim

Skip menu "kdepim"
  • akonadi
  •   clients
  •   kabc
  •   kcal
  •   kcm
  • akregator
  • console
  •   kabcclient
  •   konsolekalendar
  • kaddressbook
  • kalarm
  •   lib
  • kdgantt
  • kdgantt1
  • kjots
  • kleopatra
  • kmail
  • kmobiletools
  • knode
  • knotes
  • kontact
  • kontactinterfaces
  • korganizer
  •   korgac
  • kpilot
  • ktimetracker
  •   doc
  • libkdepim
  • libkholidays
  • libkleo
  • libkpgp
  • maildir
Generated for kdepim by doxygen 1.5.4
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