QSkinny 0.8.0
C++/Qt UI toolkit
Loading...
Searching...
No Matches
QskMetaFunction Class Reference

Detailed Description

Definition at line 83 of file QskMetaFunction.h.

Classes

class  FunctionCall
 

Public Types

enum  Type { Invalid = -1 , MemberFunction , StaticFunction , Functor }
 

Public Member Functions

 QskMetaFunction (const QskMetaFunction &)
 
 QskMetaFunction (QskMetaFunction &&)
 
template<typename T , QskMetaFunctionTraits::IsMemberFunction< T > * = nullptr>
 QskMetaFunction (T)
 
template<typename T , QskMetaFunctionTraits::IsFunctor< T > * = nullptr>
 QskMetaFunction (T)
 
template<typename T , QskMetaFunctionTraits::IsStaticFunction< T > * = nullptr>
 QskMetaFunction (T)
 
QskMetaFunctionoperator= (const QskMetaFunction &)
 
QskMetaFunctionoperator= (QskMetaFunction &&)
 
bool operator== (const QskMetaFunction &) const
 
bool operator!= (const QskMetaFunction &) const
 
 operator bool () const
 
int returnType () const
 
size_t parameterCount () const
 
const int * parameterTypes () const
 
void invoke (QObject *, void *args[], Qt::ConnectionType=Qt::AutoConnection)
 
Type functionType () const
 
bool isNull () const
 
FunctionCallfunctionCall () const
 

Protected Member Functions

 QskMetaFunction (FunctionCall *)
 

Member Enumeration Documentation

◆ Type

enum QskMetaFunction::Type

Definition at line 88 of file QskMetaFunction.h.

Constructor & Destructor Documentation

◆ QskMetaFunction() [1/5]

QskMetaFunction::QskMetaFunction ( )

Definition at line 54 of file QskMetaFunction.cpp.

◆ QskMetaFunction() [2/5]

QskMetaFunction::QskMetaFunction ( const QskMetaFunction other)

Definition at line 66 of file QskMetaFunction.cpp.

◆ QskMetaFunction() [3/5]

QskMetaFunction::QskMetaFunction ( QskMetaFunction &&  other)

Definition at line 73 of file QskMetaFunction.cpp.

◆ QskMetaFunction() [4/5]

template<typename T , QskMetaFunctionTraits::IsStaticFunction< T > * >
QskMetaFunction::QskMetaFunction ( function)
inline

Definition at line 177 of file QskMetaFunction.h.

◆ ~QskMetaFunction()

QskMetaFunction::~QskMetaFunction ( )

Definition at line 79 of file QskMetaFunction.cpp.

◆ QskMetaFunction() [5/5]

QskMetaFunction::QskMetaFunction ( FunctionCall functionCall)
protected

Definition at line 59 of file QskMetaFunction.cpp.

Member Function Documentation

◆ functionCall()

QskMetaFunction::FunctionCall * QskMetaFunction::functionCall ( ) const
inline

Definition at line 164 of file QskMetaFunction.h.

◆ functionType()

QskMetaFunction::Type QskMetaFunction::functionType ( ) const

Definition at line 161 of file QskMetaFunction.cpp.

◆ invoke()

void QskMetaFunction::invoke ( QObject *  object,
void *  args[],
Qt::ConnectionType  connectionType = Qt::AutoConnection 
)

Definition at line 169 of file QskMetaFunction.cpp.

◆ isNull()

bool QskMetaFunction::isNull ( ) const
inline

Definition at line 159 of file QskMetaFunction.h.

◆ operator bool()

QskMetaFunction::operator bool ( ) const
inlineexplicit

Definition at line 154 of file QskMetaFunction.h.

◆ operator!=()

bool QskMetaFunction::operator!= ( const QskMetaFunction other) const
inline

Definition at line 149 of file QskMetaFunction.h.

◆ operator=() [1/2]

QskMetaFunction & QskMetaFunction::operator= ( const QskMetaFunction other)

Definition at line 99 of file QskMetaFunction.cpp.

◆ operator=() [2/2]

QskMetaFunction & QskMetaFunction::operator= ( QskMetaFunction &&  other)

Definition at line 85 of file QskMetaFunction.cpp.

◆ operator==()

bool QskMetaFunction::operator== ( const QskMetaFunction other) const

Definition at line 115 of file QskMetaFunction.cpp.

◆ parameterCount()

size_t QskMetaFunction::parameterCount ( ) const

Definition at line 148 of file QskMetaFunction.cpp.

◆ parameterTypes()

const int * QskMetaFunction::parameterTypes ( ) const
inline

Definition at line 171 of file QskMetaFunction.h.

◆ returnType()

int QskMetaFunction::returnType ( ) const

Definition at line 143 of file QskMetaFunction.cpp.