Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
QHelpContentItem Class Referencefinal

\inmodule QtHelp More...

#include <qhelpcontentitem.h>

+ Collaboration diagram for QHelpContentItem:

Public Member Functions

 ~QHelpContentItem ()
 Destroys the help content item.
 
QHelpContentItemchild (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.
 
QHelpContentItemparent () const
 Returns the parent content item.
 
int childPosition (QHelpContentItem *child) const
 Returns the position of a given child.
 

Friends

QHelpContentItemcreateContentItem (const QString &, const QUrl &, QHelpContentItem *)
 

Detailed Description

\inmodule QtHelp

The QHelpContentItem class provides an item for use with QHelpContentModel.

Since
4.4

Definition at line 15 of file qhelpcontentitem.h.

Constructor & Destructor Documentation

◆ ~QHelpContentItem()

QHelpContentItem::~QHelpContentItem ( )

Destroys the help content item.

Definition at line 37 of file qhelpcontentitem.cpp.

Member Function Documentation

◆ child()

QHelpContentItem * QHelpContentItem::child ( int row) const

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

See also
parent()

Definition at line 48 of file qhelpcontentitem.cpp.

◆ childCount()

int QHelpContentItem::childCount ( ) const

Returns the number of child items.

Definition at line 56 of file qhelpcontentitem.cpp.

◆ childPosition()

int QHelpContentItem::childPosition ( QHelpContentItem * child) const

Returns the position of a given child.

Definition at line 97 of file qhelpcontentitem.cpp.

◆ parent()

QHelpContentItem * QHelpContentItem::parent ( ) const

Returns the parent content item.

Definition at line 89 of file qhelpcontentitem.cpp.

◆ row()

int QHelpContentItem::row ( ) const

Returns the row of this item from its parents view.

Definition at line 64 of file qhelpcontentitem.cpp.

◆ title()

QString QHelpContentItem::title ( ) const

Returns the title of the content item.

Definition at line 73 of file qhelpcontentitem.cpp.

◆ url()

QUrl QHelpContentItem::url ( ) const

Returns the URL of this content item.

Definition at line 81 of file qhelpcontentitem.cpp.

Friends And Related Symbol Documentation

◆ createContentItem

QHelpContentItem * createContentItem ( const QString & ,
const QUrl & ,
QHelpContentItem *  )
friend

The documentation for this class was generated from the following files: