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
QQmlTypeLoaderQmldirContent Class Reference

#include <qqmltypeloaderqmldircontent_p.h>

+ Collaboration diagram for QQmlTypeLoaderQmldirContent:

Public Member Functions

 QQmlTypeLoaderQmldirContent ()=default
 
 QQmlTypeLoaderQmldirContent (const QQmlTypeLoaderQmldirContent &)=default
 
QQmlTypeLoaderQmldirContentoperator= (const QQmlTypeLoaderQmldirContent &)=default
 
bool hasContent () const
 
bool hasError () const
 
QList< QQmlErrorerrors (const QString &uri, const QUrl &url) const
 
QString typeNamespace () const
 
QQmlDirComponents components () const
 
QQmlDirScripts scripts () const
 
QQmlDirPlugins plugins () const
 
QQmlDirImports imports () const
 
QString qmldirLocation () const
 
QString preferredPath () const
 
bool hasRedirection () const
 
bool designerSupported () const
 
bool hasTypeInfo () const
 

Friends

class QQmlTypeLoader
 

Detailed Description

Definition at line 23 of file qqmltypeloaderqmldircontent_p.h.

Constructor & Destructor Documentation

◆ QQmlTypeLoaderQmldirContent() [1/2]

QQmlTypeLoaderQmldirContent::QQmlTypeLoaderQmldirContent ( )
default

◆ QQmlTypeLoaderQmldirContent() [2/2]

QQmlTypeLoaderQmldirContent::QQmlTypeLoaderQmldirContent ( const QQmlTypeLoaderQmldirContent & )
default

Member Function Documentation

◆ components()

QQmlDirComponents QQmlTypeLoaderQmldirContent::components ( ) const
inline

Definition at line 42 of file qqmltypeloaderqmldircontent_p.h.

References QQmlDirParser::components().

Referenced by QQmlImportInstance::setQmldirContent().

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

◆ designerSupported()

bool QQmlTypeLoaderQmldirContent::designerSupported ( ) const
inline

Definition at line 57 of file qqmltypeloaderqmldircontent_p.h.

References QQmlDirParser::designerSupported().

+ Here is the call graph for this function:

◆ errors()

QT_BEGIN_NAMESPACE QList< QQmlError > QQmlTypeLoaderQmldirContent::errors ( const QString & uri,
const QUrl & url ) const

Definition at line 10 of file qqmltypeloaderqmldircontent.cpp.

References QList< T >::append(), error, QQmlDirParser::errors(), errors(), and url.

Referenced by errors().

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

◆ hasContent()

bool QQmlTypeLoaderQmldirContent::hasContent ( ) const
inline

Definition at line 36 of file qqmltypeloaderqmldircontent_p.h.

Referenced by QQmlImports::addFileImport(), QQmlImports::addLibraryImport(), QQmlTypeLoader::setQmldirContent(), and QQmlImports::updateQmldirContent().

+ Here is the caller graph for this function:

◆ hasError()

bool QQmlTypeLoaderQmldirContent::hasError ( ) const
inline

Definition at line 37 of file qqmltypeloaderqmldircontent_p.h.

References QQmlDirParser::hasError().

+ Here is the call graph for this function:

◆ hasRedirection()

bool QQmlTypeLoaderQmldirContent::hasRedirection ( ) const
inline

Definition at line 50 of file qqmltypeloaderqmldircontent_p.h.

References QStringView::chopped(), QString::isEmpty(), and preferredPath().

Referenced by QQmlImports::addFileImport(), QQmlImports::addLibraryImport(), and QQmlImports::updateQmldirContent().

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

◆ hasTypeInfo()

bool QQmlTypeLoaderQmldirContent::hasTypeInfo ( ) const
inline

Definition at line 58 of file qqmltypeloaderqmldircontent_p.h.

References QQmlDirParser::typeInfos().

Referenced by QQmlImports::addLibraryImport().

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

◆ imports()

QQmlDirImports QQmlTypeLoaderQmldirContent::imports ( ) const
inline

Definition at line 45 of file qqmltypeloaderqmldircontent_p.h.

References QQmlDirParser::imports().

Referenced by QQmlImports::addLibraryImport().

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

◆ operator=()

QQmlTypeLoaderQmldirContent & QQmlTypeLoaderQmldirContent::operator= ( const QQmlTypeLoaderQmldirContent & )
default

◆ plugins()

QQmlDirPlugins QQmlTypeLoaderQmldirContent::plugins ( ) const
inline

Definition at line 44 of file qqmltypeloaderqmldircontent_p.h.

References QQmlDirParser::plugins().

Referenced by QQmlImports::addLibraryImport(), QQmlPluginImporter::importPlugins(), and postProcessQmldir().

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

◆ preferredPath()

QString QQmlTypeLoaderQmldirContent::preferredPath ( ) const
inline

Definition at line 48 of file qqmltypeloaderqmldircontent_p.h.

References QQmlDirParser::preferredPath().

Referenced by hasRedirection().

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

◆ qmldirLocation()

QString QQmlTypeLoaderQmldirContent::qmldirLocation ( ) const
inline

Definition at line 47 of file qqmltypeloaderqmldircontent_p.h.

Referenced by QQmlPluginImporter::importPlugins().

+ Here is the caller graph for this function:

◆ scripts()

QQmlDirScripts QQmlTypeLoaderQmldirContent::scripts ( ) const
inline

Definition at line 43 of file qqmltypeloaderqmldircontent_p.h.

References QQmlDirParser::scripts().

Referenced by QQmlTypeLoader::Blob::importQmldirScripts(), and QQmlImportInstance::setQmldirContent().

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

◆ typeNamespace()

QString QQmlTypeLoaderQmldirContent::typeNamespace ( ) const
inline

Definition at line 40 of file qqmltypeloaderqmldircontent_p.h.

References QQmlDirParser::typeNamespace().

Referenced by QQmlImports::addFileImport(), QQmlPluginImporter::importDynamicPlugin(), QQmlPluginImporter::importStaticPlugin(), and postProcessQmldir().

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

Friends And Related Symbol Documentation

◆ QQmlTypeLoader

friend class QQmlTypeLoader
friend

Definition at line 26 of file qqmltypeloaderqmldircontent_p.h.


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