java.lang.Object
io.qt.internal.QtJambiObject
io.qt.QtObject
io.qt.core.QMetaMethod
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
public class QMetaMethod extends QtObject implements Cloneable
Meta-data about a member function
Java wrapper for Qt class QMetaMethod
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
QMetaMethod.Access
Java wrapper for Qt enum QMetaMethod::Accessstatic class
QMetaMethod.Attributes
Java wrapper for Qt enum QMetaMethod::Attributesstatic class
QMetaMethod.MethodType
Java wrapper for Qt enum QMetaMethod::MethodType -
Constructor Summary
Constructors Modifier Constructor Description protected
QMetaMethod(QtObject.QPrivateConstructor p)
Constructor for internal use only. -
Method Summary
Modifier and Type Method Description QMetaMethod.Access
access()
int
attributes()
QMetaMethod
clone()
QByteArray
cppMethodSignature()
QMetaObject
enclosingMetaObject()
boolean
equals(Object other)
Used to check if this object shares native resources with the other object if the other object is a subtype of QtJambiInterface.static <R> QMetaMethod
fromMethod(QMetaObject.Method0<R> method)
static <A, R> QMetaMethod
fromMethod(QMetaObject.Method1<A,R> method)
static <A, B, R> QMetaMethod
fromMethod(QMetaObject.Method2<A,B,R> method)
static <A, B, C, R> QMetaMethod
fromMethod(QMetaObject.Method3<A,B,C,R> method)
static <A, B, C, D, R>
QMetaMethodfromMethod(QMetaObject.Method4<A,B,C,D,R> method)
static <A, B, C, D, E, R>
QMetaMethodfromMethod(QMetaObject.Method5<A,B,C,D,E,R> method)
static <A, B, C, D, E, F, R>
QMetaMethodfromMethod(QMetaObject.Method6<A,B,C,D,E,F,R> method)
static <A, B, C, D, E, F, G, R>
QMetaMethodfromMethod(QMetaObject.Method7<A,B,C,D,E,F,G,R> method)
static <A, B, C, D, E, F, G, H, R>
QMetaMethodfromMethod(QMetaObject.Method8<A,B,C,D,E,F,G,H,R> method)
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)
static QMetaMethod
fromMethod(QMetaObject.Slot0 method)
static <A> QMetaMethod
fromMethod(QMetaObject.Slot1<A> method)
static <A, B> QMetaMethod
fromMethod(QMetaObject.Slot2<A,B> method)
static <A, B, C> QMetaMethod
fromMethod(QMetaObject.Slot3<A,B,C> method)
static <A, B, C, D> QMetaMethod
fromMethod(QMetaObject.Slot4<A,B,C,D> method)
static <A, B, C, D, E>
QMetaMethodfromMethod(QMetaObject.Slot5<A,B,C,D,E> method)
static <A, B, C, D, E, F>
QMetaMethodfromMethod(QMetaObject.Slot6<A,B,C,D,E,F> method)
static <A, B, C, D, E, F, G>
QMetaMethodfromMethod(QMetaObject.Slot7<A,B,C,D,E,F,G> method)
static <A, B, C, D, E, F, G, H>
QMetaMethodfromMethod(QMetaObject.Slot8<A,B,C,D,E,F,G,H> method)
static <A, B, C, D, E, F, G, H, I>
QMetaMethodfromMethod(QMetaObject.Slot9<A,B,C,D,E,F,G,H,I> method)
static QMetaMethod
fromReflectedConstructor(Constructor<?> constructor)
static QMetaMethod
fromReflectedMethod(Method method)
static QMetaMethod
fromSignal(QMetaObject.AbstractSignal signal)
int
hashCode()
Object
invoke(QObject object, Qt.ConnectionType connection, Object... args)
Object
invoke(QObject object, Object... args)
Object
invokeOnGadget(Object object, Object... args)
boolean
isValid()
int
methodIndex()
String
methodSignature()
QMetaMethod.MethodType
methodType()
QByteArray
name()
Class<?>
parameterClassType(int index)
List<Class<?>>
parameterClassTypes()
int
parameterCount()
QList<QByteArray>
parameterNames()
int
parameterType(int index)
QList<QByteArray>
parameterTypes()
Class<?>
returnClassType()
int
returnType()
int
revision()
String
tag()
Constructor<?>
toReflectedConstructor()
Method
toReflectedMethod()
QMetaObject.AbstractSignal
toSignal(QObject sender)
String
toString()
String
typeName()
-
Constructor Details
-
QMetaMethod
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
access
-
attributes
-
enclosingMetaObject
-
isValid
-
methodIndex
-
cppMethodSignature
-
methodType
-
name
-
parameterCount
-
parameterNames
-
parameterType
-
parameterTypes
-
returnType
-
revision
-
tag
-
typeName
-
equals
Description copied from class:QtObject
Used to check if this object shares native resources with the other object if the other object is a subtype of QtJambiInterface. Otherwise it will return the result of calling the super class implementation. -
hashCode
-
parameterClassTypes
-
parameterClassType
-
returnClassType
-
methodSignature
-
toString
-
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
-
toReflectedConstructor
-
toSignal
-
fromSignal
-
fromReflectedConstructor
-
fromReflectedMethod
-
fromMethod
-
fromMethod
-
fromMethod
-
fromMethod
-
fromMethod
public static <A, B, C, D, R> QMetaMethod fromMethod(QMetaObject.Method4<A,B,C,D,R> method) -
fromMethod
public static <A, B, C, D, E, R> QMetaMethod fromMethod(QMetaObject.Method5<A,B,C,D,E,R> method) -
fromMethod
public static <A, B, C, D, E, F, R> QMetaMethod fromMethod(QMetaObject.Method6<A,B,C,D,E,F,R> method) -
fromMethod
public static <A, B, C, D, E, F, G, R> QMetaMethod fromMethod(QMetaObject.Method7<A,B,C,D,E,F,G,R> method) -
fromMethod
public static <A, B, C, D, E, F, G, H, R> QMetaMethod fromMethod(QMetaObject.Method8<A,B,C,D,E,F,G,H,R> method) -
fromMethod
public static <A, B, C, D, E, F, G, H, I, R> QMetaMethod fromMethod(QMetaObject.Method9<A,B,C,D,E,F,G,H,I,R> method) -
fromMethod
-
fromMethod
-
fromMethod
-
fromMethod
-
fromMethod
-
fromMethod
-
fromMethod
public static <A, B, C, D, E, F> QMetaMethod fromMethod(QMetaObject.Slot6<A,B,C,D,E,F> method) -
fromMethod
public static <A, B, C, D, E, F, G> QMetaMethod fromMethod(QMetaObject.Slot7<A,B,C,D,E,F,G> method) -
fromMethod
public static <A, B, C, D, E, F, G, H> QMetaMethod fromMethod(QMetaObject.Slot8<A,B,C,D,E,F,G,H> method) -
fromMethod
public static <A, B, C, D, E, F, G, H, I> QMetaMethod fromMethod(QMetaObject.Slot9<A,B,C,D,E,F,G,H,I> method) -
clone
-