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

KAlarm Library

eventattribute.h
00001 /*
00002  *  eventattribute.h  -  per-user attributes for individual events
00003  *  This file is part of kalarmcal library, which provides access to KAlarm
00004  *  calendar data.
00005  *  Copyright © 2010-2011 by David Jarvie <djarvie@kde.org>
00006  *
00007  *  This library is free software; you can redistribute it and/or modify
00008  *  it under the terms of the GNU Library General Public License as published
00009  *  by the Free Software Foundation; either version 2 of the License, or (at
00010  *  your option) any later version.
00011  *
00012  *  This library is distributed in the hope that it will be useful, but WITHOUT
00013  *  ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
00014  *  FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Library General Public
00015  *  License for more details.
00016  *
00017  *  You should have received a copy of the GNU Library General Public License
00018  *  along with this library; see the file COPYING.LIB.  If not, write to the
00019  *  Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
00020  *  MA 02110-1301, USA.
00021  */
00022 
00023 #ifndef KALARM_EVENT_ATTRIBUTE_H
00024 #define KALARM_EVENT_ATTRIBUTE_H
00025 
00026 #include "kalarmcal_export.h"
00027 
00028 #include "kaevent.h"
00029 
00030 #include <akonadi/attribute.h>
00031 
00032 namespace KAlarmCal
00033 {
00034 
00047 class KALARMCAL_EXPORT EventAttribute : public Akonadi::Attribute
00048 {
00049     public:
00050         EventAttribute();
00051 
00053         EventAttribute(const EventAttribute& other);
00054 
00056         EventAttribute& operator=(const EventAttribute& other);
00057 
00058         virtual ~EventAttribute();
00059 
00061         KAEvent::CmdErrType commandError() const;
00062 
00064         void setCommandError(KAEvent::CmdErrType err);
00065 
00067         virtual QByteArray type() const;
00069         virtual EventAttribute* clone() const;
00071         virtual QByteArray serialized() const;
00073         virtual void deserialize(const QByteArray& data);
00074 
00075     private:
00076         //@cond PRIVATE
00077         class Private;
00078         Private* const d;
00079         //@endcond
00080 };
00081 
00082 } // namespace KAlarmCal
00083 
00084 #endif // KALARM_EVENT_ATTRIBUTE_H
00085 
00086 // vim: et sw=4:
This file is part of the KDE documentation.
Documentation copyright © 1996-2012 The KDE developers.
Generated on Thu Aug 2 2012 15:26:19 by doxygen 1.7.5 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-4.8.5 API Reference

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