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
KeyboardModifier::internal::IsEmscriptenEvent< T > Struct Template Reference

#include <qwasmevent.h>

+ Collaboration diagram for KeyboardModifier::internal::IsEmscriptenEvent< T >:

Classes

struct  SFINAE
 

Static Public Member Functions

template<typename U >
static char Test (SFINAE< U, &U::shiftKey, &U::ctrlKey, &U::altKey, &U::metaKey > *)
 
template<typename U >
static int Test (...)
 

Static Public Attributes

static const bool value = sizeof(Test<T>(0)) == sizeof(char)
 

Detailed Description

template<typename T>
struct KeyboardModifier::internal::IsEmscriptenEvent< T >

Definition at line 60 of file qwasmevent.h.

Member Function Documentation

◆ Test() [1/2]

template<typename T >
template<typename U >
static int KeyboardModifier::internal::IsEmscriptenEvent< T >::Test ( ...)
static

◆ Test() [2/2]

template<typename T >
template<typename U >
static char KeyboardModifier::internal::IsEmscriptenEvent< T >::Test ( SFINAE< U, &U::shiftKey, &U::ctrlKey, &U::altKey, &U::metaKey > * )
static

Member Data Documentation

◆ value

template<typename T >
const bool KeyboardModifier::internal::IsEmscriptenEvent< T >::value = sizeof(Test<T>(0)) == sizeof(char)
static

Definition at line 67 of file qwasmevent.h.


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