6#ifndef QSK_META_INVOKABLE_H
7#define QSK_META_INVOKABLE_H
12#include <qnamespace.h>
57 explicit operator bool()
const;
62 int parameterCount()
const;
63 int parameterType(
int index )
const;
65 int returnType()
const;
67 void invoke( QObject*,
void* args[],
68 Qt::ConnectionType = Qt::AutoConnection );
72 QByteArray name()
const;
74 QMetaMethod method()
const;
75 QMetaProperty property()
const;
86 const QMetaObject* metaObject;
92 FunctionData m_functionData;
99inline QskMetaInvokable::QskMetaInvokable()
104inline bool QskMetaInvokable::operator!=(
const QskMetaInvokable& other )
const
106 return !( *
this == other );
109inline QskMetaInvokable::operator bool()
const
114inline QskMetaInvokable::Type QskMetaInvokable::type()
const
116 return static_cast< Type
>( m_type );
119QSK_EXPORT QMetaMethod qskMetaMethod(
const QMetaObject*,
const char* methodName );
120QSK_EXPORT QMetaMethod qskMetaMethod(
const QObject*,
const char* methodName );
122QSK_EXPORT
void qskInvokeMetaMethod(
123 QObject*,
const QMetaObject*,
int methodIndex,
void* args[],
124 Qt::ConnectionType = Qt::AutoConnection );
126QSK_EXPORT
void qskInvokeMetaMethod(
127 QObject*,
const QMetaMethod&,
void* args[],
128 Qt::ConnectionType = Qt::AutoConnection );
130QSK_EXPORT
void qskInvokeMetaPropertyWrite(
131 QObject*,
const QMetaObject*,
int propertyIndex,
132 void* args[], Qt::ConnectionType = Qt::AutoConnection );
134QSK_EXPORT
void qskInvokeMetaPropertyWrite(
135 QObject*,
const QMetaProperty&,
void* args[],
136 Qt::ConnectionType = Qt::AutoConnection );
138QSK_EXPORT QMetaMethod qskNotifySignal(
const QMetaObject*,
const char* propertyName );
139QSK_EXPORT QMetaMethod qskNotifySignal(
const QObject*,
const char* propertyName );