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
FoundType Struct Reference

#include <qqmltypesclassdescription_p.h>

+ Collaboration diagram for FoundType:

Public Types

enum  Origin { Unknown , OwnTypes , ForeignTypes }
 

Public Member Functions

 FoundType ()=default
 
 FoundType (const MetaType &single, Origin origin)
 
 operator bool () const
 
MetaType select (const MetaType &category, QAnyStringView relation) const
 

Public Attributes

MetaType native
 
MetaType javaScript
 
Origin nativeOrigin = Unknown
 
Origin javaScriptOrigin = Unknown
 

Detailed Description

Definition at line 28 of file qqmltypesclassdescription_p.h.

Member Enumeration Documentation

◆ Origin

Enumerator
Unknown 
OwnTypes 
ForeignTypes 

Definition at line 30 of file qqmltypesclassdescription_p.h.

Constructor & Destructor Documentation

◆ FoundType() [1/2]

FoundType::FoundType ( )
default

◆ FoundType() [2/2]

FoundType::FoundType ( const MetaType & single,
FoundType::Origin origin )

Definition at line 42 of file qqmltypesclassdescription.cpp.

References javaScript, javaScriptOrigin, native, and nativeOrigin.

Member Function Documentation

◆ operator bool()

FoundType::operator bool ( ) const
inline

Definition at line 45 of file qqmltypesclassdescription_p.h.

References MetaType::isEmpty(), javaScript, and native.

+ Here is the call graph for this function:

◆ select()

MetaType FoundType::select ( const MetaType & category,
QAnyStringView relation ) const

Definition at line 53 of file qqmltypesclassdescription.cpp.

References category(), MetaType::isEmpty(), javaScript, native, and warning().

+ Here is the call graph for this function:

Member Data Documentation

◆ javaScript

MetaType FoundType::javaScript

Definition at line 40 of file qqmltypesclassdescription_p.h.

Referenced by FoundType(), operator bool(), and select().

◆ javaScriptOrigin

Origin FoundType::javaScriptOrigin = Unknown

Definition at line 43 of file qqmltypesclassdescription_p.h.

Referenced by FoundType().

◆ native

MetaType FoundType::native

Definition at line 39 of file qqmltypesclassdescription_p.h.

Referenced by FoundType(), operator bool(), and select().

◆ nativeOrigin

Origin FoundType::nativeOrigin = Unknown

Definition at line 42 of file qqmltypesclassdescription_p.h.

Referenced by FoundType().


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