GammaRay  2.3.0
Public Member Functions | List of all members
GammaRay::SingleColumnObjectProxyModel Class Reference

A QIdentityProxyModel for generic Objects. More...

#include <singlecolumnobjectproxymodel.h>

Inheritance diagram for GammaRay::SingleColumnObjectProxyModel:
Inheritance graph
[legend]

Public Member Functions

 SingleColumnObjectProxyModel (QObject *parent=0)
 
QVariant data (const QModelIndex &proxyIndex, int role=Qt::DisplayRole) const
 

Detailed Description

A QIdentityProxyModel for generic Objects.

Constructor & Destructor Documentation

GammaRay::SingleColumnObjectProxyModel::SingleColumnObjectProxyModel ( QObject *  parent = 0)
inlineexplicit

Constructor.

Parameters
parentis the parent object for this instance.

Member Function Documentation

QVariant GammaRay::SingleColumnObjectProxyModel::data ( const QModelIndex &  proxyIndex,
int  role = Qt::DisplayRole 
) const
inline

Returns the data for the specified model.

Parameters
proxyIndexis a QModelIndex.
roleis a Qt role.
Returns
on success, a QVariant containing the data; QVariant() if some anamoly occurs.

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

Klarälvdalens Datakonsult AB (KDAB)
"The Qt Experts"
http://www.kdab.com/
GammaRay
Qt-application inspection and manipulation tool
http://www.kdab.com/kdab-products/gammaray/