• 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.12
  • kdepimlibs
  • kcal
journal.h
Go to the documentation of this file.
1 /*
2  This file is part of the kcal library.
3 
4  Copyright (c) 2001-2003 Cornelius Schumacher <schumacher@kde.org>
5  Copyright (C) 2003-2004 Reinhold Kainhofer <reinhold@kainhofer.com>
6 
7  This library is free software; you can redistribute it and/or
8  modify it under the terms of the GNU Library General Public
9  License as published by the Free Software Foundation; either
10  version 2 of the License, or (at your option) any later version.
11 
12  This library is distributed in the hope that it will be useful,
13  but WITHOUT ANY WARRANTY; without even the implied warranty of
14  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15  Library General Public License for more details.
16 
17  You should have received a copy of the GNU Library General Public License
18  along with this library; see the file COPYING.LIB. If not, write to
19  the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
20  Boston, MA 02110-1301, USA.
21 */
30 #ifndef KCAL_JOURNAL_H
31 #define KCAL_JOURNAL_H
32 
33 #include "incidence.h"
34 #include <kpimutils/supertrait.h>
35 #include <QtCore/QByteArray>
36 
37 namespace KCal {
38 
43 class KCAL_DEPRECATED_EXPORT Journal : public Incidence
44 {
45  public:
49  typedef ListBase<Journal> List;
50 
54  typedef boost::shared_ptr<Journal> Ptr;
55 
59  typedef boost::shared_ptr<const Journal> ConstPtr;
60 
64  Journal();
65 
69  ~Journal();
70 
75  QByteArray type() const;
76 
81  //KDE5: QString typeStr() const;
82 
87  Journal *clone();
88 
92  Journal &operator=( const Journal &other );
93 
99  bool operator==( const Journal &journal ) const;
100 
101  private:
106  bool accept( Visitor &v ) { return v.visit( this ); }
107 
108  //@cond PRIVATE
109  class Private;
110  Private *const d;
111  //@endcond
112 };
113 
114 }
115 
116 //@cond PRIVATE
117 // super class trait specialization
118 namespace KPIMUtils {
119  template <> struct SuperClass<KCal::Journal> : public SuperClassTrait<KCal::Incidence>{};
120 }
121 //@endcond
122 
123 #endif
KCal::Journal::List
ListBase< Journal > List
List of journals.
Definition: journal.h:49
KCal::Journal::ConstPtr
boost::shared_ptr< const Journal > ConstPtr
A shared pointer to a non-mutable Journal object.
Definition: journal.h:59
KCal::IncidenceBase::Visitor
This class provides the interface for a visitor of calendar components.
Definition: incidencebase.h:112
KCal::Incidence
Provides the abstract base class common to non-FreeBusy (Events, To-dos, Journals) calendar component...
Definition: incidence.h:68
KCal::ListBase
This class provides a template for lists of pointers.
Definition: listbase.h:44
KCal::Journal
Provides a Journal in the sense of RFC2445.
Definition: journal.h:43
incidence.h
This file is part of the API for handling calendar data and defines the Incidence class...
KCal::Journal::Ptr
boost::shared_ptr< Journal > Ptr
A shared pointer to a Journal object.
Definition: journal.h:54
KCal::IncidenceBase::Visitor::visit
virtual bool visit(Event *event)
Reimplement this function in your concrete subclass of IncidenceBase::Visitor to perform actions on a...
Definition: incidencebase.cpp:513
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:00:58 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
  • kldap
  • kmbox
  • kmime
  • kpimidentities
  • kpimtextedit
  • kresources
  • ktnef
  • kxmlrpcclient
  • microblog

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