QHelpContentItem 类

The QHelpContentItem class provides an item for use with QHelpContentModel . 更多...

头: #include <QHelpContentItem>
qmake: QT += help
Since: Qt 4.4

公共函数

~QHelpContentItem ()
QHelpContentItem * child (int row ) const
int childCount () const
int childPosition (QHelpContentItem * child ) const
QHelpContentItem * parent () const
int row () const
QString title () const
QUrl url () const

详细描述

The QHelpContentItem class provides an item for use with QHelpContentModel .

成员函数文档编制

QHelpContentItem:: ~QHelpContentItem ()

Destroys the help content item.

QHelpContentItem *QHelpContentItem:: child ( int row ) const

Returns the child of the content item in the give row .

另请参阅 parent ().

int QHelpContentItem:: childCount () const

返回子级项数。

int QHelpContentItem:: childPosition ( QHelpContentItem * child ) const

Returns the position of a given child .

QHelpContentItem *QHelpContentItem:: parent () const

Returns the parent content item.

int QHelpContentItem:: row () const

Returns the row of this item from its parents view.

QString QHelpContentItem:: title () const

Returns the title of the content item.

QUrl QHelpContentItem:: url () const

Returns the URL of this content item.