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's class QMetaMethod
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Java wrapper for Qt enum QMetaMethod::Accessstatic enum
Java wrapper for Qt enum QMetaMethod::Attributesstatic enum
Java wrapper for Qt enum QMetaMethod::MethodTypeNested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Constructor Summary
ModifierConstructorDescriptionprotected
Constructor for internal use only. -
Method Summary
Modifier and TypeMethodDescriptionfinal QMetaMethod.Access
access()
final int
clone()
final QByteArray
final QMetaObject
boolean
Used to check if this object shares the same native counterpart with the other object, i.e. the objects are equals if their native counterparts are identical.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> QMetaMethod fromMethod
(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> QMetaMethod fromMethod
(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()
final Object
invoke
(QObject object, Qt.ConnectionType connection, Object... args) final Object
final Object
invokeOnGadget
(Object object, Object... args) final boolean
isValid()
final int
final String
final QMetaMethod.MethodType
final QByteArray
name()
final Class<?>
parameterClassType
(int index) final int
final QList<QByteArray>
final int
parameterType
(int index) final QList<QByteArray>
final Class<?>
final int
final int
revision()
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()
final String
typeName()
Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Constructor Details
-
QMetaMethod
public QMetaMethod() -
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 the same native counterpart with the other object, i.e. the objects are equals if their native counterparts are identical. Qt value types override this method to make a value comparison. 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
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
-