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
QQmlPrivate::HasSingletonFactory< T, WrapperT, std::void_t< decltype(WrapperT::create(static_cast< QQmlEngine * >(nullptr), static_cast< QJSEngine * >(nullptr)))> > Struct Template Reference

#include <qqmlprivate.h>

+ Collaboration diagram for QQmlPrivate::HasSingletonFactory< T, WrapperT, std::void_t< decltype(WrapperT::create(static_cast< QQmlEngine * >(nullptr), static_cast< QJSEngine * >(nullptr)))> >:

Static Public Attributes

static constexpr bool value
 

Detailed Description

template<typename T, typename WrapperT>
struct QQmlPrivate::HasSingletonFactory< T, WrapperT, std::void_t< decltype(WrapperT::create(static_cast< QQmlEngine * >(nullptr), static_cast< QJSEngine * >(nullptr)))> >

Definition at line 137 of file qqmlprivate.h.

Member Data Documentation

◆ value

template<typename T , typename WrapperT >
constexpr bool QQmlPrivate::HasSingletonFactory< T, WrapperT, std::void_t< decltype(WrapperT::create(static_cast< QQmlEngine * >(nullptr), static_cast< QJSEngine * >(nullptr)))> >::value
staticconstexpr
Initial value:
= std::is_same_v<
decltype(WrapperT::create(static_cast<QQmlEngine *>(nullptr),
static_cast<QJSEngine *>(nullptr))), T *>
The QJSEngine class provides an environment for evaluating JavaScript code.
Definition qjsengine.h:26
The QQmlEngine class provides an environment for instantiating QML components.
Definition qqmlengine.h:57

Definition at line 141 of file qqmlprivate.h.


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