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

calendarsupport

  • CalendarSupport
  • KCalModel
Public Types | Public Member Functions | List of all members
CalendarSupport::KCalModel Class Reference

#include <kcalmodel.h>

Inherits ItemModel.

Public Types

enum  Column { Summary, DateTimeStart, DateTimeEnd, Type }
 

Public Member Functions

 KCalModel (QObject *parent=0)
 
virtual ~KCalModel ()
 
virtual int columnCount (const QModelIndex &parent=QModelIndex()) const
 
virtual QVariant data (const QModelIndex &index, int role=Qt::DisplayRole) const
 
virtual QVariant headerData (int section, Qt::Orientation orientation, int role=Qt::DisplayRole) const
 
virtual QStringList mimeTypes () const
 
virtual int rowCount (const QModelIndex &parent=QModelIndex()) const
 

Detailed Description

Definition at line 28 of file kcalmodel.h.

Member Enumeration Documentation

enum CalendarSupport::KCalModel::Column
Enumerator
Summary 
DateTimeStart 
DateTimeEnd 
Type 

Definition at line 31 of file kcalmodel.h.

Constructor & Destructor Documentation

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

Definition at line 77 of file kcalmodel.cpp.

KCalModel::~KCalModel ( )
virtual

Definition at line 83 of file kcalmodel.cpp.

Member Function Documentation

int KCalModel::columnCount ( const QModelIndex &  parent = QModelIndex()) const
virtual

Definition at line 96 of file kcalmodel.cpp.

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

Definition at line 114 of file kcalmodel.cpp.

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

Definition at line 184 of file kcalmodel.cpp.

QStringList KCalModel::mimeTypes ( ) const
virtual

Reimplemented from QAbstractItemModel.

Definition at line 88 of file kcalmodel.cpp.

int KCalModel::rowCount ( const QModelIndex &  parent = QModelIndex()) const
virtual

Definition at line 105 of file kcalmodel.cpp.


The documentation for this class was generated from the following files:
  • kcalmodel.h
  • kcalmodel.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:54:59 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

calendarsupport

Skip menu "calendarsupport"
  • 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

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