KD Chart 2  [rev.2.5.1]
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Macros Pages
Public Member Functions | List of all members
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]

Public Member Functions

 AbstractProxyModel (QObject *parent=0)
 This is basically KDAbstractProxyModel, but only the bits that we really need from it. More...
 
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 41 of file KDChartAbstractProxyModel.cpp.

Member Function Documentation

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

[reimplemented]

Definition at line 84 of file KDChartAbstractProxyModel.cpp.

References mapFromSource(), and mapToSource().

Referenced by KDChart::AttributesModel::setHeaderData().

QModelIndex KDChart::AbstractProxyModel::mapFromSource ( const QModelIndex &  sourceIndex) const

[reimplemented]

Definition at line 52 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 90 of file KDChartAbstractProxyModel.cpp.

References mapFromSource(), and mapToSource().


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

Klarälvdalens Datakonsult AB (KDAB)
Qt-related services and products
http://www.kdab.com/
http://www.kdab.com/products/kd-chart/