HeaderDescriptor

Since: BlackBerry 10.2.0

#include <bb/cascades/datamanager/AsyncHierarchicalDataModel/HeaderDescriptor>

To link against this class, add the following line to your .pro file: LIBS += -lbbcascadesdatamanager

HeaderDescriptor is used to describe the header data returned by the HeaderDataQuery.


Overview

Public Functions Index

virtual ~HeaderDescriptor ()
intheaderChildCount (const QVariantList &indexPath, const QList< HeaderDataItem > &headerData)=0
HeaderDataItemheaderData (const QVariantList &indexPath, const QList< HeaderDataItem > &headerData)=0

Public Functions

virtual~HeaderDescriptor ()

Destructor.

int headerChildCount (

The header child count of the index path.

Parameters
indexPath

The index path.

headerData

The header data used to get the child count of the index path. Header data is returned from the HeaderDataQuery.

Return:

The child count of the index path.

Since:

BlackBerry 10.2.0

HeaderDataItem headerData (

The header data of the index path.

Parameters
indexPath

The index path.

headerData

The header data returned from the HeaderDataQuery.

Return:

The header data of the index path.

Since:

BlackBerry 10.2.0

Last modified: 2014-09-30



Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus