QHelpContentItem 类

QHelpContentItem 类提供的项用于 QHelpContentModel . 更多...

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

该类在 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

详细描述

成员函数文档编制

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.