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
QQmlJS::HeuristicContextProperties Class Reference

#include <qqmljscontextproperties_p.h>

Collaboration diagram for QQmlJS::HeuristicContextProperties:

Public Member Functions

bool contains (const QString &name) const
qsizetype size () const
bool isValid () const
QList< HeuristicContextPropertydefinitionsForName (const QString &name) const
void writeCache (const QString &folder) const
void add (const QString &name, const HeuristicContextProperty &property)
 Q_DECLARE_EQUALITY_COMPARABLE (HeuristicContextProperties)

Static Public Member Functions

static HeuristicContextProperties collectFromCppSourceDirs (const QList< QString > &cppSourceDirs)
static HeuristicContextProperties collectFrom (QSettings *settings)

Friends

bool comparesEqual (const HeuristicContextProperties &a, const HeuristicContextProperties &b) noexcept

Detailed Description

Definition at line 49 of file qqmljscontextproperties_p.h.

Member Function Documentation

◆ add()

void QQmlJS::HeuristicContextProperties::add ( const QString & name,
const HeuristicContextProperty & property )

Definition at line 53 of file qqmljscontextproperties.cpp.

◆ collectFrom()

HeuristicContextProperties QQmlJS::HeuristicContextProperties::collectFrom ( QSettings * settings)
static

Definition at line 196 of file qqmljscontextproperties.cpp.

◆ collectFromCppSourceDirs()

HeuristicContextProperties QQmlJS::HeuristicContextProperties::collectFromCppSourceDirs ( const QList< QString > & cppSourceDirs)
static

Definition at line 104 of file qqmljscontextproperties.cpp.

◆ contains()

bool QQmlJS::HeuristicContextProperties::contains ( const QString & name) const
inline

Definition at line 52 of file qqmljscontextproperties_p.h.

◆ definitionsForName()

QList< HeuristicContextProperty > QQmlJS::HeuristicContextProperties::definitionsForName ( const QString & name) const

Definition at line 45 of file qqmljscontextproperties.cpp.

◆ isValid()

bool QQmlJS::HeuristicContextProperties::isValid ( ) const
inline

Definition at line 54 of file qqmljscontextproperties_p.h.

◆ Q_DECLARE_EQUALITY_COMPARABLE()

QQmlJS::HeuristicContextProperties::Q_DECLARE_EQUALITY_COMPARABLE ( HeuristicContextProperties )

◆ size()

qsizetype QQmlJS::HeuristicContextProperties::size ( ) const
inline

Definition at line 53 of file qqmljscontextproperties_p.h.

◆ writeCache()

void QQmlJS::HeuristicContextProperties::writeCache ( const QString & folder) const

Definition at line 229 of file qqmljscontextproperties.cpp.

◆ comparesEqual

bool comparesEqual ( const HeuristicContextProperties & a,
const HeuristicContextProperties & b )
friend

Definition at line 63 of file qqmljscontextproperties_p.h.


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