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

kdgantt2

  • KDGantt
  • ForwardingProxyModel
Public Member Functions | Protected Slots | List of all members
KDGantt::ForwardingProxyModel Class Reference

#include <kdganttforwardingproxymodel.h>

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

Public Member Functions

 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)
 

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)
 

Detailed Description

Definition at line 33 of file kdganttforwardingproxymodel.h.

Constructor & Destructor Documentation

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

Constructor. Creates a new ForwardingProxyModel with parent parent

Definition at line 36 of file kdganttforwardingproxymodel.cpp.

ForwardingProxyModel::~ForwardingProxyModel ( )
virtual

Definition at line 41 of file kdganttforwardingproxymodel.cpp.

Member Function Documentation

int ForwardingProxyModel::columnCount ( const QModelIndex &  idx = QModelIndex()) const
See also
QAbstractItemModel::columnCount

Definition at line 255 of file kdganttforwardingproxymodel.cpp.

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

Definition at line 261 of file kdganttforwardingproxymodel.cpp.

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

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

Definition at line 46 of file kdganttforwardingproxymodel.cpp.

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

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

Definition at line 67 of file kdganttforwardingproxymodel.cpp.

QModelIndex ForwardingProxyModel::parent ( const QModelIndex &  idx) const
See also
QAbstractItemModel::parent

Definition at line 267 of file kdganttforwardingproxymodel.cpp.

int ForwardingProxyModel::rowCount ( const QModelIndex &  idx = QModelIndex()) const
See also
QAbstractItemModel::rowCount

Definition at line 249 of file kdganttforwardingproxymodel.cpp.

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

Definition at line 273 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

Definition at line 88 of file kdganttforwardingproxymodel.cpp.

void ForwardingProxyModel::sourceColumnsAboutToBeInserted ( const QModelIndex &  parentIdx,
int  start,
int  end 
)
protectedvirtualslot

Called just before columns are inserted into the source model.

See also
QAbstractItemModel::columnsAboutToBeInserted()

Reimplemented in KDGantt::SummaryHandlingProxyModel.

Definition at line 171 of file kdganttforwardingproxymodel.cpp.

void ForwardingProxyModel::sourceColumnsAboutToBeRemoved ( const QModelIndex &  parentIdx,
int  start,
int  end 
)
protectedvirtualslot

Called just before columns are removed from the source model.

See also
QAbstractItemModel::columnsAboutToBeRemoved()

Reimplemented in KDGantt::SummaryHandlingProxyModel.

Definition at line 192 of file kdganttforwardingproxymodel.cpp.

void ForwardingProxyModel::sourceColumnsInserted ( const QModelIndex &  parentIdx,
int  start,
int  end 
)
protectedvirtualslot

Called after columns have been inserted into the source model.

See also
QAbstractItemModel::columnsInserted()

Definition at line 181 of file kdganttforwardingproxymodel.cpp.

void ForwardingProxyModel::sourceColumnsRemoved ( const QModelIndex &  parentIdx,
int  start,
int  end 
)
protectedvirtualslot

Called after columns have been removed from the source model.

See also
QAbstractItemModel::columnsRemoved()

Definition at line 202 of file kdganttforwardingproxymodel.cpp.

void ForwardingProxyModel::sourceDataChanged ( const QModelIndex &  from,
const QModelIndex &  to 
)
protectedvirtualslot

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

See also
QAbstractItemModel::dataChanged()

Reimplemented in KDGantt::SummaryHandlingProxyModel.

Definition at line 162 of file kdganttforwardingproxymodel.cpp.

void ForwardingProxyModel::sourceLayoutAboutToBeChanged ( )
protectedvirtualslot

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

See also
QAbstractItemModel::layoutAboutToBeChanged()

Definition at line 144 of file kdganttforwardingproxymodel.cpp.

void ForwardingProxyModel::sourceLayoutChanged ( )
protectedvirtualslot

Called when the layout of the source model has changed.

See also
QAbstractItemModel::layoutChanged()

Reimplemented in KDGantt::SummaryHandlingProxyModel.

Definition at line 153 of file kdganttforwardingproxymodel.cpp.

void ForwardingProxyModel::sourceModelAboutToBeReset ( )
protectedvirtualslot

Called when the source model is about to be reset.

See also
QAbstractItemModel::modelAboutToBeReset()

Definition at line 126 of file kdganttforwardingproxymodel.cpp.

void ForwardingProxyModel::sourceModelReset ( )
protectedvirtualslot

Called when the source model is reset

See also
QAbstractItemModel::modelReset()

Reimplemented in KDGantt::SummaryHandlingProxyModel.

Definition at line 134 of file kdganttforwardingproxymodel.cpp.

void ForwardingProxyModel::sourceRowsAboutToBeInserted ( const QModelIndex &  parentIdx,
int  start,
int  end 
)
protectedvirtualslot

Called just before rows are inserted into the source model.

See also
QAbstractItemModel::rowsAboutToBeInserted()

Reimplemented in KDGantt::SummaryHandlingProxyModel.

Definition at line 213 of file kdganttforwardingproxymodel.cpp.

void ForwardingProxyModel::sourceRowsAboutToBeRemoved ( const QModelIndex &  parentIdx,
int  start,
int  end 
)
protectedvirtualslot

Called just before rows are removed from the source model.

See also
QAbstractItemModel::rowsAboutToBeRemoved()

Reimplemented in KDGantt::SummaryHandlingProxyModel.

Definition at line 232 of file kdganttforwardingproxymodel.cpp.

void ForwardingProxyModel::sourceRowsInserted ( const QModelIndex &  parentIdx,
int  start,
int  end 
)
protectedvirtualslot

Called after rows have been inserted into the source model.

See also
QAbstractItemModel::rowsInserted()

Definition at line 221 of file kdganttforwardingproxymodel.cpp.

void ForwardingProxyModel::sourceRowsRemoved ( const QModelIndex &  parentIdx,
int  start,
int  end 
)
protectedvirtualslot

Called after rows have been removed from the source model.

See also
QAbstractItemModel::rowsRemoved()

Definition at line 240 of file kdganttforwardingproxymodel.cpp.


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