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

KAlarm Library

  • KAlarmCal
  • CalEvent
Enumerations | Functions
KAlarmCal::CalEvent Namespace Reference

Enumerations

enum  Type {
  EMPTY = 0 , ACTIVE = 0x01 , ARCHIVED = 0x02 , TEMPLATE = 0x04 ,
  DISPLAYING = 0x08
}
 

Functions

QString mimeType (Type)
 
QStringList mimeTypes (Types)
 
void setStatus (const Event::Ptr &event, Type status, const QString &param)
 
Type status (const Event::Ptr &event, QString *param)
 
Type type (const QString &mimeType)
 
Types types (const QStringList &mimeTypes)
 
QString uid (const QString &id, Type status)
 

Detailed Description

Class representing type attributes of a KAlarm event.

CalEvent provides methods to manipulate a KAEvent UID according to its category (active, archived or template). It also provides methods to access KAEvent mime types.

Author
David Jarvie djarv.nosp@m.ie@k.nosp@m.de.or.nosp@m.g

Enumeration Type Documentation

◆ Type

enum KAlarmCal::CalEvent::Type

The category of an event, indicated by the middle part of its UID.

Enumerator
EMPTY 

the event has no alarms

ACTIVE 

the event is currently active

ARCHIVED 

the event is archived

TEMPLATE 

the event is an alarm template

DISPLAYING 

the event is currently being displayed

Definition at line 155 of file kacalendar.h.

Function Documentation

◆ mimeType()

KALARMCAL_EXPORT QString KAlarmCal::CalEvent::mimeType ( Type  type)

Return the mime type string corresponding to an alarm Type.

Definition at line 495 of file kacalendar.cpp.

◆ mimeTypes()

KALARMCAL_EXPORT QStringList KAlarmCal::CalEvent::mimeTypes ( Types  types)

Return the mime type strings corresponding to alarm Types.

Definition at line 506 of file kacalendar.cpp.

◆ setStatus()

KALARMCAL_EXPORT void KAlarmCal::CalEvent::setStatus ( const Event::Ptr &  event,
Type  status,
const QString &  param 
)

Definition at line 445 of file kacalendar.cpp.

◆ status()

KALARMCAL_EXPORT Type KAlarmCal::CalEvent::status ( const Event::Ptr &  event,
QString *  param 
)

Definition at line 384 of file kacalendar.cpp.

◆ type()

KALARMCAL_EXPORT Type KAlarmCal::CalEvent::type ( const QString &  mimeType)

Return the alarm Type for a mime type string.

Definition at line 469 of file kacalendar.cpp.

◆ types()

KALARMCAL_EXPORT Types KAlarmCal::CalEvent::types ( const QStringList &  mimeTypes)

Return the alarm Types for a list of mime type strings.

Definition at line 480 of file kacalendar.cpp.

◆ uid()

KALARMCAL_EXPORT QString KAlarmCal::CalEvent::uid ( const QString &  id,
Type  status 
)

Definition at line 329 of file kacalendar.cpp.

This file is part of the KDE documentation.
Documentation copyright © 1996-2022 The KDE developers.
Generated on Thu Jul 21 2022 00:00:00 by doxygen 1.9.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.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