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

kalarm

Public Member Functions | List of all members
CollectionListModel Class Reference

#include <collectionmodel.h>

Inheritance diagram for CollectionListModel:
Inheritance graph
[legend]

Public Member Functions

 CollectionListModel (QObject *parent=0)
 
Akonadi::Collection collection (int row) const
 
Akonadi::Collection collection (const QModelIndex &) const
 
QModelIndex collectionIndex (const Akonadi::Collection &) const
 
virtual QVariant data (const QModelIndex &, int role=Qt::DisplayRole) const
 
virtual bool isDescendantOf (const QModelIndex &ancestor, const QModelIndex &descendant) const
 
void setEventTypeFilter (CalEvent::Type)
 
void setFilterEnabled (bool enabled)
 
void setFilterWritable (bool writable)
 
void useCollectionColour (bool use)
 

Detailed Description

Definition at line 50 of file collectionmodel.h.

Constructor & Destructor Documentation

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

Definition at line 168 of file collectionmodel.cpp.

Member Function Documentation

Collection CollectionListModel::collection ( int  row) const

Definition at line 179 of file collectionmodel.cpp.

Collection CollectionListModel::collection ( const QModelIndex &  index) const

Definition at line 184 of file collectionmodel.cpp.

QModelIndex CollectionListModel::collectionIndex ( const Akonadi::Collection &  ) const

Definition at line 189 of file collectionmodel.cpp.

QVariant CollectionListModel::data ( const QModelIndex &  index,
int  role = Qt::DisplayRole 
) const
virtual

Definition at line 218 of file collectionmodel.cpp.

bool CollectionListModel::isDescendantOf ( const QModelIndex &  ancestor,
const QModelIndex &  descendant 
) const
virtual

Definition at line 209 of file collectionmodel.cpp.

void CollectionListModel::setEventTypeFilter ( CalEvent::Type  type)

Definition at line 194 of file collectionmodel.cpp.

void CollectionListModel::setFilterEnabled ( bool  enabled)

Definition at line 204 of file collectionmodel.cpp.

void CollectionListModel::setFilterWritable ( bool  writable)

Definition at line 199 of file collectionmodel.cpp.

void CollectionListModel::useCollectionColour ( bool  use)
inline

Definition at line 58 of file collectionmodel.h.


The documentation for this class was generated from the following files:
  • collectionmodel.h
  • collectionmodel.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