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 862 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 )

◆ FileToLoad() [2/2]

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

Member Function Documentation

◆ canonicalPath()

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

Definition at line 881 of file qqmldomitem_p.h.

◆ content()

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

Definition at line 885 of file qqmldomitem_p.h.

◆ environment()

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

Definition at line 880 of file qqmldomitem_p.h.

◆ fromFileSystem()

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

◆ fromMemory()

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

◆ logicalPath()

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

Definition at line 882 of file qqmldomitem_p.h.

◆ setCanonicalPath()

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

Definition at line 883 of file qqmldomitem_p.h.

◆ setLogicalPath()

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

Definition at line 884 of file qqmldomitem_p.h.


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