Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
\inmodule QtHelp More...
#include <qhelpcontentitem.h>
Public Member Functions | |
~QHelpContentItem () | |
Destroys the help content item. | |
QHelpContentItem * | child (int row) const |
Returns the child of the content item in the give row. | |
int | childCount () const |
Returns the number of child items. | |
QString | title () const |
Returns the title of the content item. | |
QUrl | url () const |
Returns the URL of this content item. | |
int | row () const |
Returns the row of this item from its parents view. | |
QHelpContentItem * | parent () const |
Returns the parent content item. | |
int | childPosition (QHelpContentItem *child) const |
Returns the position of a given child. | |
Friends | |
QHelpContentItem * | createContentItem (const QString &, const QUrl &, QHelpContentItem *) |
\inmodule QtHelp
The QHelpContentItem class provides an item for use with QHelpContentModel.
Definition at line 15 of file qhelpcontentitem.h.
QHelpContentItem::~QHelpContentItem | ( | ) |
Destroys the help content item.
Definition at line 37 of file qhelpcontentitem.cpp.
QHelpContentItem * QHelpContentItem::child | ( | int | row | ) | const |
Returns the child of the content item in the give row.
Definition at line 48 of file qhelpcontentitem.cpp.
int QHelpContentItem::childCount | ( | ) | const |
Returns the number of child items.
Definition at line 56 of file qhelpcontentitem.cpp.
int QHelpContentItem::childPosition | ( | QHelpContentItem * | child | ) | const |
Returns the position of a given child.
Definition at line 97 of file qhelpcontentitem.cpp.
QHelpContentItem * QHelpContentItem::parent | ( | ) | const |
Returns the parent content item.
Definition at line 89 of file qhelpcontentitem.cpp.
int QHelpContentItem::row | ( | ) | const |
Returns the row of this item from its parents view.
Definition at line 64 of file qhelpcontentitem.cpp.
QString QHelpContentItem::title | ( | ) | const |
Returns the title of the content item.
Definition at line 73 of file qhelpcontentitem.cpp.
QUrl QHelpContentItem::url | ( | ) | const |
Returns the URL of this content item.
Definition at line 81 of file qhelpcontentitem.cpp.
|
friend |