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

kdgantt

KDGantt::ProxyModel

KDGantt::ProxyModel Class Reference

#include <kdganttproxymodel.h>

Inheritance diagram for KDGantt::ProxyModel:

Inheritance graph
[legend]

List of all members.


Detailed Description

Definition at line 31 of file kdganttproxymodel.h.


Public Member Functions

int column (int ganttrole) const
int columnCount (const QModelIndex &idx) const
QVariant data (const QModelIndex &idx, int role=Qt::DisplayRole) const
QModelIndex mapFromSource (const QModelIndex &idx) const
QModelIndex mapToSource (const QModelIndex &proxyIdx) const
 ProxyModel (QObject *parent=0)
int role (int ganttrole) const
int rowCount (const QModelIndex &idx) const
void setColumn (int ganttrole, int col)
bool setData (const QModelIndex &idx, const QVariant &value, int role=Qt::EditRole)
void setRole (int ganttrole, int role)
virtual ~ProxyModel ()

Constructor & Destructor Documentation

ProxyModel::ProxyModel ( QObject *  parent = 0  )  [explicit]

Definition at line 55 of file kdganttproxymodel.cpp.

ProxyModel::~ProxyModel (  )  [virtual]

Definition at line 61 of file kdganttproxymodel.cpp.


Member Function Documentation

int ProxyModel::column ( int  ganttrole  )  const

Definition at line 110 of file kdganttproxymodel.cpp.

int ProxyModel::columnCount ( const QModelIndex &  idx  )  const

See also:
QAbstractItemModel::columnCount

Reimplemented from KDGantt::ForwardingProxyModel.

Definition at line 146 of file kdganttproxymodel.cpp.

QVariant ProxyModel::data ( const QModelIndex &  idx,
int  role = Qt::DisplayRole 
) const

Definition at line 151 of file kdganttproxymodel.cpp.

QModelIndex ProxyModel::mapFromSource ( const QModelIndex &  sourceIndex  )  const

Converts indexes in the source model to indexes in the proxy model

Reimplemented from KDGantt::ForwardingProxyModel.

Definition at line 72 of file kdganttproxymodel.cpp.

QModelIndex ProxyModel::mapToSource ( const QModelIndex &  proxyIndex  )  const

Converts indexes in the proxy model to indexes in the source model

Reimplemented from KDGantt::ForwardingProxyModel.

Definition at line 92 of file kdganttproxymodel.cpp.

int ProxyModel::role ( int  ganttrole  )  const

Definition at line 120 of file kdganttproxymodel.cpp.

int ProxyModel::rowCount ( const QModelIndex &  idx  )  const

See also:
QAbstractItemModel::rowCount

Reimplemented from KDGantt::ForwardingProxyModel.

Definition at line 140 of file kdganttproxymodel.cpp.

void ProxyModel::setColumn ( int  ganttrole,
int  col 
)

Definition at line 105 of file kdganttproxymodel.cpp.

bool ProxyModel::setData ( const QModelIndex &  index,
const QVariant &  value,
int  role = Qt::EditRole 
)

See also:
QAbstractItemModel::setData

Reimplemented from KDGantt::ForwardingProxyModel.

Definition at line 167 of file kdganttproxymodel.cpp.

void ProxyModel::setRole ( int  ganttrole,
int  role 
)

Definition at line 115 of file kdganttproxymodel.cpp.


The documentation for this class was generated from the following files:
  • kdganttproxymodel.h
  • kdganttproxymodel.cpp

kdgantt

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

kdepim

Skip menu "kdepim"
  • akonadi
  •   clients
  •   kabc
  •   kcal
  •   kcm
  • akregator
  • console
  •   kabcclient
  •   konsolekalendar
  • kaddressbook
  • kalarm
  •   lib
  • kdgantt
  • kdgantt1
  • kjots
  • kleopatra
  • kmail
  • kmobiletools
  • knode
  • knotes
  • kontact
  • kontactinterfaces
  • korganizer
  •   korgac
  • kpilot
  • ktimetracker
  •   doc
  • libkdepim
  • libkholidays
  • libkleo
  • libkpgp
  • maildir
Generated for kdepim by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal