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

KCalCore Library

  • kcalcore
compat.h
Go to the documentation of this file.
1 /*
2  This file is part of the kcalcore library.
3 
4  Copyright (c) 2002 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 */
31 #ifndef KCALCORE_COMPAT_P_H
32 #define KCALCORE_COMPAT_P_H
33 
34 #include "incidence.h"
35 
36 #include <QtCore/QtGlobal> // for Q_DISABLE_COPY()
37 
38 class QDate;
39 class QString;
40 
41 namespace KCalCore {
42 
43 class Compat;
44 
51 class CompatFactory
52 {
53  public:
61  static Compat *createCompat( const QString &productId );
62 };
63 
70 class Compat
71 {
72  public:
76  Compat();
77 
81  virtual ~Compat();
82 
88  virtual void fixRecurrence( const Incidence::Ptr &incidence );
89 
95  virtual void fixEmptySummary( const Incidence::Ptr &incidence );
96 
102  virtual void fixAlarms( const Incidence::Ptr &incidence );
103 
108  virtual void fixFloatingEnd( QDate &date );
109 
115  virtual int fixPriority( int priority );
116 
120  virtual bool useTimeZoneShift();
121 
122  private:
123  //@cond PRIVATE
124  Q_DISABLE_COPY( Compat )
125  class Private;
126  Private *d;
127  //@endcond
128 };
129 
140 class CompatPre35 : public Compat
141 {
142  public:
147  virtual void fixRecurrence( const Incidence::Ptr &incidence );
148 
149  private:
150  //@cond PRIVATE
151  class Private;
152  Private *d;
153  //@endcond
154 };
155 
160 class CompatPre34 : public CompatPre35
161 {
162  public:
167  virtual int fixPriority( int priority );
168 
169  private:
170  //@cond PRIVATE
171  class Private;
172  Private *d;
173  //@endcond
174 };
175 
185 class CompatPre32 : public CompatPre34
186 {
187  public:
192  virtual void fixRecurrence( const Incidence::Ptr &incidence );
193 
194  private:
195  //@cond PRIVATE
196 
197  class Private;
198  Private *d;
199  //@endcond
200 };
201 
217 class CompatPre31 : public CompatPre32
218 {
219  public:
224  virtual void fixFloatingEnd( QDate &date );
225 
230  virtual void fixRecurrence( const Incidence::Ptr &incidence );
231 
232  private:
233  //@cond PRIVATE
234  class Private;
235  Private *d;
236  //@endcond
237 };
238 
243 class Compat32PrereleaseVersions : public Compat
244 {
245  public:
250  virtual bool useTimeZoneShift();
251 
252  private:
253  //@cond PRIVATE
254  class Private;
255  Private *d;
256  //@endcond
257 };
258 
267 class CompatOutlook9 : public Compat
268 {
269  public:
274  virtual void fixAlarms( const Incidence::Ptr &incidence );
275 
276  private:
277  //@cond PRIVATE
278  class Private;
279  Private *d;
280  //@endcond
281 };
282 
283 }
284 
285 #endif
This file is part of the KDE documentation.
Documentation copyright © 1996-2012 The KDE developers.
Generated on Mon Nov 26 2012 16:46:19 by doxygen 1.8.1.2 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

KCalCore Library

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

kdepimlibs-4.9.3 API Reference

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