![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
The QHelpDataContentItem class provides an item which represents a topic or section of the contents. More...
#include <qhelpdatainterface_p.h>
Public Member Functions | |
QHelpDataContentItem (QHelpDataContentItem *parent, const QString &title, const QString &reference) | |
Constructs a new content item with parent as parent item. | |
~QHelpDataContentItem () | |
Destructs the item and its children. | |
QString | title () const |
Returns the title of the item. | |
QString | reference () const |
Returns the file reference of the item. | |
QList< QHelpDataContentItem * > | children () const |
Returns a list of all its child items. |
The QHelpDataContentItem class provides an item which represents a topic or section of the contents.
Every item holds several pieces of information, most notably the title which can later be displayed in a contents overview. The reference is used to store a relative file link to the corresponding section in the documentation.
Definition at line 24 of file qhelpdatainterface_p.h.
QHelpDataContentItem::QHelpDataContentItem | ( | QHelpDataContentItem * | parent, |
const QString & | title, | ||
const QString & | reference ) |
Constructs a new content item with parent as parent item.
The constucted item has the title title and links to the location specified by reference.
Definition at line 26 of file qhelpdatainterface.cpp.
QHelpDataContentItem::~QHelpDataContentItem | ( | ) |
Destructs the item and its children.
Definition at line 37 of file qhelpdatainterface.cpp.
QList< QHelpDataContentItem * > QHelpDataContentItem::children | ( | ) | const |
Returns a list of all its child items.
Definition at line 61 of file qhelpdatainterface.cpp.
QString QHelpDataContentItem::reference | ( | ) | const |
Returns the file reference of the item.
Definition at line 53 of file qhelpdatainterface.cpp.
QString QHelpDataContentItem::title | ( | ) | const |
Returns the title of the item.
Definition at line 45 of file qhelpdatainterface.cpp.