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
ConstructorDescriptionSeeQMetaMethod::
QMetaMethod() QMetaMethod
(QMetaMethod other) SeeQMetaMethod::
QMetaMethod(QMetaMethod) -
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) Seeoperator==(QMetaMethod,
QMetaMethod) boolean
Seeoperator==(QMetaMethod,
QMetaMethod) 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
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()
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() -
QMetaMethod
See
QMetaMethod::
QMetaMethod(QMetaMethod) - Parameters:
other
-
-
-
Method Details
-
access
- Returns:
-
attributes
See
QMetaMethod::
attributes()const - Returns:
-
enclosingMetaObject
See
QMetaMethod::
enclosingMetaObject()const - Returns:
-
isValid
- Returns:
- Since:
- This function was introduced in Qt 5.0.
-
methodIndex
- Returns:
- Since:
- This function was introduced in Qt 4.6.
-
cppMethodSignature
- Returns:
- Since:
- This function was introduced in Qt 5.0.
-
methodType
- Returns:
-
name
- Returns:
- Since:
- This function was introduced in Qt 5.0.
-
equals
See
operator==(QMetaMethod,
QMetaMethod) - Parameters:
m2
-- Returns:
-
parameterCount
- Returns:
- Since:
- This function was introduced in Qt 5.0.
-
parameterNames
- Returns:
-
parameterType
- Parameters:
index
-- Returns:
- Since:
- This function was introduced in Qt 5.0.
-
parameterTypes
- Returns:
-
returnType
- Returns:
- Since:
- This function was introduced in Qt 5.0.
-
revision
- Returns:
- Since:
- This function was introduced in Qt 5.1.
-
tag
- Returns:
-
typeName
- Returns:
-
equals
See
operator==(QMetaMethod,
QMetaMethod) -
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.
See
QMetaMethod::
QMetaMethod(QMetaMethod)
-