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

KCal Library

  • KCal
  • CalHelper
Functions
KCal::CalHelper Namespace Reference

Functions

KCAL_DEPRECATED_EXPORT Incidence * findMyCalendarIncidenceByUid (Calendar *calendar, const QString &uid)
 
KCAL_DEPRECATED_EXPORT bool isMyCalendarIncidence (Calendar *calendar, Incidence *incidence)
 
KCAL_DEPRECATED_EXPORT bool isMyKolabIncidence (Calendar *calendar, Incidence *incidence)
 
KCAL_DEPRECATED_EXPORT 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
calendaris a pointer to a valid Calendar object.
uidis 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 user, independent of the Resource type.

Parameters
calendaris a pointer to a valid Calendar object.
incidenceis 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 user.

Parameters
calendaris a pointer to a valid Calendar object.
incidenceis 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
calendaris 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.

This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:38:30 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

KCal Library

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

kdepimlibs API Reference

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

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