• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdepimlibs API Reference
  • KDE Home
  • Contact Us
 

KCal Library

  • sources
  • kde-4.14
  • kdepimlibs
  • kcal
comparisonvisitor.h
1 /*
2  Copyright 2009 Ingo Klöcker <kloecker@kde.org>
3 
4  This library is free software; you can redistribute it and/or modify it
5  under the terms of the GNU Library General Public License as published by
6  the Free Software Foundation; either version 2 of the License, or (at your
7  option) any later version.
8 
9  This library is distributed in the hope that it will be useful, but WITHOUT
10  ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11  FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public
12  License for more details.
13 
14  You should have received a copy of the GNU Library General Public License
15  along with this library; see the file COPYING.LIB. If not, write to the
16  Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
17  02110-1301, USA.
18 */
19 
20 #ifndef KCAL_COMPARISONVISITOR_H
21 #define KCAL_COMPARISONVISITOR_H
22 
23 #include "kcal_export.h"
24 #include "incidencebase.h"
25 
26 namespace KCal {
27 
53 class KCAL_DEPRECATED_EXPORT ComparisonVisitor : public IncidenceBase::Visitor
54 {
55  public:
59  ComparisonVisitor();
60 
64  virtual ~ComparisonVisitor();
65 
82  bool compare( IncidenceBase *incidence, const IncidenceBase *reference );
83 
90  virtual bool visit( Event *event );
91 
98  virtual bool visit( Todo *todo );
99 
106  virtual bool visit( Journal *journal );
107 
114  virtual bool visit( FreeBusy *freebusy );
115 
116  private:
117  //@cond PRIVATE
118  class Private;
119  Private *const d;
120  //@endcond
121 
122  Q_DISABLE_COPY( ComparisonVisitor )
123 };
124 
125 }
126 
127 #endif // KCAL_COMPARISONVISITOR_H
KCal::Todo
Provides a To-do in the sense of RFC2445.
Definition: todo.h:44
KCal::IncidenceBase
An abstract class that provides a common base for all calendar incidence classes. ...
Definition: incidencebase.h:102
KCal::Event
This class provides an Event in the sense of RFC2445.
Definition: event.h:41
KCal::IncidenceBase::Visitor
This class provides the interface for a visitor of calendar components.
Definition: incidencebase.h:112
KCal::ComparisonVisitor
Helper for type correct comparison of incidences via pointers.
Definition: comparisonvisitor.h:53
KCal::Journal
Provides a Journal in the sense of RFC2445.
Definition: journal.h:43
incidencebase.h
This file is part of the API for handling calendar data and defines the IncidenceBase class...
KCal::FreeBusy
Provides information about the free/busy time of a calendar.
Definition: freebusy.h:50
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:38:29 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

KCal Library

Skip menu "KCal Library"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kdepimlibs API Reference

Skip menu "kdepimlibs API Reference"
  • akonadi
  •   contact
  •   kmime
  •   socialutils
  • kabc
  • kalarmcal
  • kblog
  • kcal
  • kcalcore
  • kcalutils
  • kholidays
  • kimap
  • kioslave
  •   imap4
  •   mbox
  •   nntp
  • kldap
  • kmbox
  • kmime
  • kontactinterface
  • kpimidentities
  • kpimtextedit
  • kpimutils
  • kresources
  • ktnef
  • kxmlrpcclient
  • mailtransport
  • microblog
  • qgpgme
  • syndication
  •   atom
  •   rdf
  •   rss2

Search



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