Public Member Functions

KDChart::AbstractProxyModel Class Reference

Base class for all proxy models used inside KD Chart. More...

#include <KDChartAbstractProxyModel.h>

Inheritance diagram for KDChart::AbstractProxyModel:
Inheritance graph
[legend]
Collaboration diagram for KDChart::AbstractProxyModel:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 AbstractProxyModel (QObject *parent=0)
 This is basically KDAbstractProxyModel, but only the bits that we really need from it.
QModelIndex index (int row, int col, const QModelIndex &index) const
QModelIndex mapFromSource (const QModelIndex &sourceIndex) const
QModelIndex mapToSource (const QModelIndex &proxyIndex) const
QModelIndex parent (const QModelIndex &index) const

Detailed Description

Base class for all proxy models used inside KD Chart.

Definition at line 36 of file KDChartAbstractProxyModel.h.


Constructor & Destructor Documentation

KDChart::AbstractProxyModel::AbstractProxyModel ( QObject parent = 0  )  [explicit]

This is basically KDAbstractProxyModel, but only the bits that we really need from it.

Definition at line 34 of file KDChartAbstractProxyModel.cpp.


Member Function Documentation

QModelIndex KDChart::AbstractProxyModel::index ( int  row,
int  col,
const QModelIndex &  index 
) const
QModelIndex KDChart::AbstractProxyModel::mapFromSource ( const QModelIndex &  sourceIndex  )  const

[reimplemented]

Definition at line 45 of file KDChartAbstractProxyModel.cpp.

Referenced by index(), and parent().

QModelIndex KDChart::AbstractProxyModel::mapToSource ( const QModelIndex &  proxyIndex  )  const
QModelIndex KDChart::AbstractProxyModel::parent ( const QModelIndex &  index  )  const

[reimplemented]

Definition at line 83 of file KDChartAbstractProxyModel.cpp.

References mapFromSource(), and mapToSource().


The documentation for this class was generated from the following files: