Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
HelpManager Class Referencefinal

#include <qqmllshelputils_p.h>

+ Collaboration diagram for HelpManager:

Public Member Functions

 HelpManager ()
 
void setDocumentationRootPath (const QString &path)
 
QString documentationRootPath () const
 
std::optional< QByteArraydocumentationForItem (const QQmlJS::Dom::DomItem &file, QLspSpecification::Position position) const
 

Detailed Description

Definition at line 29 of file qqmllshelputils_p.h.

Constructor & Destructor Documentation

◆ HelpManager()

HelpManager::HelpManager ( )

Definition at line 31 of file qqmllshelputils.cpp.

References i, keys, QQmlLSHelpPluginInterface_iid, and QDir::tempPath().

+ Here is the call graph for this function:

Member Function Documentation

◆ documentationForItem()

std::optional< QByteArray > HelpManager::documentationForItem ( const QQmlJS::Dom::DomItem & file,
QLspSpecification::Position position ) const

Definition at line 200 of file qqmllshelputils.cpp.

References file, QQmlLSUtils::itemsFromTextLocation(), line, and position().

+ Here is the call graph for this function:

◆ documentationRootPath()

QString HelpManager::documentationRootPath ( ) const

Definition at line 61 of file qqmllshelputils.cpp.

◆ setDocumentationRootPath()

void HelpManager::setDocumentationRootPath ( const QString & path)

Definition at line 45 of file qqmllshelputils.cpp.

References documentationFiles(), and qCWarning.

+ Here is the call graph for this function:

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