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

kdgantt2

  • KDGantt
  • ProxyModel
Classes | Public Member Functions | List of all members
KDGantt::ProxyModel Class Reference

#include <kdganttproxymodel.h>

Inheritance diagram for KDGantt::ProxyModel:
Inheritance graph
[legend]

Classes

class  Private
 

Public Member Functions

 ProxyModel (QObject *parent=0)
 
virtual ~ProxyModel ()
 
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
 
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)
 
- Public Member Functions inherited from KDGantt::ForwardingProxyModel
 ForwardingProxyModel (QObject *parent=0)
 
virtual ~ForwardingProxyModel ()
 
int columnCount (const QModelIndex &idx=QModelIndex()) const
 
QModelIndex index (int row, int column, const QModelIndex &parent=QModelIndex()) const
 
QModelIndex mapFromSource (const QModelIndex &sourceIndex) const
 
QModelIndex mapToSource (const QModelIndex &proxyIndex) const
 
QModelIndex parent (const QModelIndex &idx) const
 
int rowCount (const QModelIndex &idx=QModelIndex()) const
 
bool setData (const QModelIndex &index, const QVariant &value, int role=Qt::EditRole)
 
void setSourceModel (QAbstractItemModel *model)
 

Additional Inherited Members

- Protected Slots inherited from KDGantt::ForwardingProxyModel
virtual void sourceColumnsAboutToBeInserted (const QModelIndex &idx, int start, int end)
 
virtual void sourceColumnsAboutToBeRemoved (const QModelIndex &idx, int start, int end)
 
virtual void sourceColumnsInserted (const QModelIndex &idx, int start, int end)
 
virtual void sourceColumnsRemoved (const QModelIndex &idx, int start, int end)
 
virtual void sourceDataChanged (const QModelIndex &from, const QModelIndex &to)
 
virtual void sourceLayoutAboutToBeChanged ()
 
virtual void sourceLayoutChanged ()
 
virtual void sourceModelAboutToBeReset ()
 
virtual void sourceModelReset ()
 
virtual void sourceRowsAboutToBeInserted (const QModelIndex &idx, int start, int end)
 
virtual void sourceRowsAboutToBeRemoved (const QModelIndex &, int start, int end)
 
virtual void sourceRowsInserted (const QModelIndex &idx, int start, int end)
 
virtual void sourceRowsRemoved (const QModelIndex &, int start, int end)
 

Detailed Description

Definition at line 31 of file kdganttproxymodel.h.

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 114 of file kdganttproxymodel.cpp.

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

Definition at line 150 of file kdganttproxymodel.cpp.

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

Definition at line 155 of file kdganttproxymodel.cpp.

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

Definition at line 72 of file kdganttproxymodel.cpp.

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

Definition at line 94 of file kdganttproxymodel.cpp.

int ProxyModel::role ( int  ganttrole) const

Definition at line 124 of file kdganttproxymodel.cpp.

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

Definition at line 144 of file kdganttproxymodel.cpp.

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

Definition at line 109 of file kdganttproxymodel.cpp.

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

Definition at line 174 of file kdganttproxymodel.cpp.

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

Definition at line 119 of file kdganttproxymodel.cpp.


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

KDE's Doxygen guidelines are available online.

kdgantt2

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

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