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
QHelpDataFilterSection Class Reference

#include <qhelpdatainterface_p.h>

+ Collaboration diagram for QHelpDataFilterSection:

Public Member Functions

 QHelpDataFilterSection ()
 Constructs a help data filter section.
 
void addFilterAttribute (const QString &filter)
 Adds the filter attribute filter to the filter attributes of this section.
 
QStringList filterAttributes () const
 Returns a list of all filter attributes defined for this section.
 
void addIndex (const QHelpDataIndexItem &index)
 Adds the index item index to the list of indices.
 
void setIndices (const QList< QHelpDataIndexItem > &indices)
 Sets the filter sections list of indices to indices.
 
QList< QHelpDataIndexItemindices () const
 Returns the list of indices.
 
void addContent (QHelpDataContentItem *content)
 Adds the top level content item content to the filter section.
 
void setContents (const QList< QHelpDataContentItem * > &contents)
 Sets the list of top level content items of the filter section to contents.
 
QList< QHelpDataContentItem * > contents () const
 Returns a list of top level content items.
 
void addFile (const QString &file)
 Adds the file file to the filter section.
 
void setFiles (const QStringList &files)
 Set the list of files to files.
 
QStringList files () const
 Returns the list of files.
 

Detailed Description

Since
4.4

Definition at line 67 of file qhelpdatainterface_p.h.

Constructor & Destructor Documentation

◆ QHelpDataFilterSection()

QHelpDataFilterSection::QHelpDataFilterSection ( )

Constructs a help data filter section.

Definition at line 80 of file qhelpdatainterface.cpp.

Member Function Documentation

◆ addContent()

void QHelpDataFilterSection::addContent ( QHelpDataContentItem * content)

Adds the top level content item content to the filter section.

Definition at line 129 of file qhelpdatainterface.cpp.

◆ addFile()

void QHelpDataFilterSection::addFile ( const QString & file)

Adds the file file to the filter section.

Definition at line 155 of file qhelpdatainterface.cpp.

◆ addFilterAttribute()

void QHelpDataFilterSection::addFilterAttribute ( const QString & filter)

Adds the filter attribute filter to the filter attributes of this section.

Definition at line 89 of file qhelpdatainterface.cpp.

◆ addIndex()

void QHelpDataFilterSection::addIndex ( const QHelpDataIndexItem & index)

Adds the index item index to the list of indices.

Definition at line 105 of file qhelpdatainterface.cpp.

◆ contents()

QList< QHelpDataContentItem * > QHelpDataFilterSection::contents ( ) const

Returns a list of top level content items.

Definition at line 147 of file qhelpdatainterface.cpp.

◆ files()

QStringList QHelpDataFilterSection::files ( ) const

Returns the list of files.

Definition at line 171 of file qhelpdatainterface.cpp.

Referenced by PRESUBMIT_test_mocks.MockInputApi::AffectedFiles().

+ Here is the caller graph for this function:

◆ filterAttributes()

QStringList QHelpDataFilterSection::filterAttributes ( ) const

Returns a list of all filter attributes defined for this section.

Definition at line 97 of file qhelpdatainterface.cpp.

◆ indices()

QList< QHelpDataIndexItem > QHelpDataFilterSection::indices ( ) const

Returns the list of indices.

Definition at line 121 of file qhelpdatainterface.cpp.

◆ setContents()

void QHelpDataFilterSection::setContents ( const QList< QHelpDataContentItem * > & contents)

Sets the list of top level content items of the filter section to contents.

Definition at line 138 of file qhelpdatainterface.cpp.

◆ setFiles()

void QHelpDataFilterSection::setFiles ( const QStringList & files)

Set the list of files to files.

Definition at line 163 of file qhelpdatainterface.cpp.

◆ setIndices()

void QHelpDataFilterSection::setIndices ( const QList< QHelpDataIndexItem > & indices)

Sets the filter sections list of indices to indices.

Definition at line 113 of file qhelpdatainterface.cpp.


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