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

KAlarm Library

  • sources
  • kde-4.12
  • kdepimlibs
  • kalarmcal
eventattribute.h
1 /*
2  * eventattribute.h - per-user attributes for individual events
3  * This file is part of kalarmcal library, which provides access to KAlarm
4  * calendar data.
5  * Copyright © 2010-2011 by David Jarvie <djarvie@kde.org>
6  *
7  * This library is free software; you can redistribute it and/or modify
8  * it under the terms of the GNU Library General Public License as published
9  * by the Free Software Foundation; either version 2 of the License, or (at
10  * your option) any later version.
11  *
12  * This library is distributed in the hope that it will be useful, but WITHOUT
13  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
14  * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public
15  * 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 the
19  * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
20  * MA 02110-1301, USA.
21  */
22 
23 #ifndef KALARM_EVENT_ATTRIBUTE_H
24 #define KALARM_EVENT_ATTRIBUTE_H
25 
26 #include "kalarmcal_export.h"
27 
28 #include "kaevent.h"
29 
30 #include <akonadi/attribute.h>
31 
32 namespace KAlarmCal
33 {
34 
47 class KALARMCAL_EXPORT EventAttribute : public Akonadi::Attribute
48 {
49  public:
50  EventAttribute();
51 
53  EventAttribute(const EventAttribute& other);
54 
56  EventAttribute& operator=(const EventAttribute& other);
57 
58  virtual ~EventAttribute();
59 
61  KAEvent::CmdErrType commandError() const;
62 
64  void setCommandError(KAEvent::CmdErrType err);
65 
67  virtual QByteArray type() const;
69  virtual EventAttribute* clone() const;
71  virtual QByteArray serialized() const;
73  virtual void deserialize(const QByteArray& data);
74 
75  private:
76  //@cond PRIVATE
77  class Private;
78  Private* const d;
79  //@endcond
80 };
81 
82 } // namespace KAlarmCal
83 
84 #endif // KALARM_EVENT_ATTRIBUTE_H
85 
86 // vim: et sw=4:
Akonadi::Attribute
KAlarmCal::KAEvent::CmdErrType
CmdErrType
Command execution error type for last time the alarm was triggered.
Definition: kaevent.h:310
KAlarmCal::EventAttribute
An Attribute containing status information for a KAlarm item.
Definition: eventattribute.h:47
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:01:14 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

KAlarm Library

Skip menu "KAlarm Library"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • 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