QHelpFilterData 类提供的过滤细节用于 QHelpFilterEngine . 更多...
头: | #include <QHelpFilterData> |
CMake: |
find_package(Qt6 REQUIRED COMPONENTS Help)
target_link_libraries(mytarget PRIVATE Qt6::Help) |
qmake: | QT += help |
QHelpFilterData () | |
QHelpFilterData (const QHelpFilterData & other ) | |
QHelpFilterData (QHelpFilterData && other ) | |
~QHelpFilterData () | |
QStringList | components () const |
void | setComponents (const QStringList & components ) |
void | setVersions (const QList<QVersionNumber> & versions ) |
void | swap (QHelpFilterData & other ) |
QList<QVersionNumber> | versions () const |
QHelpFilterData & | operator= (const QHelpFilterData & other ) |
QHelpFilterData & | operator= (QHelpFilterData && other ) |
By using setComponents () you may constrain the search results to documents that belong only to components specified on the given list. By using setVersions () you may constrain the search results to documents that belong only to versions specified on the given list.
另请参阅 QHelpFilterEngine .
Constructs the empty filter.
构造副本为 other .
Move-constructs a QHelpFilterData instance, making it point at the same object that other 所指向的。
Destroys the filter.
Returns the component list that is used for filtering the search results.
另请参阅 setComponents ().
Specifies the component list that is used for filtering the search results. Only results from components in the list components shall be returned.
另请参阅 components ().
Specifies the version list that is used for filtering the search results. Only results from versions in the list versions shall be returned.
另请参阅 versions ().
Swaps the filter other with this filter. This operation is very fast and never fails.
Returns the version list that is used for filtering the search results.
另请参阅 setVersions ().
赋值 other to this filter and returns a reference to this filter.
移动赋值 other 到此 QHelpFilterData 实例。