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::Dom::FileToLoad Class Reference

#include <qqmldomitem_p.h>

Collaboration diagram for QQmlJS::Dom::FileToLoad:

Classes

struct  InMemoryContents

Public Member Functions

 FileToLoad (const std::weak_ptr< DomEnvironment > &environment, const QString &canonicalPath, const QString &logicalPath, const std::optional< InMemoryContents > &content)
 FileToLoad ()=default
std::weak_ptr< DomEnvironmentenvironment () const
QString canonicalPath () const
QString logicalPath () const
void setCanonicalPath (const QString &canonicalPath)
void setLogicalPath (const QString &logicalPath)
std::optional< InMemoryContentscontent () const

Static Public Member Functions

static FileToLoad fromMemory (const std::weak_ptr< DomEnvironment > &environment, const QString &path, const QString &data)
static FileToLoad fromFileSystem (const std::weak_ptr< DomEnvironment > &environment, const QString &canonicalPath)

Detailed Description

Definition at line 824 of file qqmldomitem_p.h.

Constructor & Destructor Documentation

◆ FileToLoad() [1/2]

QQmlJS::Dom::FileToLoad::FileToLoad ( const std::weak_ptr< DomEnvironment > & environment,
const QString & canonicalPath,
const QString & logicalPath,
const std::optional< InMemoryContents > & content )

Definition at line 351 of file qqmldomitem.cpp.

References FileToLoad().

Referenced by FileToLoad().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ FileToLoad() [2/2]

QQmlJS::Dom::FileToLoad::FileToLoad ( )
default

Member Function Documentation

◆ canonicalPath()

QString QQmlJS::Dom::FileToLoad::canonicalPath ( ) const
inline

Definition at line 843 of file qqmldomitem_p.h.

◆ content()

std::optional< InMemoryContents > QQmlJS::Dom::FileToLoad::content ( ) const
inline

Definition at line 847 of file qqmldomitem_p.h.

◆ environment()

std::weak_ptr< DomEnvironment > QQmlJS::Dom::FileToLoad::environment ( ) const
inline

Definition at line 842 of file qqmldomitem_p.h.

◆ fromFileSystem()

FileToLoad QQmlJS::Dom::FileToLoad::fromFileSystem ( const std::weak_ptr< DomEnvironment > & environment,
const QString & canonicalPath )
static

Definition at line 373 of file qqmldomitem.cpp.

◆ fromMemory()

FileToLoad QQmlJS::Dom::FileToLoad::fromMemory ( const std::weak_ptr< DomEnvironment > & environment,
const QString & path,
const QString & data )
static

Definition at line 361 of file qqmldomitem.cpp.

◆ logicalPath()

QString QQmlJS::Dom::FileToLoad::logicalPath ( ) const
inline

Definition at line 844 of file qqmldomitem_p.h.

◆ setCanonicalPath()

void QQmlJS::Dom::FileToLoad::setCanonicalPath ( const QString & canonicalPath)
inline

Definition at line 845 of file qqmldomitem_p.h.

◆ setLogicalPath()

void QQmlJS::Dom::FileToLoad::setLogicalPath ( const QString & logicalPath)
inline

Definition at line 846 of file qqmldomitem_p.h.


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