KGAPI2::Calendar

#include <calendar.h>

Inheritance diagram for KGAPI2::Calendar:

Public Member Functions

 Calendar ()
 
 Calendar (const Calendar &other)
 
 ~Calendar () override
 
void addDefaultReminer (const ReminderPtr &reminder)
 
QColor backgroundColor () const
 
RemindersList defaultReminders () const
 
QString details () const
 
bool editable () const
 
QColor foregroundColor () const
 
QString location () const
 
bool operator== (const Calendar &other) const
 
void setBackgroundColor (const QColor &color)
 
void setDefaultReminders (const RemindersList &reminders)
 
void setDetails (const QString &details)
 
void setEditable (const bool editable)
 
void setForegroundColor (const QColor &color)
 
void setLocation (const QString &location)
 
void setTimezone (const QString &timezone)
 
void setTitle (const QString &title)
 
void setUid (const QString &uid)
 
QString timezone () const
 
QString title () const
 
QString uid () const
 
- Public Member Functions inherited from KGAPI2::Object
 Object ()
 
 Object (const Object &other)
 
virtual ~Object ()
 
QString etag () const
 
bool operator== (const Object &other) const
 
void setEtag (const QString &etag)
 

Protected Attributes

QScopedPointer< Private > const d
 

Detailed Description

An object that represents a Google calendar.

Author
Daniel Vrátil dvrat[email protected][email protected][email protected]edhat[email protected].com
Since
0.1

Definition at line 28 of file calendar.h.

Constructor & Destructor Documentation

Calendar::Calendar ( )
explicit

Constructor.

Definition at line 33 of file calendar.cpp.

Calendar::Calendar ( const Calendar other)

Copy constructor.

Definition at line 39 of file calendar.cpp.

Calendar::~Calendar ( )
overridedefault

Destructor.

Member Function Documentation

void Calendar::addDefaultReminer ( const ReminderPtr reminder)

Adds a default reminder for all events in the calendar.

Parameters
reminder

Definition at line 161 of file calendar.cpp.

QColor Calendar::backgroundColor ( ) const

Returns calendar background color.

Since
2.1

Definition at line 171 of file calendar.cpp.

RemindersList Calendar::defaultReminders ( ) const

Returns default reminders for all events in the calendar.

Definition at line 166 of file calendar.cpp.

QString Calendar::details ( ) const

Returns detailed description of the calendar.

Definition at line 116 of file calendar.cpp.

bool Calendar::editable ( ) const

Returns whether calendar is editable or read-only.

Definition at line 146 of file calendar.cpp.

QColor Calendar::foregroundColor ( ) const

Returns calendar foreground color.

Since
2.1

Definition at line 181 of file calendar.cpp.

QString Calendar::location ( ) const

Returns geographic location of the calendar.

Definition at line 126 of file calendar.cpp.

void Calendar::setBackgroundColor ( const QColor color)

Sets calendar background color.

Parameters
color
Since
2.1

Definition at line 176 of file calendar.cpp.

void Calendar::setDefaultReminders ( const RemindersList reminders)

Sets default reminders for all new events in the calendar.

Parameters
reminders

Definition at line 156 of file calendar.cpp.

void Calendar::setDetails ( const QString details)

Sets detailed description of a calendar.

Parameters
details

Definition at line 121 of file calendar.cpp.

void Calendar::setEditable ( const bool  editable)

Sets calendar to read-only or editable.

Parameters
editable

Definition at line 151 of file calendar.cpp.

void Calendar::setForegroundColor ( const QColor color)

Sets calendar foreground color.

Parameters
color
Since
2.1

Definition at line 186 of file calendar.cpp.

void Calendar::setLocation ( const QString location)

Sets geographic location of the calendar.

Parameters
location

Definition at line 131 of file calendar.cpp.

void Calendar::setTimezone ( const QString timezone)

Sets timezone of the calendar.

Parameters
timezone

Definition at line 141 of file calendar.cpp.

void Calendar::setTitle ( const QString title)

Sets a calendar title (name).

Parameters
title

Definition at line 111 of file calendar.cpp.

void Calendar::setUid ( const QString uid)

Sets UID of the calendar.

Parameters
uid

Definition at line 96 of file calendar.cpp.

QString Calendar::timezone ( ) const

Returns timezone of the calendar.

Definition at line 136 of file calendar.cpp.

QString Calendar::title ( ) const

Returns calendar title (name).

Definition at line 106 of file calendar.cpp.

QString Calendar::uid ( ) const

Returns uID of the calendar.

Definition at line 101 of file calendar.cpp.


The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Wed Aug 12 2020 23:09:49 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.