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

calendarsupport

  • CalendarSupport
  • IncidenceAttachmentModel
Public Types | Signals | Public Member Functions | Properties | List of all members
CalendarSupport::IncidenceAttachmentModel Class Reference

#include <incidenceattachmentmodel.h>

Inheritance diagram for CalendarSupport::IncidenceAttachmentModel:
Inheritance graph
[legend]

Public Types

enum  Roles {
  AttachmentDataRole = Qt::UserRole, MimeTypeRole, AttachmentUrl, AttachmentCountRole,
  UserRole = Qt::UserRole + 100
}
 

Signals

void rowCountChanged ()
 

Public Member Functions

 IncidenceAttachmentModel (const QPersistentModelIndex &modelIndex, QObject *parent=0)
 
 IncidenceAttachmentModel (const Akonadi::Item &item, QObject *parent=0)
 
 IncidenceAttachmentModel (QObject *parent=0)
 
 ~IncidenceAttachmentModel ()
 
QVariant data (const QModelIndex &index, int role=Qt::DisplayRole) const
 
QVariant headerData (int section, Qt::Orientation orientation, int role=Qt::DisplayRole) const
 
KCalCore::Incidence::Ptr incidence () const
 
int rowCount (const QModelIndex &parent=QModelIndex()) const
 
void setIndex (const QPersistentModelIndex &modelIndex)
 
void setItem (const Akonadi::Item &item)
 

Properties

int attachmentCount
 

Detailed Description

Definition at line 41 of file incidenceattachmentmodel.h.

Member Enumeration Documentation

enum CalendarSupport::IncidenceAttachmentModel::Roles
Enumerator
AttachmentDataRole 
MimeTypeRole 
AttachmentUrl 
AttachmentCountRole 
UserRole 

Definition at line 47 of file incidenceattachmentmodel.h.

Constructor & Destructor Documentation

IncidenceAttachmentModel::IncidenceAttachmentModel ( const QPersistentModelIndex &  modelIndex,
QObject *  parent = 0 
)
explicit

Definition at line 113 of file incidenceattachmentmodel.cpp.

IncidenceAttachmentModel::IncidenceAttachmentModel ( const Akonadi::Item &  item,
QObject *  parent = 0 
)
explicit

Definition at line 121 of file incidenceattachmentmodel.cpp.

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

Definition at line 128 of file incidenceattachmentmodel.cpp.

IncidenceAttachmentModel::~IncidenceAttachmentModel ( )

Definition at line 135 of file incidenceattachmentmodel.cpp.

Member Function Documentation

QVariant IncidenceAttachmentModel::data ( const QModelIndex &  index,
int  role = Qt::DisplayRole 
) const
Reimplemented from superclass.

Definition at line 192 of file incidenceattachmentmodel.cpp.

QVariant IncidenceAttachmentModel::headerData ( int  section,
Qt::Orientation  orientation,
int  role = Qt::DisplayRole 
) const
Reimplemented from superclass.

Definition at line 213 of file incidenceattachmentmodel.cpp.

KCalCore::Incidence::Ptr IncidenceAttachmentModel::incidence ( ) const

Definition at line 140 of file incidenceattachmentmodel.cpp.

int IncidenceAttachmentModel::rowCount ( const QModelIndex &  parent = QModelIndex()) const
Reimplemented from superclass.

Definition at line 182 of file incidenceattachmentmodel.cpp.

void CalendarSupport::IncidenceAttachmentModel::rowCountChanged ( )
signal
void IncidenceAttachmentModel::setIndex ( const QPersistentModelIndex &  modelIndex)

Definition at line 146 of file incidenceattachmentmodel.cpp.

void IncidenceAttachmentModel::setItem ( const Akonadi::Item &  item)

Definition at line 157 of file incidenceattachmentmodel.cpp.

Property Documentation

int CalendarSupport::IncidenceAttachmentModel::attachmentCount
read

Definition at line 44 of file incidenceattachmentmodel.h.


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