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

kalarm

Public Member Functions | List of all members
EventId Struct Reference

#include <eventid.h>

Inheritance diagram for EventId:
Inheritance graph
[legend]

Public Member Functions

 EventId ()
 
 EventId (Akonadi::Collection::Id c, const QString &e)
 
 EventId (const KAEvent &event)
 
 EventId (const QString &resourceEventId)
 
void clear ()
 
Akonadi::Collection::Id collectionId () const
 
QString eventId () const
 
bool isEmpty () const
 
void setCollectionId (Akonadi::Collection::Id id)
 
- Public Member Functions inherited from QPair< Akonadi::Collection::Id, QString >
 QPair ()
 
 QPair (const T1 &value1, const T2 &value2)
 
QPair< T1, T2 > & operator= (const QPair< T1, T2 > &other)
 

Additional Inherited Members

- Public Attributes inherited from QPair< Akonadi::Collection::Id, QString >
typedef first_type
 
typedef second_type
 

Detailed Description

Unique event identifier for Akonadi.

This consists of the event UID within the individual calendar, plus the collection ID.

Note that the collection ID of the display calendar is -1, since it is not an Akonadi calendar.

Definition at line 38 of file eventid.h.

Constructor & Destructor Documentation

EventId::EventId ( )
inline

Definition at line 40 of file eventid.h.

EventId::EventId ( Akonadi::Collection::Id  c,
const QString &  e 
)
inline

Definition at line 41 of file eventid.h.

EventId::EventId ( const KAEvent &  event)
inlineexplicit

Definition at line 43 of file eventid.h.

EventId::EventId ( const QString &  resourceEventId)
explicit

Set by event ID and optional resource ID, in the format "[rid:]eid".

Member Function Documentation

void EventId::clear ( )
inline

Definition at line 47 of file eventid.h.

Akonadi::Collection::Id EventId::collectionId ( ) const
inline

Definition at line 51 of file eventid.h.

QString EventId::eventId ( ) const
inline

Definition at line 52 of file eventid.h.

bool EventId::isEmpty ( ) const
inline

Return whether the instance contains any data.

Definition at line 49 of file eventid.h.

void EventId::setCollectionId ( Akonadi::Collection::Id  id)
inline

Definition at line 53 of file eventid.h.


The documentation for this struct was generated from the following file:
  • eventid.h
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:34:52 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

kalarm

Skip menu "kalarm"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members

kdepim API Reference

Skip menu "kdepim API Reference"
  • akonadi_next
  • akregator
  • blogilo
  • calendarsupport
  • console
  •   kabcclient
  •   konsolekalendar
  • kaddressbook
  • kalarm
  •   lib
  • kdgantt2
  • kjots
  • kleopatra
  • kmail
  • knode
  • knotes
  • kontact
  • korgac
  • korganizer
  • ktimetracker
  • libkdepim
  • libkleo
  • libkpgp
  • mailcommon
  • messagelist
  • messageviewer
  • pimprint

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