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

kalarm

Signals | Public Member Functions | Static Public Member Functions | List of all members
AlarmCalendar Class Reference

#include <alarmcalendar.h>

Inheritance diagram for AlarmCalendar:
Inheritance graph
[legend]

Signals

void calendarSaved (AlarmCalendar *)
 
void earliestAlarmChanged ()
 
void haveDisabledAlarmsChanged (bool haveDisabled)
 

Public Member Functions

virtual ~AlarmCalendar ()
 
bool addEvent (KAEvent *, QWidget *promptParent=0, bool useEventID=false, AlarmResource *=0, bool noPrompt=false, bool *cancelled=0)
 
void adjustStartOfDay ()
 
KAEvent::List atLoginAlarms () const
 
void close ()
 
KCal::Event * createKCalEvent (const KAEvent *e) const
 
bool deleteEvent (const QString &eventID, bool save=false)
 
void disabledChanged (const KAEvent *)
 
KAEvent * earliestAlarm () const
 
bool endUpdate ()
 
KAEvent * event (const QString &uniqueId)
 
bool eventReadOnly (const QString &uniqueID) const
 
KAEvent::List events (CalEvent::Types s=CalEvent::EMPTY) const
 
KAEvent::List events (AlarmResource *, CalEvent::Types=CalEvent::EMPTY) const
 
KAEvent::List events (const KDateTime &from, const KDateTime &to, CalEvent::Types)
 
bool haveDisabledAlarms () const
 
bool isOpen ()
 
KCal::Event * kcalEvent (const QString &uniqueId)
 
KCal::Event::List kcalEvents (CalEvent::Type s=CalEvent::EMPTY)
 
KCal::Event::List kcalEvents (AlarmResource *, CalEvent::Type=CalEvent::EMPTY)
 
int load ()
 
void loadResource (AlarmResource *, QWidget *parent)
 
bool modifyEvent (const QString &oldEventId, KAEvent *newEvent)
 
bool open ()
 
QString path () const
 
void purgeEvents (const KAEvent::List &)
 
bool reload ()
 
void reloadFromCache (const QString &resourceID)
 
AlarmResource * resourceForEvent (const QString &eventID) const
 
bool save ()
 
void setAlarmPending (KAEvent *, bool pending=true)
 
void startUpdate ()
 
KAEvent * templateEvent (const QString &templateName)
 
CalEvent::Type type () const
 
KAEvent * updateEvent (const KAEvent &)
 
KAEvent * updateEvent (const KAEvent *)
 
QString urlString () const
 
bool valid () const
 

Static Public Member Functions

static AlarmCalendar * displayCalendar ()
 
static AlarmCalendar * displayCalendarOpen ()
 
static bool exportAlarms (const KAEvent::List &, QWidget *parent)
 
static KAEvent * getEvent (const QString &uniqueId)
 
static bool importAlarms (QWidget *, AlarmResource *=0)
 
static bool initialiseCalendars ()
 
static AlarmCalendar * resources ()
 
static void terminateCalendars ()
 

Detailed Description

Provides read and write access to calendar files and resources.

Either vCalendar or iCalendar files may be read, but the calendar is saved only in iCalendar format to avoid information loss.

Definition at line 58 of file alarmcalendar.h.

Constructor & Destructor Documentation

AlarmCalendar::~AlarmCalendar ( )
virtual

Definition at line 227 of file alarmcalendar.cpp.

Member Function Documentation

bool AlarmCalendar::addEvent ( KAEvent *  event,
QWidget *  promptParent = 0,
bool  useEventID = false,
AlarmResource *  resource = 0,
bool  noPrompt = false,
bool *  cancelled = 0 
)

Definition at line 1261 of file alarmcalendar.cpp.

void AlarmCalendar::adjustStartOfDay ( )

Definition at line 2331 of file alarmcalendar.cpp.

KAEvent::List AlarmCalendar::atLoginAlarms ( ) const

Definition at line 2185 of file alarmcalendar.cpp.

void AlarmCalendar::calendarSaved ( AlarmCalendar *  )
signal
void AlarmCalendar::close ( )

Definition at line 495 of file alarmcalendar.cpp.

KCal::Event* AlarmCalendar::createKCalEvent ( const KAEvent *  e) const
inline

Definition at line 85 of file alarmcalendar.h.

bool AlarmCalendar::deleteEvent ( const QString &  eventID,
bool  save = false 
)

Definition at line 1656 of file alarmcalendar.cpp.

void AlarmCalendar::disabledChanged ( const KAEvent *  event)

Definition at line 2131 of file alarmcalendar.cpp.

static AlarmCalendar* AlarmCalendar::displayCalendar ( )
inlinestatic

Definition at line 131 of file alarmcalendar.h.

AlarmCalendar * AlarmCalendar::displayCalendarOpen ( )
static

Definition at line 130 of file alarmcalendar.cpp.

KAEvent * AlarmCalendar::earliestAlarm ( ) const

Definition at line 2279 of file alarmcalendar.cpp.

void AlarmCalendar::earliestAlarmChanged ( )
signal
bool AlarmCalendar::endUpdate ( )

