• Skip to content
  • Skip to link menu
KDE 4.4 API Reference
  • KDE API Reference
  • KDE-PIM Libraries
  • Sitemap
  • Contact Us
 

KCal Library

KCal::CalHelper

KCal::CalHelper Namespace Reference

Provides methods for making decisions about calendar data. More...

Functions

Incidence * findMyCalendarIncidenceByUid (Calendar *calendar, const QString &uid)
bool isMyCalendarIncidence (Calendar *calendar, Incidence *incidence)
bool isMyKolabIncidence (Calendar *calendar, Incidence *incidence)
bool usingGroupware (Calendar *calendar)

Detailed Description

Provides methods for making decisions about calendar data.


Function Documentation

Incidence * KCal::CalHelper::findMyCalendarIncidenceByUid ( Calendar *  calendar,
const QString &  uid 
)

Searches for the specified Incidence by UID, returning an Incidence pointer if and only if the found Incidence is owned by the user.

Parameters:
calendar is a pointer to a valid Calendar object.
Uid is a QString containing an Incidence UID.
Returns:
a pointer to the Incidence found; 0 if the Incidence is not found or the Incidence is found but is not owned by the user.
Since:
4.4

Definition at line 60 of file calhelper.cpp.

bool KCal::CalHelper::isMyCalendarIncidence ( Calendar *  calendar,
Incidence *  incidence 
)

Determine if the specified incidence is likely owned by the the user, independent of the Resource type.

Parameters:
calendar is a pointer to a valid Calendar object.
incidence is a pointer to an Incidence object.
Returns:
true if it is likely that the specified incidence belongs to the user; false otherwise.
Since:
4.4

Definition at line 55 of file calhelper.cpp.

bool KCal::CalHelper::isMyKolabIncidence ( Calendar *  calendar,
Incidence *  incidence 
)

Determine if the specified incidence is likely a Kolab incidence owned by the the user.

Parameters:
calendar is a pointer to a valid Calendar object.
incidence is a pointer to an Incidence object.
Returns:
true if it is likely that the specified incidence belongs to the user in their Kolab resource; false otherwise.
Since:
4.4

Definition at line 37 of file calhelper.cpp.

bool KCal::CalHelper::usingGroupware ( Calendar *  calendar  ) 

Determines if the Calendar is using a Groupware resource type.

Parameters:
calendar is a pointer to a valid Calendar object.
Returns:
true if the Calendar is using a known Groupware resource type; false otherwise.
Since:
4.4

Definition at line 82 of file calhelper.cpp.

KCal Library

Skip menu "KCal Library"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

KDE-PIM Libraries

Skip menu "KDE-PIM Libraries"
  • akonadi
  •   contact
  •   kmime
  • kabc
  • kblog
  • kcal
  • kholidays
  • kimap
  • kioslave
  •   imap4
  •   mbox
  •   nntp
  • kldap
  • kmime
  • kontactinterface
  • kpimidentities
  • kpimtextedit
  •   richtextbuilders
  • kpimutils
  • kresources
  • ktnef
  • kxmlrpcclient
  • mailtransport
  • microblog
  • qgpgme
  • syndication
  •   atom
  •   rdf
  •   rss2
Generated for KDE-PIM Libraries by doxygen 1.6.2-20100208
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal