java.lang.Object
io.qt.QtObject
io.qt.core.QMetaMethod
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Meta-data about a member function
Java wrapper for Qt class QMetaMethod
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Java wrapper for Qt enumQMetaMethod::Access
static enum
Java wrapper for Qt enumQMetaMethod::Attributes
static enum
Java wrapper for Qt enumQMetaMethod::MethodType
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal QMetaMethod.Access
access()
final int
SeeQMetaMethod::
attributes()const clone()
Creates and returns a copy of this object.final QByteArray
final QMetaObject
SeeQMetaMethod::
enclosingMetaObject()const final boolean
equals
(QMetaMethod m2) boolean
static <R> QMetaMethod
fromMethod
(QMetaObject.Method0<R> method) Returns corresponding meta method for given method handle.static <A,
R> QMetaMethod fromMethod
(QMetaObject.Method1<A, R> method) Returns corresponding meta method for given method handle.static <A,
B, R> QMetaMethod fromMethod
(QMetaObject.Method2<A, B, R> method) Returns corresponding meta method for given method handle.static <A,
B, C, R>
QMetaMethodfromMethod
(QMetaObject.Method3<A, B, C, R> method) Returns corresponding meta method for given method handle.static <A,
B, C, D, R>
QMetaMethodfromMethod
(QMetaObject.Method4<A, B, C, D, R> method) Returns corresponding meta method for given method handle.static <A,
B, C, D, E, R>
QMetaMethodfromMethod
(QMetaObject.Method5<A, B, C, D, E, R> method) Returns corresponding meta method for given method handle.static <A,
B, C, D, E, F, R>
QMetaMethodfromMethod
(QMetaObject.Method6<A, B, C, D, E, F, R> method) Returns corresponding meta method for given method handle.static <A,
B, C, D, E, F, G, R>
QMetaMethodfromMethod
(QMetaObject.Method7<A, B, C, D, E, F, G, R> method) Returns corresponding meta method for given method handle.static <A,
B, C, D, E, F, G, H, R>
QMetaMethodfromMethod
(QMetaObject.Method8<A, B, C, D, E, F, G, H, R> method) Returns corresponding meta method for given method handle.static <A,
B, C, D, E, F, G, H, I, R>
QMetaMethodfromMethod
(QMetaObject.Method9<A, B, C, D, E, F, G, H, I, R> method) Returns corresponding meta method for given method handle.static QMetaMethod
fromMethod
(QMetaObject.Slot0 method) Returns corresponding meta method for given method handle.static <A> QMetaMethod
fromMethod
(QMetaObject.Slot1<A> method) Returns corresponding meta method for given method handle.static <A,
B> QMetaMethod fromMethod
(QMetaObject.Slot2<A, B> method) Returns corresponding meta method for given method handle.static <A,
B, C> QMetaMethod fromMethod
(QMetaObject.Slot3<A, B, C> method) Returns corresponding meta method for given method handle.static <A,
B, C, D>
QMetaMethodfromMethod
(QMetaObject.Slot4<A, B, C, D> method) Returns corresponding meta method for given method handle.static <A,
B, C, D, E>
QMetaMethodfromMethod
(QMetaObject.Slot5<A, B, C, D, E> method) Returns corresponding meta method for given method handle.static <A,
B, C, D, E, F>
QMetaMethodfromMethod
(QMetaObject.Slot6<A, B, C, D, E, F> method) Returns corresponding meta method for given method handle.static <A,
B, C, D, E, F, G>
QMetaMethodfromMethod
(QMetaObject.Slot7<A, B, C, D, E, F, G> method) Returns corresponding meta method for given method handle.static <A,
B, C, D, E, F, G, H>
QMetaMethodfromMethod
(QMetaObject.Slot8<A, B, C, D, E, F, G, H> method) Returns corresponding meta method for given method handle.static <A,
B, C, D, E, F, G, H, I>
QMetaMethodfromMethod
(QMetaObject.Slot9<A, B, C, D, E, F, G, H, I> method) Returns corresponding meta method for given method handle.static QMetaMethod
fromReflectedConstructor
(Constructor<?> constructor) Returns corresponding meta method for given reflection constructor.static QMetaMethod
fromReflectedMethod
(Method method) Returns corresponding meta method for given reflection method.static QMetaMethod
fromSignal
(QMetaObject.Signal signal) Returns corresponding meta method for given signal object.int
hashCode()
Returns the objects's hash code computed byqHash(QMetaMethod)
.final Object
invoke
(QObject object, Qt.ConnectionType connection, Object ... args) final Object
final Object
invokeOnGadget
(Object object, Object ... args) final boolean
isConst()
final boolean
isValid()
final int
final String
final QMetaMethod.MethodType
protected final QMetaObject
mobj()
SeeQMetaMethod::
mobj final QByteArray
name()
final Class
<?> parameterClassType
(int index) final int
final QMetaType
parameterMetaType
(int index) final QList
<QByteArray> final int
parameterType
(int index) final QByteArray
parameterTypeName
(int index) final QList
<QByteArray> final int
final Class
<?> final QMetaType
final int
final int
revision()
protected final void
setMobj
(QMetaObject mobj) SeeQMetaMethod::
mobj final String
tag()
final Constructor
<?> Returns this meta method as Java reflection constructor.final Method
Returns this meta method as Java reflection method.Returns this meta method as signal object.final String
toString()
Returns the string representation of theQMetaMethod
.final String
typeName()
Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Constructor Details
-
QMetaMethod
public QMetaMethod()See
QMetaMethod::
QMetaMethod()
-
-
Method Details
-
access
-
attributes
See
QMetaMethod::
attributes()const -
enclosingMetaObject
See
QMetaMethod::
enclosingMetaObject()const -
isConst
-
isValid
-
methodIndex
-
cppMethodSignature
-
methodType
-
name
-
equals
-
parameterCount
-
parameterMetaType
-
parameterNames
-
parameterType
-
parameterTypeName
-
parameterTypes
-
relativeMethodIndex
-
returnMetaType
-
returnType
-
revision
-
tag
-
typeName
-
setMobj
See
QMetaMethod::
mobj -
mobj
See
QMetaMethod::
mobj -
equals
-
hashCode
Returns the objects's hash code computed byqHash(QMetaMethod)
. -
parameterClassTypes
-
parameterClassType
-
returnClassType
-
methodSignature
-
toString
Returns the string representation of theQMetaMethod
. -
invoke
@QtUninvokable public final Object invoke(QObject object, Object... args) throws IllegalArgumentException, QUnsuccessfulInvocationException -
invoke
@QtUninvokable public final Object invoke(QObject object, Qt.ConnectionType connection, Object ... args) throws IllegalArgumentException, QUnsuccessfulInvocationException -
invokeOnGadget
@QtUninvokable public final Object invokeOnGadget(Object object, Object ... args) throws IllegalArgumentException, QUnsuccessfulInvocationException -
toReflectedMethod
Returns this meta method as Java reflection method. -
toReflectedConstructor
Returns this meta method as Java reflection constructor. -
toSignal
Returns this meta method as signal object. -
fromSignal
Returns corresponding meta method for given signal object. -
fromReflectedConstructor
Returns corresponding meta method for given reflection constructor. -
fromReflectedMethod
Returns corresponding meta method for given reflection method. -
fromMethod
Returns corresponding meta method for given method handle. -
fromMethod
Returns corresponding meta method for given method handle. -
fromMethod
Returns corresponding meta method for given method handle. -
fromMethod
Returns corresponding meta method for given method handle. -
fromMethod
Returns corresponding meta method for given method handle. -
fromMethod
Returns corresponding meta method for given method handle. -
fromMethod
public static <A,B, QMetaMethod fromMethodC, D, E, F, R> (QMetaObject.Method6<A, B, C, D, E, F, R> method) Returns corresponding meta method for given method handle. -
fromMethod
public static <A,B, QMetaMethod fromMethodC, D, E, F, G, R> (QMetaObject.Method7<A, B, C, D, E, F, G, R> method) Returns corresponding meta method for given method handle. -
fromMethod
public static <A,B, QMetaMethod fromMethodC, D, E, F, G, H, R> (QMetaObject.Method8<A, B, C, D, E, F, G, H, R> method) Returns corresponding meta method for given method handle. -
fromMethod
public static <A,B, QMetaMethod fromMethodC, D, E, F, G, H, I, R> (QMetaObject.Method9<A, B, C, D, E, F, G, H, I, R> method) Returns corresponding meta method for given method handle. -
fromMethod
Returns corresponding meta method for given method handle. -
fromMethod
Returns corresponding meta method for given method handle. -
fromMethod
Returns corresponding meta method for given method handle. -
fromMethod
Returns corresponding meta method for given method handle. -
fromMethod
Returns corresponding meta method for given method handle. -
fromMethod
Returns corresponding meta method for given method handle. -
fromMethod
Returns corresponding meta method for given method handle. -
fromMethod
Returns corresponding meta method for given method handle. -
fromMethod
public static <A,B, QMetaMethod fromMethodC, D, E, F, G, H> (QMetaObject.Slot8<A, B, C, D, E, F, G, H> method) Returns corresponding meta method for given method handle. -
fromMethod
public static <A,B, QMetaMethod fromMethodC, D, E, F, G, H, I> (QMetaObject.Slot9<A, B, C, D, E, F, G, H, I> method) Returns corresponding meta method for given method handle. -
clone
Creates and returns a copy of this object.
-