• Skip to content
  • Skip to link menu
  • KDE API Reference
  • kdepimlibs-4.14.10 API Reference
  • KDE Home
  • Contact Us
 

akonadi

  • Akonadi
  • BlockAlarmsAttribute
Public Member Functions | List of all members
Akonadi::BlockAlarmsAttribute Class Reference

#include <blockalarmsattribute.h>

Inheritance diagram for Akonadi::BlockAlarmsAttribute:
Akonadi::Attribute

Public Member Functions

 BlockAlarmsAttribute ()
 
 ~BlockAlarmsAttribute ()
 
void blockAlarmType (KCalCore::Alarm::Type type, bool block=true)
 
BlockAlarmsAttribute * clone () const
 
void deserialize (const QByteArray &data)
 
bool isAlarmTypeBlocked (KCalCore::Alarm::Type type) const
 
QByteArray serialized () const
 
QByteArray type () const
 
- Public Member Functions inherited from Akonadi::Attribute
virtual ~Attribute ()
 
virtual Attribute * clone () const =0
 
virtual void deserialize (const QByteArray &data)=0
 
virtual QByteArray serialized () const =0
 
virtual QByteArray type () const =0
 

Additional Inherited Members

- Public Types inherited from Akonadi::Attribute
typedef QList< Attribute * > List
 

Detailed Description

An Attribute that marks that alarms from a calendar collection are blocked.

A calendar collection which has this attribute set won't be evaluated by korgac and therefore it's alarms won't be used, unless explicitly unblocked in blockAlarmType().

Author
Tobias Koenig tokoe.nosp@m.@kda.nosp@m.b.com
See also
Akonadi::Attribute
Since
4.11

Definition at line 41 of file blockalarmsattribute.h.

Constructor & Destructor Documentation

◆ BlockAlarmsAttribute()

BlockAlarmsAttribute::BlockAlarmsAttribute ( )

Creates a new block alarms attribute.

Definition at line 47 of file blockalarmsattribute.cpp.

◆ ~BlockAlarmsAttribute()

BlockAlarmsAttribute::~BlockAlarmsAttribute ( )

Destroys the block alarms attribute.

Definition at line 52 of file blockalarmsattribute.cpp.

Member Function Documentation

◆ blockAlarmType()

void BlockAlarmsAttribute::blockAlarmType ( KCalCore::Alarm::Type  type,
bool  block = true 
)

Blocks or unblocks given alarm type.

By default, all alarm types are blocked.

Since
4.11

Definition at line 57 of file blockalarmsattribute.cpp.

◆ clone()

BlockAlarmsAttribute * BlockAlarmsAttribute::clone ( ) const
virtual

Reimplemented from Attribute.

Implements Akonadi::Attribute.

Definition at line 99 of file blockalarmsattribute.cpp.

◆ deserialize()

void BlockAlarmsAttribute::deserialize ( const QByteArray &  data)
virtual

Reimplemented from Attribute.

Implements Akonadi::Attribute.

Definition at line 122 of file blockalarmsattribute.cpp.

◆ isAlarmTypeBlocked()

bool BlockAlarmsAttribute::isAlarmTypeBlocked ( KCalCore::Alarm::Type  type) const

Returns whether given alarm type is blocked or not.

Since
4.11

Definition at line 77 of file blockalarmsattribute.cpp.

◆ serialized()

QByteArray BlockAlarmsAttribute::serialized ( ) const
virtual

Reimplemented from Attribute.

Implements Akonadi::Attribute.

Definition at line 110 of file blockalarmsattribute.cpp.

◆ type()

QByteArray BlockAlarmsAttribute::type ( ) const
virtual

Reimplemented from Attribute.

Implements Akonadi::Attribute.

Definition at line 93 of file blockalarmsattribute.cpp.


The documentation for this class was generated from the following files:
  • blockalarmsattribute.h
  • blockalarmsattribute.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2022 The KDE developers.
Generated on Thu Jul 21 2022 00:00:00 by doxygen 1.9.5 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

akonadi

Skip menu "akonadi"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • Modules
  • Related Pages

kdepimlibs-4.14.10 API Reference

Skip menu "kdepimlibs-4.14.10 API Reference"
  • akonadi
  •   contact
  •   kmime
  •   socialutils
  • kabc
  • kalarmcal
  • kblog
  • kcal
  • kcalcore
  • kcalutils
  • kholidays
  • kimap
  • kioslave
  •   imap4
  •   mbox
  •   nntp
  • kldap
  • kmbox
  • kmime
  • kontactinterface
  • kpimidentities
  • kpimtextedit
  • kpimutils
  • kresources
  • ktnef
  • kxmlrpcclient
  • mailtransport
  • microblog
  • qgpgme
  • syndication
  •   atom
  •   rdf
  •   rss2
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