KCal Library
Go to the documentation of this file.
   30 #ifndef KCAL_CALENDARLOCAL_H 
   31 #define KCAL_CALENDARLOCAL_H 
   80     bool load( 
const QString &fileName, 
CalFormat *format = 0 );
 
  108     bool save( 
const QString &fileName, 
CalFormat *format = 0 );
 
  121     bool addEvent( 
Event *event );
 
  127     bool deleteEvent( 
Event *event );
 
  133     void deleteAllEvents();
 
  140       EventSortField sortField = EventSortUnsorted,
 
  141       SortDirection sortDirection = SortDirectionAscending );
 
  147     Event::List rawEvents( 
const QDate &start, 
const QDate &end,
 
  148                            const KDateTime::Spec &timeSpec = KDateTime::Spec(),
 
  149                            bool inclusive = 
false );
 
  163       const QDate &date, 
const KDateTime::Spec &timeSpec = KDateTime::Spec(),
 
  164       EventSortField sortField = EventSortUnsorted,
 
  165       SortDirection sortDirection = SortDirectionAscending );
 
  171     Event::List rawEventsForDate( 
const KDateTime &dt );
 
  177     Event *event( 
const QString &uid );
 
  185     bool addTodo( 
Todo *todo );
 
  191     bool deleteTodo( 
Todo *todo );
 
  197     void deleteAllTodos();
 
  204       TodoSortField sortField = TodoSortUnsorted,
 
  205       SortDirection sortDirection = SortDirectionAscending );
 
  211     Todo::List rawTodosForDate( 
const QDate &date );
 
  217     Todo *todo( 
const QString &uid );
 
  225     bool addJournal( 
Journal *journal );
 
  231     bool deleteJournal( 
Journal *journal );
 
  237     void deleteAllJournals();
 
  244       JournalSortField sortField = JournalSortUnsorted,
 
  245       SortDirection sortDirection = SortDirectionAscending );
 
  257     Journal *journal( 
const QString &uid );
 
  265     Alarm::List alarms( 
const KDateTime &from, 
const KDateTime &to );
 
  282     using QObject::event;   
 
Provides a To-do in the sense of RFC2445. 
 
Represents the main calendar class. 
 
An abstract class that provides a common base for all calendar incidence classes. ...
 
This class provides an Event in the sense of RFC2445. 
 
This class provides a calendar stored as a local file. 
 
This file is part of the API for handling calendar data and defines the Calendar class. 
 
This class provides a template for lists of pointers. 
 
Provides a Journal in the sense of RFC2445. 
 
  
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:00:57 by
doxygen 1.8.7 written
by 
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.