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 42 of file calendar.h.

Constructor & Destructor Documentation

Calendar::Calendar ( )
explicit

Constructor.

Definition at line 47 of file calendar.cpp.

Calendar::Calendar ( const Calendar other)

Copy constructor.

Definition at line 53 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 175 of file calendar.cpp.

QColor Calendar::backgroundColor ( ) const

Returns calendar background color.

Since
2.1

Definition at line 185 of file calendar.cpp.

RemindersList Calendar::defaultReminders ( ) const

Returns default reminders for all events in the calendar.

Definition at line 180 of file calendar.cpp.

QString Calendar::details ( ) const

Returns detailed description of the calendar.

Definition at line 130 of file calendar.cpp.

bool Calendar::editable ( ) const

Returns whether calendar is editable or read-only.

Definition at line 160 of file calendar.cpp.

QColor Calendar::foregroundColor ( ) const

Returns calendar foreground color.

Since
2.1

Definition at line 195 of file calendar.cpp.

QString Calendar::location ( ) const

Returns geographic location of the calendar.

Definition at line 140 of file calendar.cpp.

void Calendar::setBackgroundColor ( const QColor color)

Sets calendar background color.

Parameters
color
Since
2.1

Definition at line 190 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 170 of file calendar.cpp.

void Calendar::setDetails ( const QString details)

Sets detailed description of a calendar.

Parameters
details

Definition at line 135 of file calendar.cpp.

void Calendar::setEditable ( const bool  editable)

Sets calendar to read-only or editable.

Parameters
editable

Definition at line 165 of file calendar.cpp.

void Calendar::setForegroundColor ( const QColor color)

Sets calendar foreground color.

Parameters
color
Since
2.1

Definition at line 200 of file calendar.cpp.

void Calendar::setLocation ( const QString location)

Sets geographic location of the calendar.

Parameters
location

Definition at line 145 of file calendar.cpp.

void Calendar::setTimezone ( const QString timezone)

Sets timezone of the calendar.

Parameters
timezone

Definition at line 155 of file calendar.cpp.

void Calendar::setTitle ( const QString title)

Sets a calendar title (name).

Parameters
title

Definition at line 125 of file calendar.cpp.

void Calendar::setUid ( const QString uid)

Sets UID of the calendar.

Parameters
uid

Definition at line 110 of file calendar.cpp.

QString Calendar::timezone ( ) const

Returns timezone of the calendar.

Definition at line 150 of file calendar.cpp.

QString Calendar::title ( ) const

Returns calendar title (name).

Definition at line 120 of file calendar.cpp.

QString Calendar::uid ( ) const

Returns uID of the calendar.

Definition at line 115 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 Fri Jun 5 2020 23:01:11 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.