kdgantt2
#include <kdganttproxymodel.h>
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
|
explicit |
Definition at line 55 of file kdganttproxymodel.cpp.
|
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:
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.