Definition at line 1196 of file alarmcalendar.cpp.

KAEvent * AlarmCalendar::event ( const QString &  uniqueId)

Definition at line 1820 of file alarmcalendar.cpp.

bool AlarmCalendar::eventReadOnly ( const QString &  uniqueID) const

Definition at line 2093 of file alarmcalendar.cpp.

KAEvent::List AlarmCalendar::events ( CalEvent::Types  s = CalEvent::EMPTY) const
inline

Definition at line 96 of file alarmcalendar.h.

KAEvent::List AlarmCalendar::events ( AlarmResource *  resource,
CalEvent::Types  type = CalEvent::EMPTY 
) const

Definition at line 1912 of file alarmcalendar.cpp.

KAEvent::List AlarmCalendar::events ( const KDateTime &  from,
const KDateTime &  to,
CalEvent::Types  type 
)

Definition at line 2007 of file alarmcalendar.cpp.

bool AlarmCalendar::exportAlarms ( const KAEvent::List &  events,
QWidget *  parent 
)
static

Definition at line 1077 of file alarmcalendar.cpp.

KAEvent * AlarmCalendar::getEvent ( const QString &  uniqueId)
static

Definition at line 150 of file alarmcalendar.cpp.

bool AlarmCalendar::haveDisabledAlarms ( ) const
inline

Definition at line 78 of file alarmcalendar.h.

void AlarmCalendar::haveDisabledAlarmsChanged ( bool  haveDisabled)
signal
bool AlarmCalendar::importAlarms ( QWidget *  parent,
AlarmResource *  resource = 0 
)
static

Definition at line 875 of file alarmcalendar.cpp.

bool AlarmCalendar::initialiseCalendars ( )
static

Definition at line 88 of file alarmcalendar.cpp.

bool AlarmCalendar::isOpen ( )

Definition at line 235 of file alarmcalendar.cpp.

Event * AlarmCalendar::kcalEvent ( const QString &  uniqueId)

Definition at line 1861 of file alarmcalendar.cpp.

KCal::Event::List AlarmCalendar::kcalEvents ( CalEvent::Type  s = CalEvent::EMPTY)
inline

Definition at line 107 of file alarmcalendar.h.

Event::List AlarmCalendar::kcalEvents ( AlarmResource *  resource,
CalEvent::Type  type = CalEvent::EMPTY 
)

Definition at line 1967 of file alarmcalendar.cpp.

int AlarmCalendar::load ( )

Definition at line 321 of file alarmcalendar.cpp.

void AlarmCalendar::loadResource ( AlarmResource *  resource,
QWidget *  parent 
)

Definition at line 536 of file alarmcalendar.cpp.

bool AlarmCalendar::modifyEvent ( const QString &  oldEventId,
KAEvent *  newEvent 
)

Definition at line 1507 of file alarmcalendar.cpp.

bool AlarmCalendar::open ( )

Definition at line 250 of file alarmcalendar.cpp.

QString AlarmCalendar::path ( ) const
inline

Definition at line 124 of file alarmcalendar.h.

void AlarmCalendar::purgeEvents ( const KAEvent::List &  events)

Definition at line 1229 of file alarmcalendar.cpp.

bool AlarmCalendar::reload ( )

Definition at line 401 of file alarmcalendar.cpp.

void AlarmCalendar::reloadFromCache ( const QString &  resourceID)

Definition at line 853 of file alarmcalendar.cpp.

AlarmResource * AlarmCalendar::resourceForEvent ( const QString &  eventID) const

Definition at line 2120 of file alarmcalendar.cpp.

static AlarmCalendar* AlarmCalendar::resources ( )
inlinestatic

Definition at line 130 of file alarmcalendar.h.

bool AlarmCalendar::save ( )

Definition at line 1212 of file alarmcalendar.cpp.

void AlarmCalendar::setAlarmPending ( KAEvent *  event,
bool  pending = true 
)

Definition at line 2302 of file alarmcalendar.cpp.

void AlarmCalendar::startUpdate ( )

Definition at line 1187 of file alarmcalendar.cpp.

KAEvent * AlarmCalendar::templateEvent ( const QString &  templateName)

Definition at line 1871 of file alarmcalendar.cpp.

void AlarmCalendar::terminateCalendars ( )
static

Definition at line 119 of file alarmcalendar.cpp.

CalEvent::Type AlarmCalendar::type ( ) const
inline

Definition at line 64 of file alarmcalendar.h.

KAEvent * AlarmCalendar::updateEvent ( const KAEvent &  evnt)

Definition at line 1585 of file alarmcalendar.cpp.

KAEvent * AlarmCalendar::updateEvent ( const KAEvent *  evnt)

Definition at line 1589 of file alarmcalendar.cpp.

QString AlarmCalendar::urlString ( ) const
inline

Definition at line 125 of file alarmcalendar.h.

bool AlarmCalendar::valid ( ) const
inline

Definition at line 63 of file alarmcalendar.h.


The documentation for this class was generated from the following files:
  • alarmcalendar.h
  • alarmcalendar.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:59:11 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

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