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

KCal Library

  • kcal
assignmentvisitor.h
1/*
2 Copyright (c) 2009 Kevin Krammer <kevin.krammer@gmx.at>
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_ASSIGNMENTVISITOR_H
21#define KCAL_ASSIGNMENTVISITOR_H
22
23#include "kcal_export.h"
24
25#include "incidencebase.h"
26
27namespace KCal {
28
54class KCAL_DEPRECATED_EXPORT AssignmentVisitor : public IncidenceBase::Visitor
55{
56 public:
60 AssignmentVisitor();
61
65 virtual ~AssignmentVisitor();
66
82 bool assign( IncidenceBase *target, const IncidenceBase *source );
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( AssignmentVisitor )
123};
124
125}
126
127#endif
128// kate: space-indent on; indent-width 2; replace-tabs on;
KCal::AssignmentVisitor
Helper for type correct assignment of incidences via pointers.
Definition: assignmentvisitor.h:55
KCal::Event
This class provides an Event in the sense of RFC2445.
Definition: event.h:42
KCal::FreeBusy
Provides information about the free/busy time of a calendar.
Definition: freebusy.h:51
KCal::IncidenceBase::Visitor
This class provides the interface for a visitor of calendar components.
Definition: incidencebase.h:113
KCal::IncidenceBase
An abstract class that provides a common base for all calendar incidence classes.
Definition: incidencebase.h:103
KCal::Journal
Provides a Journal in the sense of RFC2445.
Definition: journal.h:44
KCal::Todo
Provides a To-do in the sense of RFC2445.
Definition: todo.h:45
incidencebase.h
This file is part of the API for handling calendar data and defines the IncidenceBase class.
This file is part of the KDE documentation.
Documentation copyright © 1996-2022 The KDE developers.
Generated on Thu Jul 21 2022 00:00:00 by doxygen 1.9.5 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-4.14.10 API Reference

Skip menu "kdepimlibs-4.14.10 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
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