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

calendarsupport

  • CalendarSupport
  • CalendarUtils
Signals | Public Member Functions | List of all members
CalendarSupport::CalendarUtils Class Reference

#include <calendarutils.h>

Inheritance diagram for CalendarSupport::CalendarUtils:
Inheritance graph
[legend]

Signals

void actionFailed (const Akonadi::Item &item, const QString &msg)
 
void actionFinished (const Akonadi::Item &item)
 

Public Member Functions

 CalendarUtils (const Akonadi::ETMCalendar::Ptr &calendar, QObject *parent=0)
 
 ~CalendarUtils ()
 
Akonadi::ETMCalendar::Ptr calendar () const
 
bool makeChildrenIndependent (const Akonadi::Item &item)
 
bool makeIndependent (const Akonadi::Item &item)
 
void purgeCompletedTodos ()
 

Detailed Description

Some calendar/Incidence related utilitly methods.

NOTE: this class will only start an modify job for an Item when no other job started by this class for the same Item is still running.

Definition at line 45 of file calendarutils.h.

Constructor & Destructor Documentation

CalendarUtils::CalendarUtils ( const Akonadi::ETMCalendar::Ptr &  calendar,
QObject *  parent = 0 
)
explicit

Creates a new CalendarUtils instance.

CalendarUtils.

The instance does not take owner ship over the Calendar.

Definition at line 168 of file calendarutils.cpp.

CalendarUtils::~CalendarUtils ( )

Definition at line 175 of file calendarutils.cpp.

Member Function Documentation

void CalendarSupport::CalendarUtils::actionFailed ( const Akonadi::Item &  item,
const QString &  msg 
)
signal
void CalendarSupport::CalendarUtils::actionFinished ( const Akonadi::Item &  item)
signal
Akonadi::ETMCalendar::Ptr CalendarUtils::calendar ( ) const

Returns the Caledar on which this utils class is operating.

Definition at line 180 of file calendarutils.cpp.

bool CalendarUtils::makeChildrenIndependent ( const Akonadi::Item &  item)

Makes all children of the incindence from.

Parameters
itemindependent Returns true when one or more incidence(s) where made independent, false otherwise.

Definition at line 205 of file calendarutils.cpp.

bool CalendarUtils::makeIndependent ( const Akonadi::Item &  item)

Makes the incidence from.

Parameters
itemindependent from its parent. Returns true when the ModifyJob to make the incidence independent was actually started, false otherwise. This method is async, either actionFailed or actionFinished will be emitted when the operation finished or failed.

Definition at line 186 of file calendarutils.cpp.

void CalendarUtils::purgeCompletedTodos ( )

Todo specific methods.

Deletes the completed todos from all active collections in the Calendar.

Definition at line 238 of file calendarutils.cpp.


The documentation for this class was generated from the following files:
  • calendarutils.h
  • calendarutils.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:54:59 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

calendarsupport

Skip menu "calendarsupport"
  • 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

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