Documents > BPS V2 C++ API
BpsModelIndexMimeData Class Reference

This class implements a mime data container for model indexes. More...

#include <bpsmodelindexmimedata.h>

List of all members.

Public Member Functions

 BpsModelIndexMimeData (QString aFormat, const QModelIndexList &aIndexes)
 Constructor for BpsModelIndexMimeData.
QStringList formats () const
int indexCount () const
QModelIndexList indexes () const

Detailed Description

This class implements a mime data container for model indexes.


Constructor & Destructor Documentation

BpsModelIndexMimeData::BpsModelIndexMimeData ( QString  aFormat,
const QModelIndexList &  aIndexes 
)

Constructor for BpsModelIndexMimeData.

Parameters:
[in]aFormatThe unique mime format name, something as "application/ibk.bps2.designer.exploreritem.list"
[in]aIndexesThe list of model indexes to hold.

Member Function Documentation

QStringList BpsModelIndexMimeData::formats ( ) const
Returns:
The mime format.
int BpsModelIndexMimeData::indexCount ( ) const
Returns:
The number of indexes held.
QModelIndexList BpsModelIndexMimeData::indexes ( ) const
Returns:
The list of model indexes.

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