Qt 4.8
Public Types | Static Public Functions | Static Public Variables | List of all members
QDeclarativePrivate::has_attachedPropertiesMethod< T, hasMember > Class Template Reference

#include <qdeclarativeprivate.h>

Public Types

typedef char no_type
 
typedef int yes_type
 

Static Public Functions

template<typename ReturnType >
static yes_type check (ReturnType *(*)(QObject *))
 
static no_type check (...)
 

Static Public Variables

static bool const value = sizeof(check(&T::qmlAttachedProperties)) == sizeof(yes_type)
 

Detailed Description

template<typename T, bool hasMember>
class QDeclarativePrivate::has_attachedPropertiesMethod< T, hasMember >

Definition at line 135 of file qdeclarativeprivate.h.

Typedefs

◆ no_type

template<typename T , bool hasMember>
typedef char QDeclarativePrivate::has_attachedPropertiesMethod< T, hasMember >::no_type

Definition at line 139 of file qdeclarativeprivate.h.

◆ yes_type

template<typename T , bool hasMember>
typedef int QDeclarativePrivate::has_attachedPropertiesMethod< T, hasMember >::yes_type

Definition at line 138 of file qdeclarativeprivate.h.

Functions

◆ check() [1/2]

template<typename T , bool hasMember>
template<typename ReturnType >
static yes_type QDeclarativePrivate::has_attachedPropertiesMethod< T, hasMember >::check ( ReturnType *  *)(QObject *)
static

◆ check() [2/2]

template<typename T , bool hasMember>
static no_type QDeclarativePrivate::has_attachedPropertiesMethod< T, hasMember >::check (   ...)
static

Properties

◆ value

template<typename T , bool hasMember>
bool const QDeclarativePrivate::has_attachedPropertiesMethod< T, hasMember >::value = sizeof(check(&T::qmlAttachedProperties)) == sizeof(yes_type)
static

Definition at line 145 of file qdeclarativeprivate.h.


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