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

kdgantt

KDGantt::ForwardingProxyModel

KDGantt::ForwardingProxyModel Class Reference

#include <kdganttforwardingproxymodel.h>

Inheritance diagram for KDGantt::ForwardingProxyModel:

Inheritance graph
[legend]

List of all members.


Detailed Description

Definition at line 31 of file kdganttforwardingproxymodel.h.


Public Member Functions

int columnCount (const QModelIndex &idx=QModelIndex()) const
 ForwardingProxyModel (QObject *parent=0)
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)
virtual ~ForwardingProxyModel ()

Protected Slots

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)

Constructor & Destructor Documentation

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

Constructor. Creates a new ForwardingProxyModel with parent parent

Definition at line 34 of file kdganttforwardingproxymodel.cpp.

ForwardingProxyModel::~ForwardingProxyModel (  )  [virtual]

Definition at line 39 of file kdganttforwardingproxymodel.cpp.


Member Function Documentation

int ForwardingProxyModel::columnCount ( const QModelIndex &  idx = QModelIndex()  )  const

See also:
QAbstractItemModel::columnCount

Reimplemented in KDGantt::ProxyModel.

Definition at line 253 of file kdganttforwardingproxymodel.cpp.

QModelIndex ForwardingProxyModel::index ( int  row,
int  column,
const QModelIndex &  parent = QModelIndex() 
) const

See also:
QAbstractItemModel::index

Definition at line 259 of file kdganttforwardingproxymodel.cpp.

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

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

Reimplemented in KDGantt::ProxyModel.

Definition at line 44 of file kdganttforwardingproxymodel.cpp.

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

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

Reimplemented in KDGantt::ProxyModel.

Definition at line 65 of file kdganttforwardingproxymodel.cpp.

QModelIndex ForwardingProxyModel::parent ( const QModelIndex &  idx  )  const

See also:
QAbstractItemModel::parent

Definition at line 265 of file kdganttforwardingproxymodel.cpp.

int ForwardingProxyModel::rowCount ( const QModelIndex &  idx = QModelIndex()  )  const

See also:
QAbstractItemModel::rowCount

Reimplemented in KDGantt::ProxyModel.

Definition at line 247 of file kdganttforwardingproxymodel.cpp.

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

See also:
QAbstractItemModel::setData

Reimplemented in KDGantt::ProxyModel, and KDGantt::SummaryHandlingProxyModel.

Definition at line 271 of file kdganttforwardingproxymodel.cpp.

void ForwardingProxyModel::setSourceModel ( QAbstractItemModel *  model  ) 

Sets the model to be used as the source model for this proxy. The proxy does not take ownership of the model.

See also:
QAbstractProxyModel::setSourceModel

Reimplemented from QAbstractProxyModel.

Reimplemented in KDGantt::SummaryHandlingProxyModel.

Definition at line 86 of file kdganttforwardingproxymodel.cpp.

void ForwardingProxyModel::sourceColumnsAboutToBeInserted ( const QModelIndex &  parentIdx,
int  start,
int  end 
) [protected, virtual, slot]

Called just before columns are inserted into the source model.

See also:
QAbstractItemModel::columnsAboutToBeInserted()

Reimplemented in KDGantt::SummaryHandlingProxyModel.

Definition at line 169 of file kdganttforwardingproxymodel.cpp.

void ForwardingProxyModel::sourceColumnsAboutToBeRemoved ( const QModelIndex &  parentIdx,
int  start,
int  end 
) [protected, virtual, slot]

Called just before columns are removed from the source model.

See also:
QAbstractItemModel::columnsAboutToBeRemoved()

Reimplemented in KDGantt::SummaryHandlingProxyModel.

Definition at line 190 of file kdganttforwardingproxymodel.cpp.

void ForwardingProxyModel::sourceColumnsInserted ( const QModelIndex &  parentIdx,
int  start,
int  end 
) [protected, virtual, slot]

Called after columns have been inserted into the source model.

See also:
QAbstractItemModel::columnsInserted()

Definition at line 179 of file kdganttforwardingproxymodel.cpp.

void ForwardingProxyModel::sourceColumnsRemoved ( const QModelIndex &  parentIdx,
int  start,
int  end 
) [protected, virtual, slot]

Called after columns have been removed from the source model.

See also:
QAbstractItemModel::columnsRemoved()

Definition at line 200 of file kdganttforwardingproxymodel.cpp.

void ForwardingProxyModel::sourceDataChanged ( const QModelIndex &  from,
const QModelIndex &  to 
) [protected, virtual, slot]

Called when the data in an existing item in the source model changes.

See also:
QAbstractItemModel::dataChanged()

Reimplemented in KDGantt::SummaryHandlingProxyModel.

Definition at line 160 of file kdganttforwardingproxymodel.cpp.

void ForwardingProxyModel::sourceLayoutAboutToBeChanged (  )  [protected, virtual, slot]

Called just before the layout of the source model is changed.

See also:
QAbstractItemModel::layoutAboutToBeChanged()

Definition at line 142 of file kdganttforwardingproxymodel.cpp.

void ForwardingProxyModel::sourceLayoutChanged (  )  [protected, virtual, slot]

Called when the layout of the source model has changed.

See also:
QAbstractItemModel::layoutChanged()

Reimplemented in KDGantt::SummaryHandlingProxyModel.

Definition at line 151 of file kdganttforwardingproxymodel.cpp.

void ForwardingProxyModel::sourceModelAboutToBeReset (  )  [protected, virtual, slot]

Called when the source model is about to be reset.

See also:
QAbstractItemModel::modelAboutToBeReset()

Definition at line 124 of file kdganttforwardingproxymodel.cpp.

void ForwardingProxyModel::sourceModelReset (  )  [protected, virtual, slot]

Called when the source model is reset

See also:
QAbstractItemModel::modelReset()

Reimplemented in KDGantt::SummaryHandlingProxyModel.

Definition at line 132 of file kdganttforwardingproxymodel.cpp.

void ForwardingProxyModel::sourceRowsAboutToBeInserted ( const QModelIndex &  parentIdx,
int  start,
int  end 
) [protected, virtual, slot]

Called just before rows are inserted into the source model.

See also:
QAbstractItemModel::rowsAboutToBeInserted()

Reimplemented in KDGantt::SummaryHandlingProxyModel.

Definition at line 211 of file kdganttforwardingproxymodel.cpp.

void ForwardingProxyModel::sourceRowsAboutToBeRemoved ( const QModelIndex &  parentIdx,
int  start,
int  end 
) [protected, virtual, slot]

Called just before rows are removed from the source model.

See also:
QAbstractItemModel::rowsAboutToBeRemoved()

Reimplemented in KDGantt::SummaryHandlingProxyModel.

Definition at line 230 of file kdganttforwardingproxymodel.cpp.

void ForwardingProxyModel::sourceRowsInserted ( const QModelIndex &  parentIdx,
int  start,
int  end 
) [protected, virtual, slot]

Called after rows have been inserted into the source model.

See also:
QAbstractItemModel::rowsInserted()

Definition at line 219 of file kdganttforwardingproxymodel.cpp.

void ForwardingProxyModel::sourceRowsRemoved ( const QModelIndex &  parentIdx,
int  start,
int  end 
) [protected, virtual, slot]

Called after rows have been removed from the source model.

See also:
QAbstractItemModel::rowsRemoved()

Definition at line 238 of file kdganttforwardingproxymodel.cpp.


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