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

KCalCore Library

  • 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
28namespace KCalCore {
29
30class IncidenceBase;
31
35enum iTIPMethod {
36 iTIPPublish,
37 iTIPRequest,
38 iTIPReply,
39 iTIPAdd,
40 iTIPCancel,
41 iTIPRefresh,
42 iTIPCounter,
43 iTIPDeclineCounter,
44 iTIPNoMethod
45};
46
54class KCALCORE_EXPORT ScheduleMessage
55{
56public:
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
113private:
114 //@cond PRIVATE
115 Q_DISABLE_COPY(ScheduleMessage)
116 class Private;
117 Private *const d;
118 //@endcond
119};
120
121}
122
123#endif
KCalCore::IncidenceBase::Ptr
QSharedPointer< IncidenceBase > Ptr
A shared pointer to an IncidenceBase.
Definition incidencebase.h:115
KCalCore::ScheduleMessage
A Scheduling message class.
Definition schedulemessage.h:55
KCalCore::ScheduleMessage::Ptr
QSharedPointer< ScheduleMessage > Ptr
A shared pointer to a ScheduleMessage.
Definition schedulemessage.h:72
KCalCore::ScheduleMessage::Status
Status
Message status.
Definition schedulemessage.h:60
KCalCore::ScheduleMessage::RequestNew
@ RequestNew
Request new message posting.
Definition schedulemessage.h:64
KCalCore::ScheduleMessage::RequestUpdate
@ RequestUpdate
Request updated message.
Definition schedulemessage.h:65
KCalCore::ScheduleMessage::PublishNew
@ PublishNew
New message posting.
Definition schedulemessage.h:61
KCalCore::ScheduleMessage::PublishUpdate
@ PublishUpdate
Updated message.
Definition schedulemessage.h:62
KCalCore::ScheduleMessage::Obsolete
@ Obsolete
obsolete
Definition schedulemessage.h:63
incidencebase.h
This file is part of the API for handling calendar data and defines the IncidenceBase class.
KCalCore
TODO: KDE5:
Definition alarm.h:47
KCalCore::iTIPMethod
iTIPMethod
iTIP methods.
Definition schedulemessage.h:35
KCalCore::iTIPRefresh
@ iTIPRefresh
Event or to-do description update request.
Definition schedulemessage.h:41
KCalCore::iTIPCounter
@ iTIPCounter
Event or to-do submit counter proposal.
Definition schedulemessage.h:42
KCalCore::iTIPDeclineCounter
@ iTIPDeclineCounter
Event or to-do decline a counter proposal.
Definition schedulemessage.h:43
KCalCore::iTIPCancel
@ iTIPCancel
Event, to-do or journal cancellation notice.
Definition schedulemessage.h:40
KCalCore::iTIPPublish
@ iTIPPublish
Event, to-do, journal or freebusy posting.
Definition schedulemessage.h:36
KCalCore::iTIPAdd
@ iTIPAdd
Event, to-do or journal additional property request.
Definition schedulemessage.h:39
KCalCore::iTIPReply
@ iTIPReply
Event, to-do or freebusy reply to request.
Definition schedulemessage.h:38
KCalCore::iTIPRequest
@ iTIPRequest
Event, to-do or freebusy scheduling request.
Definition schedulemessage.h:37
KCalCore::iTIPNoMethod
@ iTIPNoMethod
No method.
Definition schedulemessage.h:44
qHash
static uint qHash(const KDateTime &dt)
Private class that helps to provide binary compatibility between releases.
Definition occurrenceiterator.cpp:157
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Wed Jan 24 2024 00:00:00 by doxygen 1.10.0 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.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