KGAPI2::Calendar

Search for usage in LXR

#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.nosp@m.il@r.nosp@m.edhat.nosp@m..com
Since
0.1

Definition at line 27 of file calendar.h.

Constructor & Destructor Documentation

◆ Calendar() [1/2]

Calendar::Calendar ( )
explicit

Constructor.

Definition at line 33 of file calendar.cpp.

◆ Calendar() [2/2]

Calendar::Calendar ( const Calendar & other)

Copy constructor.

Definition at line 39 of file calendar.cpp.

◆ ~Calendar()

Calendar::~Calendar ( )
overridedefault

Destructor.

Member Function Documentation

◆ addDefaultReminer()

void Calendar::addDefaultReminer ( const ReminderPtr & reminder)

Adds a default reminder for all events in the calendar.

Parameters
reminder

Definition at line 162 of file calendar.cpp.

◆ backgroundColor()

QColor Calendar::backgroundColor ( ) const
nodiscard

Returns calendar background color.

Since
2.1

Definition at line 172 of file calendar.cpp.

◆ defaultReminders()

RemindersList Calendar::defaultReminders ( ) const

Returns default reminders for all events in the calendar.

Definition at line 167 of file calendar.cpp.

◆ details()

QString Calendar::details ( ) const
nodiscard

Returns detailed description of the calendar.

Definition at line 117 of file calendar.cpp.

◆ editable()

bool Calendar::editable ( ) const
nodiscard

Returns whether calendar is editable or read-only.

Definition at line 147 of file calendar.cpp.

◆ foregroundColor()

QColor Calendar::foregroundColor ( ) const
nodiscard

Returns calendar foreground color.

Since
2.1

Definition at line 182 of file calendar.cpp.

◆ location()

QString Calendar::location ( ) const
nodiscard

Returns geographic location of the calendar.

Definition at line 127 of file calendar.cpp.

◆ operator==()

bool Calendar::operator== ( const Calendar & other) const

Definition at line 47 of file calendar.cpp.

◆ setBackgroundColor()

void Calendar::setBackgroundColor ( const QColor & color)

Sets calendar background color.

Parameters
color
Since
2.1

Definition at line 177 of file calendar.cpp.

◆ setDefaultReminders()

void Calendar::setDefaultReminders ( const RemindersList & reminders)

Sets default reminders for all new events in the calendar.

Parameters
reminders

Definition at line 157 of file calendar.cpp.

◆ setDetails()

void Calendar::setDetails ( const QString & details)

Sets detailed description of a calendar.

Parameters
details

Definition at line 122 of file calendar.cpp.

◆ setEditable()

void Calendar::setEditable ( const bool editable)

Sets calendar to read-only or editable.

Parameters
editable

Definition at line 152 of file calendar.cpp.

◆ setForegroundColor()

void Calendar::setForegroundColor ( const QColor & color)

Sets calendar foreground color.

Parameters
color
Since
2.1

Definition at line 187 of file calendar.cpp.

◆ setLocation()

void Calendar::setLocation ( const QString & location)

Sets geographic location of the calendar.

Parameters
location

Definition at line 132 of file calendar.cpp.

◆ setTimezone()

void Calendar::setTimezone ( const QString & timezone)

Sets timezone of the calendar.

Parameters
timezone

Definition at line 142 of file calendar.cpp.

◆ setTitle()

void Calendar::setTitle ( const QString & title)

Sets a calendar title (name).

Parameters
title

Definition at line 112 of file calendar.cpp.

◆ setUid()

void Calendar::setUid ( const QString & uid)

Sets UID of the calendar.

Parameters
uid

Definition at line 97 of file calendar.cpp.

◆ timezone()

QString Calendar::timezone ( ) const
nodiscard

Returns timezone of the calendar.

Definition at line 137 of file calendar.cpp.

◆ title()

QString Calendar::title ( ) const
nodiscard

Returns calendar title (name).

Definition at line 107 of file calendar.cpp.

◆ uid()

QString Calendar::uid ( ) const
nodiscard

Returns uID of the calendar.

Definition at line 102 of file calendar.cpp.

Member Data Documentation

◆ d

QScopedPointer<Private> const KGAPI2::Calendar::d
protected

Definition at line 172 of file calendar.h.


The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Dec 27 2024 11:55:30 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.