kdgantt
KDGantt::ProxyModel Class Reference
#include <kdganttproxymodel.h>

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:
KDE 4.1 API Reference