• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdepim API Reference
  • KDE Home
  • Contact Us
 

kalarm

Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
TemplateListModel Class Reference

#include <itemlistmodel.h>

Inheritance diagram for TemplateListModel:
Inheritance graph
[legend]

Public Types

enum  { TypeColumn, TemplateNameColumn, ColumnCount }
 

Public Member Functions

 TemplateListModel (QObject *parent=0)
 
 ~TemplateListModel ()
 
KAEvent::Actions alarmActionFilter () const
 
virtual int columnCount (const QModelIndex &=QModelIndex()) const
 
virtual Qt::ItemFlags flags (const QModelIndex &) const
 
virtual QVariant headerData (int section, Qt::Orientation, int role=Qt::DisplayRole) const
 
void setAlarmActionFilter (KAEvent::Actions)
 
void setAlarmActionsEnabled (KAEvent::Actions)
 
KAEvent::Actions setAlarmActionsEnabled () const
 
- Public Member Functions inherited from ItemListModel
 ItemListModel (CalEvent::Types allowed, QObject *parent=0)
 
KAEvent event (int row) const
 
KAEvent event (const QModelIndex &) const
 
QModelIndex eventIndex (Akonadi::Item::Id) const
 
bool haveEvents () const
 
CalEvent::Types includedTypes () const
 

Static Public Member Functions

static TemplateListModel * all ()
 
- Static Public Member Functions inherited from ItemListModel
static int iconWidth ()
 

Protected Member Functions

virtual bool filterAcceptsColumn (int sourceCol, const QModelIndex &sourceParent) const
 
virtual bool filterAcceptsRow (int sourceRow, const QModelIndex &sourceParent) const
 

Additional Inherited Members

- Signals inherited from ItemListModel
void haveEventsStatus (bool have)
 

Detailed Description

Definition at line 133 of file itemlistmodel.h.

Member Enumeration Documentation

anonymous enum
Enumerator
TypeColumn 
TemplateNameColumn 
ColumnCount 

Definition at line 137 of file itemlistmodel.h.

Constructor & Destructor Documentation

TemplateListModel::TemplateListModel ( QObject *  parent = 0)
explicit

Definition at line 263 of file itemlistmodel.cpp.

TemplateListModel::~TemplateListModel ( )

Definition at line 270 of file itemlistmodel.cpp.

Member Function Documentation

KAEvent::Actions TemplateListModel::alarmActionFilter ( ) const
inline

Return which alarm action types are included in the model.

Definition at line 152 of file itemlistmodel.h.

TemplateListModel * TemplateListModel::all ( )
static

Return the model containing all alarm templates.

Definition at line 276 of file itemlistmodel.cpp.

virtual int TemplateListModel::columnCount ( const QModelIndex &  = QModelIndex()) const
inlinevirtual

Reimplemented from ItemListModel.

Definition at line 160 of file itemlistmodel.h.

bool TemplateListModel::filterAcceptsColumn ( int  sourceCol,
const QModelIndex &  sourceParent 
) const
protectedvirtual

Definition at line 317 of file itemlistmodel.cpp.

bool TemplateListModel::filterAcceptsRow ( int  sourceRow,
const QModelIndex &  sourceParent 
) const
protectedvirtual

Reimplemented from ItemListModel.

Definition at line 306 of file itemlistmodel.cpp.

Qt::ItemFlags TemplateListModel::flags ( const QModelIndex &  index) const
virtual

Reimplemented from ItemListModel.

Definition at line 342 of file itemlistmodel.cpp.

QVariant TemplateListModel::headerData ( int  section,
Qt::Orientation  orientation,
int  role = Qt::DisplayRole 
) const
virtual

Definition at line 323 of file itemlistmodel.cpp.

void TemplateListModel::setAlarmActionFilter ( KAEvent::Actions  types)

Set which alarm action types should be included in the model.

Definition at line 286 of file itemlistmodel.cpp.

void TemplateListModel::setAlarmActionsEnabled ( KAEvent::Actions  types)

Set which alarm types should be shown as disabled in the model.

Definition at line 296 of file itemlistmodel.cpp.

KAEvent::Actions TemplateListModel::setAlarmActionsEnabled ( ) const
inline

Set which alarm types should be shown as disabled in the model.

Definition at line 158 of file itemlistmodel.h.


The documentation for this class was generated from the following files:
  • itemlistmodel.h
  • itemlistmodel.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:34:52 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

kalarm

Skip menu "kalarm"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members

kdepim API Reference

Skip menu "kdepim API Reference"
  • akonadi_next
  • akregator
  • blogilo
  • calendarsupport
  • console
  •   kabcclient
  •   konsolekalendar
  • kaddressbook
  • kalarm
  •   lib
  • kdgantt2
  • kjots
  • kleopatra
  • kmail
  • knode
  • knotes
  • kontact
  • korgac
  • korganizer
  • ktimetracker
  • libkdepim
  • libkleo
  • libkpgp
  • mailcommon
  • messagelist
  • messageviewer
  • pimprint

Search



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