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

KCalCore Library

  • sources
  • kde-4.12
  • kdepimlibs
  • kcalcore
schedulemessage.h
1 /*
2  This file is part of the kcalcore library.
3 
4  Copyright (c) 2001-2003 Cornelius Schumacher <schumacher@kde.org>
5 
6  This library is free software; you can redistribute it and/or
7  modify it under the terms of the GNU Library General Public
8  License as published by the Free Software Foundation; either
9  version 2 of the License, or (at your option) any later version.
10 
11  This library is distributed in the hope that it will be useful,
12  but WITHOUT ANY WARRANTY; without even the implied warranty of
13  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14  Library General Public License for more details.
15 
16  You should have received a copy of the GNU Library General Public License
17  along with this library; see the file COPYING.LIB. If not, write to
18  the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
19  Boston, MA 02110-1301, USA.
20 */
21 #ifndef KCALCORE_SCHEDULEMESSAGE_H
22 #define KCALCORE_SCHEDULEMESSAGE_H
23 
24 #include "incidencebase.h"
25 
26 #include "kcalcore_export.h"
27 
28 namespace KCalCore {
29 
30 class IncidenceBase;
31 
35 enum iTIPMethod {
36  iTIPPublish,
37  iTIPRequest,
38  iTIPReply,
39  iTIPAdd,
40  iTIPCancel,
41  iTIPRefresh,
42  iTIPCounter,
43  iTIPDeclineCounter,
44  iTIPNoMethod
45 };
46 
54 class KCALCORE_EXPORT ScheduleMessage
55 {
56 public:
60  enum Status {
61  PublishNew,
62  PublishUpdate,
63  Obsolete,
64  RequestNew,
65  RequestUpdate,
66  Unknown
67  };
68 
72  typedef QSharedPointer<ScheduleMessage> Ptr;
73 
80  ScheduleMessage(IncidenceBase::Ptr incidence, iTIPMethod method, Status status);
81 
85  ~ScheduleMessage();
86 
90  IncidenceBase::Ptr event() const;
91 
95  iTIPMethod method() const;
96 
101  static QString methodName(iTIPMethod method);
102 
106  Status status() const;
107 
111  QString error() const;
112 
113 private:
114  //@cond PRIVATE
115  Q_DISABLE_COPY(ScheduleMessage)
116  class Private;
117  Private *const d;
118  //@endcond
119 };
120 
121 }
122 
123 #endif
KCalCore::ScheduleMessage
A Scheduling message class.
Definition: schedulemessage.h:54
KCalCore::ScheduleMessage::Ptr
QSharedPointer< ScheduleMessage > Ptr
A shared pointer to a ScheduleMessage.
Definition: schedulemessage.h:72
KCalCore::IncidenceBase::Ptr
QSharedPointer< IncidenceBase > Ptr
A shared pointer to an IncidenceBase.
Definition: incidencebase.h:115
KCalCore::iTIPMethod
iTIPMethod
iTIP methods.
Definition: schedulemessage.h:35
KCalCore::iTIPCounter
Event or to-do submit counter proposal.
Definition: schedulemessage.h:42
KCalCore::ScheduleMessage::RequestNew
Request new message posting.
Definition: schedulemessage.h:64
KCalCore::iTIPNoMethod
No method.
Definition: schedulemessage.h:44
KCalCore::iTIPDeclineCounter
Event or to-do decline a counter proposal.
Definition: schedulemessage.h:43
KCalCore::iTIPReply
Event, to-do or freebusy reply to request.
Definition: schedulemessage.h:38
KCalCore::ScheduleMessage::Status
Status
Message status.
Definition: schedulemessage.h:60
incidencebase.h
This file is part of the API for handling calendar data and defines the IncidenceBase class...
KCalCore::iTIPCancel
Event, to-do or journal cancellation notice.
Definition: schedulemessage.h:40
KCalCore::ScheduleMessage::PublishNew
New message posting.
Definition: schedulemessage.h:61
KCalCore::ScheduleMessage::PublishUpdate
Updated message.
Definition: schedulemessage.h:62
KCalCore::iTIPAdd
Event, to-do or journal additional property request.
Definition: schedulemessage.h:39
KCalCore::ScheduleMessage::Obsolete
obsolete
Definition: schedulemessage.h:63
KCalCore::iTIPPublish
Event, to-do, journal or freebusy posting.
Definition: schedulemessage.h:36
KCalCore::iTIPRefresh
Event or to-do description update request.
Definition: schedulemessage.h:41
KCalCore::ScheduleMessage::RequestUpdate
Request updated message.
Definition: schedulemessage.h:65
KCalCore::iTIPRequest
Event, to-do or freebusy scheduling request.
Definition: schedulemessage.h:37
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:59:57 by doxygen 1.8.7 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 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