A QIdentityProxyModel for generic Objects.
More...
#include <singlecolumnobjectproxymodel.h>
List of all members.
Detailed Description
A QIdentityProxyModel for generic Objects.
Constructor & Destructor Documentation
GammaRay::SingleColumnObjectProxyModel::SingleColumnObjectProxyModel |
( |
QObject * |
parent = 0 | ) |
|
|
inlineexplicit |
Constructor.
- Parameters:
-
parent | is 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:
-
proxyIndex | is a QModelIndex. |
role | is 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: