public final class QMetaObject extends Object
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
QMetaObject.AbstractPrivateSignal0
Supertype for parameterless signals.static class
QMetaObject.AbstractPrivateSignal1<A>
Supertype for all signals with one parameter.static class
QMetaObject.AbstractPrivateSignal2<A,B>
Supertype for all signals with two parameters.static class
QMetaObject.AbstractPrivateSignal3<A,B,C>
Supertype for all signals with three parameters.static class
QMetaObject.AbstractPrivateSignal4<A,B,C,D>
Supertype for all signals with four parameters.static class
QMetaObject.AbstractPrivateSignal5<A,B,C,D,E>
Supertype for all signals with five parameters.static class
QMetaObject.AbstractPrivateSignal6<A,B,C,D,E,F>
Supertype for all signals with six parameters.static class
QMetaObject.AbstractPrivateSignal7<A,B,C,D,E,F,G>
Supertype for all signals with seven parameters.static class
QMetaObject.AbstractPrivateSignal8<A,B,C,D,E,F,G,H>
Supertype for all signals with eight parameters.static class
QMetaObject.AbstractPrivateSignal9<A,B,C,D,E,F,G,H,I>
Supertype for all signals with nine parameters.static class
QMetaObject.AbstractPublicSignal0
Supertype for all public parameterless signals.static class
QMetaObject.AbstractPublicSignal1<A>
Supertype for all public signals with one parameter.static class
QMetaObject.AbstractPublicSignal2<A,B>
Supertype for all public signals with two parameters.static class
QMetaObject.AbstractPublicSignal3<A,B,C>
Supertype for all public signals with three parameters.static class
QMetaObject.AbstractPublicSignal4<A,B,C,D>
Supertype for all public signals with four parameters.static class
QMetaObject.AbstractPublicSignal5<A,B,C,D,E>
Supertype for all public signals with five parameters.static class
QMetaObject.AbstractPublicSignal6<A,B,C,D,E,F>
Supertype for all public signals with six parameters.static class
QMetaObject.AbstractPublicSignal7<A,B,C,D,E,F,G>
Supertype for all public signals with seven parameters.static class
QMetaObject.AbstractPublicSignal8<A,B,C,D,E,F,G,H>
Supertype for all public signals with eight parameters.static class
QMetaObject.AbstractPublicSignal9<A,B,C,D,E,F,G,H,I>
Supertype for all public signals with nine parameters.static class
QMetaObject.AbstractSignal
Supertype of all signals in QtJambi.static class
QMetaObject.AbstractSignal2Default1<A,B>
Supertype for all public default signals with two parameters.static class
QMetaObject.AbstractSignal3Default1<A,B,C>
Supertype for all public default signals with three parameters.static class
QMetaObject.AbstractSignal3Default2<A,B,C>
Supertype for all public default signals with three parameters.static class
QMetaObject.AbstractSignal4Default1<A,B,C,D>
Supertype for all public default signals with four parameters.static class
QMetaObject.AbstractSignal4Default2<A,B,C,D>
Supertype for all public default signals with four parameters.static class
QMetaObject.AbstractSignal4Default3<A,B,C,D>
Supertype for all public default signals with four parameters.static class
QMetaObject.AbstractSignal5Default1<A,B,C,D,E>
Supertype for all public default signals with five parameters.static class
QMetaObject.AbstractSignal5Default2<A,B,C,D,E>
Supertype for all public default signals with five parameters.static class
QMetaObject.AbstractSignal5Default3<A,B,C,D,E>
Supertype for all public default signals with five parameters.static class
QMetaObject.AbstractSignal5Default4<A,B,C,D,E>
Supertype for all public default signals with five parameters.static class
QMetaObject.AbstractSignal6Default1<A,B,C,D,E,F>
Supertype for all public default signals with six parameters.static class
QMetaObject.AbstractSignal6Default2<A,B,C,D,E,F>
Supertype for all public default signals with six parameters.static class
QMetaObject.AbstractSignal6Default3<A,B,C,D,E,F>
Supertype for all public default signals with six parameters.static class
QMetaObject.AbstractSignal6Default4<A,B,C,D,E,F>
Supertype for all public default signals with six parameters.static class
QMetaObject.AbstractSignal6Default5<A,B,C,D,E,F>
Supertype for all public default signals with six parameters.static class
QMetaObject.AbstractSignal7Default1<A,B,C,D,E,F,G>
Supertype for all public default signals with seven parameters.static class
QMetaObject.AbstractSignal7Default2<A,B,C,D,E,F,G>
Supertype for all public default signals with seven parameters.static class
QMetaObject.AbstractSignal7Default3<A,B,C,D,E,F,G>
Supertype for all public default signals with seven parameters.static class
QMetaObject.AbstractSignal7Default4<A,B,C,D,E,F,G>
Supertype for all public default signals with seven parameters.static class
QMetaObject.AbstractSignal7Default5<A,B,C,D,E,F,G>
Supertype for all public default signals with seven parameters.static class
QMetaObject.AbstractSignal7Default6<A,B,C,D,E,F,G>
Supertype for all public default signals with seven parameters.static class
QMetaObject.AbstractSignal8Default1<A,B,C,D,E,F,G,H>
Supertype for all public default signals with eight parameters.static class
QMetaObject.AbstractSignal8Default2<A,B,C,D,E,F,G,H>
Supertype for all public default signals with eight parameters.static class
QMetaObject.AbstractSignal8Default3<A,B,C,D,E,F,G,H>
Supertype for all public default signals with eight parameters.static class
QMetaObject.AbstractSignal8Default4<A,B,C,D,E,F,G,H>
Supertype for all public default signals with eight parameters.static class
QMetaObject.AbstractSignal8Default5<A,B,C,D,E,F,G,H>
Supertype for all public default signals with eight parameters.static class
QMetaObject.AbstractSignal8Default6<A,B,C,D,E,F,G,H>
Supertype for all public default signals with eight parameters.static class
QMetaObject.AbstractSignal8Default7<A,B,C,D,E,F,G,H>
Supertype for all public default signals with eight parameters.static class
QMetaObject.AbstractSignal9Default1<A,B,C,D,E,F,G,H,I>
Supertype for all public default signals with nine parameters.static class
QMetaObject.AbstractSignal9Default2<A,B,C,D,E,F,G,H,I>
Supertype for all public default signals with nine parameters.static class
QMetaObject.AbstractSignal9Default3<A,B,C,D,E,F,G,H,I>
Supertype for all public default signals with nine parameters.static class
QMetaObject.AbstractSignal9Default4<A,B,C,D,E,F,G,H,I>
Supertype for all public default signals with nine parameters.static class
QMetaObject.AbstractSignal9Default5<A,B,C,D,E,F,G,H,I>
Supertype for all public default signals with nine parameters.static class
QMetaObject.AbstractSignal9Default6<A,B,C,D,E,F,G,H,I>
Supertype for all public default signals with nine parameters.static class
QMetaObject.AbstractSignal9Default7<A,B,C,D,E,F,G,H,I>
Supertype for all public default signals with nine parameters.static class
QMetaObject.AbstractSignal9Default8<A,B,C,D,E,F,G,H,I>
Supertype for all public default signals with nine parameters.static interface
QMetaObject.AbstractSlot
Supertype of all slot handles.static class
QMetaObject.Call
Enum representing meta calls.static interface
QMetaObject.Connection
Represents a handle to a signal-slot (or signal-functor) connection.static class
QMetaObject.DisposedSignal
Signal emitted when aQtObjectInterface
is being disposed.static interface
QMetaObject.GenericMethod<R>
A generic slot handle to a method of variadic arguments with return value.static interface
QMetaObject.GenericSlot
A generic slot handle to a method of variadic arguments.static interface
QMetaObject.Method0<R>
A handle to parameterless method with return value.static interface
QMetaObject.Method1<A,R>
A handle to method with onw parameter and return value.static interface
QMetaObject.Method2<A,B,R>
A handle to method with two parameters and return value.static interface
QMetaObject.Method3<A,B,C,R>
A handle to method with three parameters and return value.static interface
QMetaObject.Method4<A,B,C,D,R>
A handle to method with four parameters and return value.static interface
QMetaObject.Method5<A,B,C,D,E,R>
A handle to method with five parameters and return value.static interface
QMetaObject.Method6<A,B,C,D,E,F,R>
A handle to method with six parameters and return value.static interface
QMetaObject.Method7<A,B,C,D,E,F,G,R>
A handle to method with seven parameters and return value.static interface
QMetaObject.Method8<A,B,C,D,E,F,G,H,R>
A handle to method with eight parameters and return value.static interface
QMetaObject.Method9<A,B,C,D,E,F,G,H,I,R>
A handle to method with nine parameters and return value.static interface
QMetaObject.Slot0
A handle to parameterless slot.static interface
QMetaObject.Slot1<A>
A handle to slot with one parameter.static interface
QMetaObject.Slot2<A,B>
A handle to slot with two parameters.static interface
QMetaObject.Slot3<A,B,C>
A handle to slot with three parameters.static interface
QMetaObject.Slot4<A,B,C,D>
A handle to slot with four parameters.static interface
QMetaObject.Slot5<A,B,C,D,E>
A handle to slot with five parameters.static interface
QMetaObject.Slot6<A,B,C,D,E,F>
A handle to slot with six parameters.static interface
QMetaObject.Slot7<A,B,C,D,E,F,G>
A handle to slot with seven parameters.static interface
QMetaObject.Slot8<A,B,C,D,E,F,G,H>
A handle to slot with eight parameters.static interface
QMetaObject.Slot9<A,B,C,D,E,F,G,H,I>
A handle to slot with nine parameters. -
Method Summary
Modifier and Type Method Description static <T extends QtObjectInterface>
Tcast(Class<T> targetType, QtObjectInterface object)
Casts an object to the given targetType.static boolean
checkConnectArgs(QMetaMethod signal, QMetaMethod method)
static boolean
checkConnectArgs(String signal, String method)
String
classInfo(String name)
List<QPair<String,String>>
classInfos()
String
className()
static void
connectSlotsByName(QObject object)
QMetaMethod
constructor(Class<?>... parameterTypes)
List<QMetaMethod>
constructors()
QMetaEnum
enumerator(String name)
List<QMetaEnum>
enumerators()
boolean
equals(Object obj)
static QMetaObject.AbstractPrivateSignal0
findSignal(QObject sender, String name)
static QMetaObject.AbstractSignal
findSignal(QObject sender, String name, Class<?>... types)
static <A> QMetaObject.AbstractPrivateSignal1<A>
findSignal(QObject sender, String name, Class<A> typeA)
static <A, B> QMetaObject.AbstractPrivateSignal2<A,B>
findSignal(QObject sender, String name, Class<A> typeA, Class<B> typeB)
static <A, B, C> QMetaObject.AbstractPrivateSignal3<A,B,C>
findSignal(QObject sender, String name, Class<A> typeA, Class<B> typeB, Class<C> typeC)
static <A, B, C, D> QMetaObject.AbstractPrivateSignal4<A,B,C,D>
findSignal(QObject sender, String name, Class<A> typeA, Class<B> typeB, Class<C> typeC, Class<D> typeD)
static <A, B, C, D, E>
QMetaObject.AbstractPrivateSignal5<A,B,C,D,E>findSignal(QObject sender, String name, Class<A> typeA, Class<B> typeB, Class<C> typeC, Class<D> typeD, Class<E> typeE)
static <A, B, C, D, E, F>
QMetaObject.AbstractPrivateSignal6<A,B,C,D,E,F>findSignal(QObject sender, String name, Class<A> typeA, Class<B> typeB, Class<C> typeC, Class<D> typeD, Class<E> typeE, Class<F> typeF)
static <A, B, C, D, E, F, G>
QMetaObject.AbstractPrivateSignal7<A,B,C,D,E,F,G>findSignal(QObject sender, String name, Class<A> typeA, Class<B> typeB, Class<C> typeC, Class<D> typeD, Class<E> typeE, Class<F> typeF, Class<G> typeG)
static <A, B, C, D, E, F, G, H>
QMetaObject.AbstractPrivateSignal8<A,B,C,D,E,F,G,H>findSignal(QObject sender, String name, Class<A> typeA, Class<B> typeB, Class<C> typeC, Class<D> typeD, Class<E> typeE, Class<F> typeF, Class<G> typeG, Class<H> typeH)
static <A, B, C, D, E, F, G, H, I>
QMetaObject.AbstractPrivateSignal9<A,B,C,D,E,F,G,H,I>findSignal(QObject sender, String name, Class<A> typeA, Class<B> typeB, Class<C> typeC, Class<D> typeD, Class<E> typeE, Class<F> typeF, Class<G> typeG, Class<H> typeH, Class<I> typeI)
static QMetaObject
forType(Class<?> clazz)
int
hashCode()
boolean
inherits(QMetaObject metaObject)
Returns true if the class described by this QMetaObject inherits the type described by metaObject; otherwise returns false.static void
invokeMethod(QMetaObject.AbstractPrivateSignal0 signal)
CallinginvokeMethod(signal, AutoConnection)
.static void
invokeMethod(QMetaObject.AbstractPrivateSignal0 signal, Qt.ConnectionType type)
Invokes the signal.static <A> void
invokeMethod(QMetaObject.AbstractPrivateSignal1<A> signal, A arg1)
CallinginvokeMethod(signal, AutoConnection, ...)
.static <A> void
invokeMethod(QMetaObject.AbstractPrivateSignal1<A> signal, Qt.ConnectionType type, A arg1)
Invokes the signal.static <A, B> void
invokeMethod(QMetaObject.AbstractPrivateSignal2<A,B> signal, A arg1, B arg2)
CallinginvokeMethod(signal, AutoConnection, ...)
.static <A, B> void
invokeMethod(QMetaObject.AbstractPrivateSignal2<A,B> signal, Qt.ConnectionType type, A arg1, B arg2)
Invokes the signal.static <A, B, C> void
invokeMethod(QMetaObject.AbstractPrivateSignal3<A,B,C> signal, A arg1, B arg2, C arg3)
CallinginvokeMethod(signal, AutoConnection, ...)
.static <A, B, C> void
invokeMethod(QMetaObject.AbstractPrivateSignal3<A,B,C> signal, Qt.ConnectionType type, A arg1, B arg2, C arg3)
Invokes the signal.static <A, B, C, D> void
invokeMethod(QMetaObject.AbstractPrivateSignal4<A,B,C,D> signal, A arg1, B arg2, C arg3, D arg4)
CallinginvokeMethod(signal, AutoConnection, ...)
.static <A, B, C, D> void
invokeMethod(QMetaObject.AbstractPrivateSignal4<A,B,C,D> signal, Qt.ConnectionType type, A arg1, B arg2, C arg3, D arg4)
Invokes the signal.static <A, B, C, D, E>
voidinvokeMethod(QMetaObject.AbstractPrivateSignal5<A,B,C,D,E> signal, A arg1, B arg2, C arg3, D arg4, E arg5)
CallinginvokeMethod(signal, AutoConnection, ...)
.static <A, B, C, D, E>
voidinvokeMethod(QMetaObject.AbstractPrivateSignal5<A,B,C,D,E> signal, Qt.ConnectionType type, A arg1, B arg2, C arg3, D arg4, E arg5)
Invokes the signal.static <A, B, C, D, E, F>
voidinvokeMethod(QMetaObject.AbstractPrivateSignal6<A,B,C,D,E,F> signal, A arg1, B arg2, C arg3, D arg4, E arg5, F arg6)
CallinginvokeMethod(signal, AutoConnection, ...)
.static <A, B, C, D, E, F>
voidinvokeMethod(QMetaObject.AbstractPrivateSignal6<A,B,C,D,E,F> signal, Qt.ConnectionType type, A arg1, B arg2, C arg3, D arg4, E arg5, F arg6)
Invokes the signal.static <A, B, C, D, E, F, G>
voidinvokeMethod(QMetaObject.AbstractPrivateSignal7<A,B,C,D,E,F,G> signal, A arg1, B arg2, C arg3, D arg4, E arg5, F arg6, G arg7)
CallinginvokeMethod(signal, AutoConnection, ...)
.static <A, B, C, D, E, F, G>
voidinvokeMethod(QMetaObject.AbstractPrivateSignal7<A,B,C,D,E,F,G> signal, Qt.ConnectionType type, A arg1, B arg2, C arg3, D arg4, E arg5, F arg6, G arg7)
Invokes the signal.static <A, B, C, D, E, F, G, H>
voidinvokeMethod(QMetaObject.AbstractPrivateSignal8<A,B,C,D,E,F,G,H> signal, A arg1, B arg2, C arg3, D arg4, E arg5, F arg6, G arg7, H arg8)
CallinginvokeMethod(signal, AutoConnection, ...)
.static <A, B, C, D, E, F, G, H>
voidinvokeMethod(QMetaObject.AbstractPrivateSignal8<A,B,C,D,E,F,G,H> signal, Qt.ConnectionType type, A arg1, B arg2, C arg3, D arg4, E arg5, F arg6, G arg7, H arg8)
Invokes the signal.static <A, B, C, D, E, F, G, H, I>
voidinvokeMethod(QMetaObject.AbstractPrivateSignal9<A,B,C,D,E,F,G,H,I> signal, A arg1, B arg2, C arg3, D arg4, E arg5, F arg6, G arg7, H arg8, I arg9)
CallinginvokeMethod(signal, AutoConnection, ...)
.static <A, B, C, D, E, F, G, H, I>
voidinvokeMethod(QMetaObject.AbstractPrivateSignal9<A,B,C,D,E,F,G,H,I> signal, Qt.ConnectionType type, A arg1, B arg2, C arg3, D arg4, E arg5, F arg6, G arg7, H arg8, I arg9)
Invokes the signal.static <R> R
invokeMethod(QMetaObject.Method0<R> method)
CallinginvokeMethod(method, AutoConnection)
.static <R> R
invokeMethod(QMetaObject.Method0<R> method, Qt.ConnectionType type)
Invokes the method and returns it's result value.static <A, R> R
invokeMethod(QMetaObject.Method1<A,R> method, A arg1)
CallinginvokeMethod(method, AutoConnection, ...)
.static <A, R> R
invokeMethod(QMetaObject.Method1<A,R> method, Qt.ConnectionType type, A arg1)
Invokes the method and returns it's result value.static <A, B, R> R
invokeMethod(QMetaObject.Method2<A,B,R> method, A arg1, B arg2)
CallinginvokeMethod(method, AutoConnection, ...)
.static <A, B, R> R
invokeMethod(QMetaObject.Method2<A,B,R> method, Qt.ConnectionType type, A arg1, B arg2)
Invokes the method and returns it's result value.static <A, B, C, R> R
invokeMethod(QMetaObject.Method3<A,B,C,R> method, A arg1, B arg2, C arg3)
CallinginvokeMethod(method, AutoConnection, ...)
.static <A, B, C, R> R
invokeMethod(QMetaObject.Method3<A,B,C,R> method, Qt.ConnectionType type, A arg1, B arg2, C arg3)
Invokes the method and returns it's result value.static <A, B, C, D, R>
RinvokeMethod(QMetaObject.Method4<A,B,C,D,R> method, A arg1, B arg2, C arg3, D arg4)
CallinginvokeMethod(method, AutoConnection, ...)
.static <A, B, C, D, R>
RinvokeMethod(QMetaObject.Method4<A,B,C,D,R> method, Qt.ConnectionType type, A arg1, B arg2, C arg3, D arg4)
Invokes the method and returns it's result value.static <A, B, C, D, E, R>
RinvokeMethod(QMetaObject.Method5<A,B,C,D,E,R> method, A arg1, B arg2, C arg3, D arg4, E arg5)
CallinginvokeMethod(method, AutoConnection, ...)
.static <A, B, C, D, E, R>
RinvokeMethod(QMetaObject.Method5<A,B,C,D,E,R> method, Qt.ConnectionType type, A arg1, B arg2, C arg3, D arg4, E arg5)
Invokes the method and returns it's result value.static <A, B, C, D, E, F, R>
RinvokeMethod(QMetaObject.Method6<A,B,C,D,E,F,R> method, A arg1, B arg2, C arg3, D arg4, E arg5, F arg6)
CallinginvokeMethod(method, AutoConnection, ...)
.static <A, B, C, D, E, F, R>
RinvokeMethod(QMetaObject.Method6<A,B,C,D,E,F,R> method, Qt.ConnectionType type, A arg1, B arg2, C arg3, D arg4, E arg5, F arg6)
Invokes the method and returns it's result value.static <A, B, C, D, E, F, G, R>
RinvokeMethod(QMetaObject.Method7<A,B,C,D,E,F,G,R> method, A arg1, B arg2, C arg3, D arg4, E arg5, F arg6, G arg7)
CallinginvokeMethod(method, AutoConnection, ...)
.static <A, B, C, D, E, F, G, R>
RinvokeMethod(QMetaObject.Method7<A,B,C,D,E,F,G,R> method, Qt.ConnectionType type, A arg1, B arg2, C arg3, D arg4, E arg5, F arg6, G arg7)
Invokes the method and returns it's result value.static <A, B, C, D, E, F, G, H, R>
RinvokeMethod(QMetaObject.Method8<A,B,C,D,E,F,G,H,R> method, A arg1, B arg2, C arg3, D arg4, E arg5, F arg6, G arg7, H arg8)
CallinginvokeMethod(method, AutoConnection, ...)
.static <A, B, C, D, E, F, G, H, R>
RinvokeMethod(QMetaObject.Method8<A,B,C,D,E,F,G,H,R> method, Qt.ConnectionType type, A arg1, B arg2, C arg3, D arg4, E arg5, F arg6, G arg7, H arg8)
Invokes the method and returns it's result value.static <A, B, C, D, E, F, G, H, I, R>
RinvokeMethod(QMetaObject.Method9<A,B,C,D,E,F,G,H,I,R> method, A arg1, B arg2, C arg3, D arg4, E arg5, F arg6, G arg7, H arg8, I arg9)
CallinginvokeMethod(method, AutoConnection, ...)
.static <A, B, C, D, E, F, G, H, I, R>
RinvokeMethod(QMetaObject.Method9<A,B,C,D,E,F,G,H,I,R> method, Qt.ConnectionType type, A arg1, B arg2, C arg3, D arg4, E arg5, F arg6, G arg7, H arg8, I arg9)
Invokes the method and returns it's result value.static void
invokeMethod(QMetaObject.Slot0 method)
CallinginvokeMethod(method, AutoConnection)
.static void
invokeMethod(QMetaObject.Slot0 method, Qt.ConnectionType type)
Invokes the slot.static <A> void
invokeMethod(QMetaObject.Slot1<A> method, A arg1)
CallinginvokeMethod(method, AutoConnection, ...)
.static <A> void
invokeMethod(QMetaObject.Slot1<A> method, Qt.ConnectionType type, A arg1)
Invokes the slot.static <A, B> void
invokeMethod(QMetaObject.Slot2<A,B> method, A arg1, B arg2)
CallinginvokeMethod(method, AutoConnection, ...)
.static <A, B> void
invokeMethod(QMetaObject.Slot2<A,B> method, Qt.ConnectionType type, A arg1, B arg2)
Invokes the slot.static <A, B, C> void
invokeMethod(QMetaObject.Slot3<A,B,C> method, A arg1, B arg2, C arg3)
CallinginvokeMethod(method, AutoConnection, ...)
.static <A, B, C> void
invokeMethod(QMetaObject.Slot3<A,B,C> method, Qt.ConnectionType type, A arg1, B arg2, C arg3)
Invokes the slot.static <A, B, C, D> void
invokeMethod(QMetaObject.Slot4<A,B,C,D> method, A arg1, B arg2, C arg3, D arg4)
CallinginvokeMethod(method, AutoConnection, ...)
.static <A, B, C, D> void
invokeMethod(QMetaObject.Slot4<A,B,C,D> method, Qt.ConnectionType type, A arg1, B arg2, C arg3, D arg4)
Invokes the slot.static <A, B, C, D, E>
voidinvokeMethod(QMetaObject.Slot5<A,B,C,D,E> method, A arg1, B arg2, C arg3, D arg4, E arg5)
CallinginvokeMethod(method, AutoConnection, ...)
.static <A, B, C, D, E>
voidinvokeMethod(QMetaObject.Slot5<A,B,C,D,E> method, Qt.ConnectionType type, A arg1, B arg2, C arg3, D arg4, E arg5)
Invokes the slot.static <A, B, C, D, E, F>
voidinvokeMethod(QMetaObject.Slot6<A,B,C,D,E,F> method, A arg1, B arg2, C arg3, D arg4, E arg5, F arg6)
CallinginvokeMethod(method, AutoConnection, ...)
.static <A, B, C, D, E, F>
voidinvokeMethod(QMetaObject.Slot6<A,B,C,D,E,F> method, Qt.ConnectionType type, A arg1, B arg2, C arg3, D arg4, E arg5, F arg6)
Invokes the slot.static <A, B, C, D, E, F, G>
voidinvokeMethod(QMetaObject.Slot7<A,B,C,D,E,F,G> method, A arg1, B arg2, C arg3, D arg4, E arg5, F arg6, G arg7)
CallinginvokeMethod(method, AutoConnection, ...)
.static <A, B, C, D, E, F, G>
voidinvokeMethod(QMetaObject.Slot7<A,B,C,D,E,F,G> method, Qt.ConnectionType type, A arg1, B arg2, C arg3, D arg4, E arg5, F arg6, G arg7)
Invokes the slot.static <A, B, C, D, E, F, G, H>
voidinvokeMethod(QMetaObject.Slot8<A,B,C,D,E,F,G,H> method, A arg1, B arg2, C arg3, D arg4, E arg5, F arg6, G arg7, H arg8)
CallinginvokeMethod(method, AutoConnection, ...)
.static <A, B, C, D, E, F, G, H>
voidinvokeMethod(QMetaObject.Slot8<A,B,C,D,E,F,G,H> method, Qt.ConnectionType type, A arg1, B arg2, C arg3, D arg4, E arg5, F arg6, G arg7, H arg8)
Invokes the slot.static <A, B, C, D, E, F, G, H, I>
voidinvokeMethod(QMetaObject.Slot9<A,B,C,D,E,F,G,H,I> method, A arg1, B arg2, C arg3, D arg4, E arg5, F arg6, G arg7, H arg8, I arg9)
CallinginvokeMethod(method, AutoConnection, ...)
.static <A, B, C, D, E, F, G, H, I>
voidinvokeMethod(QMetaObject.Slot9<A,B,C,D,E,F,G,H,I> method, Qt.ConnectionType type, A arg1, B arg2, C arg3, D arg4, E arg5, F arg6, G arg7, H arg8, I arg9)
Invokes the slot.static Object
invokeMethod(QObject obj, String member, Qt.ConnectionType type, Object... args)
Invokes the given method on the given object and returns it's result value.static Object
invokeMethod(QObject obj, String member, Object... args)
CallinginvokeMethod(obj, AutoConnection, args)
.QMetaMethod
method(String name, Class<?>... parameterTypes)
List<QMetaMethod>
methods()
QObject
newInstance(Object... args)
List<QMetaProperty>
properties()
QMetaProperty
property(String name)
QMetaObject
superClass()
String
toString()
Class<?>
type()
QMetaProperty
userProperty()
-
Method Details
-
toString
-
userProperty
-
properties
-
property
-
enumerators
-
enumerator
-
connectSlotsByName
-
method
-
methods
-
constructor
-
constructors
-
newInstance
- Throws:
NoSuchMethodException
-
superClass
-
className
-
classInfos
-
classInfo
-
inherits
Returns true if the class described by this QMetaObject inherits the type described by metaObject; otherwise returns false. A type is considered to inherit itself.- Parameters:
metaObject
-- Returns:
- inherits
-
cast
Casts an object to the given targetType. Returns null if object is not instance of targetType.- Type Parameters:
T
- type- Parameters:
targetType
-object
-- Returns:
- the object as targetType or null
-
type
-
forType
-
checkConnectArgs
-
checkConnectArgs
-
invokeMethod
public static Object invokeMethod(QObject obj, String member, Object... args) throws QUnsuccessfulInvocationException, QNoSuchMethodExceptionCallinginvokeMethod(obj, AutoConnection, args)
.- Parameters:
obj
- objectmember
- method nameargs
- arguments- Returns:
- method result value if any - if the invocation is asynchronous, the return value cannot be evaluated.
- Throws:
QUnsuccessfulInvocationException
- if not able to invoke slotQNoSuchMethodException
- if method not available
-
invokeMethod
public static Object invokeMethod(QObject obj, String member, Qt.ConnectionType type, Object... args) throws QUnsuccessfulInvocationException, QNoSuchMethodExceptionInvokes the given method on the given object and returns it's result value.
The invocation can be either synchronous or asynchronous, depending on type:
- If type is
Qt.ConnectionType.DirectConnection
, the member will be invoked immediately. - If type is
Qt.ConnectionType.QueuedConnection
, a QEvent will be sent and the member is invoked as soon as the application enters the main event loop. - If type is
Qt.ConnectionType.BlockingQueuedConnection
, the method will be invoked in the same way as forQt.ConnectionType.QueuedConnection
, except that the current thread will block until the event is delivered. Using this connection type to communicate between objects in the same thread will lead to deadlocks. - If type is
Qt.ConnectionType.AutoConnection
, the member is invoked synchronously if obj lives in the same thread as the caller; otherwise it will invoke the member asynchronously.
If the invocation is asynchronous, the return value cannot be evaluated.
- Parameters:
obj
- objectmember
- method nameargs
- arguments- Returns:
- method result value if any - if the invocation is asynchronous, the return value cannot be evaluated.
- Throws:
QUnsuccessfulInvocationException
- if not able to invoke slotQNoSuchMethodException
- if method not available
- If type is
-
invokeMethod
public static <R> R invokeMethod(QMetaObject.Method0<R> method) throws QUnsuccessfulInvocationException, QNoSuchMethodExceptionCallinginvokeMethod(method, AutoConnection)
.- Type Parameters:
R
- The return type of the method.- Parameters:
method
- invoked method- Returns:
- method result value - if the invocation is asynchronous, the return value cannot be evaluated.
- Throws:
QUnsuccessfulInvocationException
- if not able to invoke slotQNoSuchMethodException
-
invokeMethod
public static <R> R invokeMethod(QMetaObject.Method0<R> method, Qt.ConnectionType type) throws QUnsuccessfulInvocationException, QNoSuchMethodExceptionInvokes the method and returns it's result value.
The invocation can be either synchronous or asynchronous, depending on type:
- If type is
Qt.ConnectionType.DirectConnection
, the member will be invoked immediately. - If type is
Qt.ConnectionType.QueuedConnection
, a QEvent will be sent and the member is invoked as soon as the application enters the main event loop. - If type is
Qt.ConnectionType.BlockingQueuedConnection
, the method will be invoked in the same way as forQt.ConnectionType.QueuedConnection
, except that the current thread will block until the event is delivered. Using this connection type to communicate between objects in the same thread will lead to deadlocks. - If type is
Qt.ConnectionType.AutoConnection
, the member is invoked synchronously if obj lives in the same thread as the caller; otherwise it will invoke the member asynchronously.
If the invocation is asynchronous, the return value cannot be evaluated.
- Type Parameters:
R
- The return type of the method.- Parameters:
method
- invoked methodtype
- synchronous or asynchronous invokation- Returns:
- method result value - if the invocation is asynchronous, the return value cannot be evaluated.
- Throws:
QUnsuccessfulInvocationException
- if not able to invoke slotQNoSuchMethodException
- If type is
-
invokeMethod
public static <A, R> R invokeMethod(QMetaObject.Method1<A,R> method, A arg1) throws QUnsuccessfulInvocationException, QNoSuchMethodExceptionCallinginvokeMethod(method, AutoConnection, ...)
.- Type Parameters:
A
- The type of the first parameter of the method.R
- The return type of the method.- Parameters:
method
- invoked methodarg1
- Argument for the first parameter.- Returns:
- method result value - if the invocation is asynchronous, the return value cannot be evaluated.
- Throws:
QUnsuccessfulInvocationException
- if not able to invoke slotQNoSuchMethodException
-
invokeMethod
public static <A, R> R invokeMethod(QMetaObject.Method1<A,R> method, Qt.ConnectionType type, A arg1) throws QUnsuccessfulInvocationException, QNoSuchMethodExceptionInvokes the method and returns it's result value.
The invocation can be either synchronous or asynchronous, depending on type:
- If type is
Qt.ConnectionType.DirectConnection
, the member will be invoked immediately. - If type is
Qt.ConnectionType.QueuedConnection
, a QEvent will be sent and the member is invoked as soon as the application enters the main event loop. - If type is
Qt.ConnectionType.BlockingQueuedConnection
, the method will be invoked in the same way as forQt.ConnectionType.QueuedConnection
, except that the current thread will block until the event is delivered. Using this connection type to communicate between objects in the same thread will lead to deadlocks. - If type is
Qt.ConnectionType.AutoConnection
, the member is invoked synchronously if obj lives in the same thread as the caller; otherwise it will invoke the member asynchronously.
If the invocation is asynchronous, the return value cannot be evaluated.
- Type Parameters:
A
- The type of the first parameter of the method.R
- The return type of the method.- Parameters:
method
- invoked methodtype
- synchronous or asynchronous invokationarg1
- Argument for the first parameter.- Returns:
- method result value - if the invocation is asynchronous, the return value cannot be evaluated.
- Throws:
QUnsuccessfulInvocationException
- if not able to invoke slotQNoSuchMethodException
- If type is
-
invokeMethod
public static <A, B, R> R invokeMethod(QMetaObject.Method2<A,B,R> method, A arg1, B arg2) throws QUnsuccessfulInvocationException, QNoSuchMethodExceptionCallinginvokeMethod(method, AutoConnection, ...)
.- Type Parameters:
A
- The type of the first parameter of the method.B
- The type of the second parameter of the method.R
- The return type of the method.- Parameters:
method
- invoked methodarg1
- Argument for the first parameter.arg2
- Argument for the second parameter.- Returns:
- method result value - if the invocation is asynchronous, the return value cannot be evaluated.
- Throws:
QUnsuccessfulInvocationException
- if not able to invoke slotQNoSuchMethodException
-
invokeMethod
public static <A, B, R> R invokeMethod(QMetaObject.Method2<A,B,R> method, Qt.ConnectionType type, A arg1, B arg2) throws QUnsuccessfulInvocationException, QNoSuchMethodExceptionInvokes the method and returns it's result value.
The invocation can be either synchronous or asynchronous, depending on type:
- If type is
Qt.ConnectionType.DirectConnection
, the member will be invoked immediately. - If type is
Qt.ConnectionType.QueuedConnection
, a QEvent will be sent and the member is invoked as soon as the application enters the main event loop. - If type is
Qt.ConnectionType.BlockingQueuedConnection
, the method will be invoked in the same way as forQt.ConnectionType.QueuedConnection
, except that the current thread will block until the event is delivered. Using this connection type to communicate between objects in the same thread will lead to deadlocks. - If type is
Qt.ConnectionType.AutoConnection
, the member is invoked synchronously if obj lives in the same thread as the caller; otherwise it will invoke the member asynchronously.
If the invocation is asynchronous, the return value cannot be evaluated.
- Type Parameters:
A
- The type of the first parameter of the method.B
- The type of the second parameter of the method.R
- The return type of the method.- Parameters:
method
- invoked methodtype
- synchronous or asynchronous invokationarg1
- Argument for the first parameter.arg2
- Argument for the second parameter.- Returns:
- method result value - if the invocation is asynchronous, the return value cannot be evaluated.
- Throws:
QUnsuccessfulInvocationException
- if not able to invoke slotQNoSuchMethodException
- If type is
-
invokeMethod
public static <A, B, C, R> R invokeMethod(QMetaObject.Method3<A,B,C,R> method, A arg1, B arg2, C arg3) throws QUnsuccessfulInvocationException, QNoSuchMethodExceptionCallinginvokeMethod(method, AutoConnection, ...)
.- Type Parameters:
A
- The type of the first parameter of the method.B
- The type of the second parameter of the method.C
- The type of the third parameter of the method.R
- The return type of the method.- Parameters:
method
- invoked methodarg1
- Argument for the first parameter.arg2
- Argument for the second parameter.arg3
- Argument for the third parameter.- Returns:
- method result value - if the invocation is asynchronous, the return value cannot be evaluated.
- Throws:
QUnsuccessfulInvocationException
- if not able to invoke slotQNoSuchMethodException
-
invokeMethod
public static <A, B, C, R> R invokeMethod(QMetaObject.Method3<A,B,C,R> method, Qt.ConnectionType type, A arg1, B arg2, C arg3) throws QUnsuccessfulInvocationException, QNoSuchMethodExceptionInvokes the method and returns it's result value.
The invocation can be either synchronous or asynchronous, depending on type:
- If type is
Qt.ConnectionType.DirectConnection
, the member will be invoked immediately. - If type is
Qt.ConnectionType.QueuedConnection
, a QEvent will be sent and the member is invoked as soon as the application enters the main event loop. - If type is
Qt.ConnectionType.BlockingQueuedConnection
, the method will be invoked in the same way as forQt.ConnectionType.QueuedConnection
, except that the current thread will block until the event is delivered. Using this connection type to communicate between objects in the same thread will lead to deadlocks. - If type is
Qt.ConnectionType.AutoConnection
, the member is invoked synchronously if obj lives in the same thread as the caller; otherwise it will invoke the member asynchronously.
If the invocation is asynchronous, the return value cannot be evaluated.
- Type Parameters:
A
- The type of the first parameter of the method.B
- The type of the second parameter of the method.C
- The type of the third parameter of the method.R
- The return type of the method.- Parameters:
method
- invoked methodtype
- synchronous or asynchronous invokationarg1
- Argument for the first parameter.arg2
- Argument for the second parameter.arg3
- Argument for the third parameter.- Returns:
- method result value - if the invocation is asynchronous, the return value cannot be evaluated.
- Throws:
QUnsuccessfulInvocationException
- if not able to invoke slotQNoSuchMethodException
- If type is
-
invokeMethod
public static <A, B, C, D, R> R invokeMethod(QMetaObject.Method4<A,B,C,D,R> method, A arg1, B arg2, C arg3, D arg4) throws QUnsuccessfulInvocationException, QNoSuchMethodExceptionCallinginvokeMethod(method, AutoConnection, ...)
.- Type Parameters:
A
- The type of the first parameter of the method.B
- The type of the second parameter of the method.C
- The type of the third parameter of the method.D
- The type of the fourth parameter of the method.R
- The return type of the method.- Parameters:
method
- invoked methodarg1
- Argument for the first parameter.arg2
- Argument for the second parameter.arg3
- Argument for the third parameter.arg4
- Argument for the fourth parameter.- Returns:
- method result value - if the invocation is asynchronous, the return value cannot be evaluated.
- Throws:
QUnsuccessfulInvocationException
- if not able to invoke slotQNoSuchMethodException
-
invokeMethod
public static <A, B, C, D, R> R invokeMethod(QMetaObject.Method4<A,B,C,D,R> method, Qt.ConnectionType type, A arg1, B arg2, C arg3, D arg4) throws QUnsuccessfulInvocationException, QNoSuchMethodExceptionInvokes the method and returns it's result value.
The invocation can be either synchronous or asynchronous, depending on type:
- If type is
Qt.ConnectionType.DirectConnection
, the member will be invoked immediately. - If type is
Qt.ConnectionType.QueuedConnection
, a QEvent will be sent and the member is invoked as soon as the application enters the main event loop. - If type is
Qt.ConnectionType.BlockingQueuedConnection
, the method will be invoked in the same way as forQt.ConnectionType.QueuedConnection
, except that the current thread will block until the event is delivered. Using this connection type to communicate between objects in the same thread will lead to deadlocks. - If type is
Qt.ConnectionType.AutoConnection
, the member is invoked synchronously if obj lives in the same thread as the caller; otherwise it will invoke the member asynchronously.
If the invocation is asynchronous, the return value cannot be evaluated.
- Type Parameters:
A
- The type of the first parameter of the method.B
- The type of the second parameter of the method.C
- The type of the third parameter of the method.D
- The type of the fourth parameter of the method.R
- The return type of the method.- Parameters:
method
- invoked methodtype
- synchronous or asynchronous invokationarg1
- Argument for the first parameter.arg2
- Argument for the second parameter.arg3
- Argument for the third parameter.arg4
- Argument for the fourth parameter.- Returns:
- method result value - if the invocation is asynchronous, the return value cannot be evaluated.
- Throws:
QUnsuccessfulInvocationException
- if not able to invoke slotQNoSuchMethodException
- If type is
-
invokeMethod
public static <A, B, C, D, E, R> R invokeMethod(QMetaObject.Method5<A,B,C,D,E,R> method, A arg1, B arg2, C arg3, D arg4, E arg5) throws QUnsuccessfulInvocationException, QNoSuchMethodExceptionCallinginvokeMethod(method, AutoConnection, ...)
.- Type Parameters:
A
- The type of the first parameter of the method.B
- The type of the second parameter of the method.C
- The type of the third parameter of the method.D
- The type of the fourth parameter of the method.E
- The type of the fifth parameter of the method.R
- The return type of the method.- Parameters:
method
- invoked methodarg1
- Argument for the first parameter.arg2
- Argument for the second parameter.arg3
- Argument for the third parameter.arg4
- Argument for the fourth parameter.arg5
- Argument for the fifth parameter.- Returns:
- method result value - if the invocation is asynchronous, the return value cannot be evaluated.
- Throws:
QUnsuccessfulInvocationException
- if not able to invoke slotQNoSuchMethodException
-
invokeMethod
public static <A, B, C, D, E, R> R invokeMethod(QMetaObject.Method5<A,B,C,D,E,R> method, Qt.ConnectionType type, A arg1, B arg2, C arg3, D arg4, E arg5) throws QUnsuccessfulInvocationException, QNoSuchMethodExceptionInvokes the method and returns it's result value.
The invocation can be either synchronous or asynchronous, depending on type:
- If type is
Qt.ConnectionType.DirectConnection
, the member will be invoked immediately. - If type is
Qt.ConnectionType.QueuedConnection
, a QEvent will be sent and the member is invoked as soon as the application enters the main event loop. - If type is
Qt.ConnectionType.BlockingQueuedConnection
, the method will be invoked in the same way as forQt.ConnectionType.QueuedConnection
, except that the current thread will block until the event is delivered. Using this connection type to communicate between objects in the same thread will lead to deadlocks. - If type is
Qt.ConnectionType.AutoConnection
, the member is invoked synchronously if obj lives in the same thread as the caller; otherwise it will invoke the member asynchronously.
If the invocation is asynchronous, the return value cannot be evaluated.
- Type Parameters:
A
- The type of the first parameter of the method.B
- The type of the second parameter of the method.C
- The type of the third parameter of the method.D
- The type of the fourth parameter of the method.E
- The type of the fifth parameter of the method.R
- The return type of the method.- Parameters:
method
- invoked methodtype
- synchronous or asynchronous invokationarg1
- Argument for the first parameter.arg2
- Argument for the second parameter.arg3
- Argument for the third parameter.arg4
- Argument for the fourth parameter.arg5
- Argument for the fifth parameter.- Returns:
- method result value - if the invocation is asynchronous, the return value cannot be evaluated.
- Throws:
QUnsuccessfulInvocationException
- if not able to invoke slotQNoSuchMethodException
- If type is
-
invokeMethod
public static <A, B, C, D, E, F, R> R invokeMethod(QMetaObject.Method6<A,B,C,D,E,F,R> method, A arg1, B arg2, C arg3, D arg4, E arg5, F arg6) throws QUnsuccessfulInvocationException, QNoSuchMethodExceptionCallinginvokeMethod(method, AutoConnection, ...)
.- Type Parameters:
A
- The type of the first parameter of the method.B
- The type of the second parameter of the method.C
- The type of the third parameter of the method.D
- The type of the fourth parameter of the method.E
- The type of the fifth parameter of the method.F
- The type of the sixth parameter of the method.R
- The return type of the method.- Parameters:
method
- invoked methodarg1
- Argument for the first parameter.arg2
- Argument for the second parameter.arg3
- Argument for the third parameter.arg4
- Argument for the fourth parameter.arg5
- Argument for the fifth parameter.arg6
- Argument for the sixth parameter.- Returns:
- method result value - if the invocation is asynchronous, the return value cannot be evaluated.
- Throws:
QUnsuccessfulInvocationException
- if not able to invoke slotQNoSuchMethodException
-
invokeMethod
public static <A, B, C, D, E, F, R> R invokeMethod(QMetaObject.Method6<A,B,C,D,E,F,R> method, Qt.ConnectionType type, A arg1, B arg2, C arg3, D arg4, E arg5, F arg6) throws QUnsuccessfulInvocationException, QNoSuchMethodExceptionInvokes the method and returns it's result value.
The invocation can be either synchronous or asynchronous, depending on type:
- If type is
Qt.ConnectionType.DirectConnection
, the member will be invoked immediately. - If type is
Qt.ConnectionType.QueuedConnection
, a QEvent will be sent and the member is invoked as soon as the application enters the main event loop. - If type is
Qt.ConnectionType.BlockingQueuedConnection
, the method will be invoked in the same way as forQt.ConnectionType.QueuedConnection
, except that the current thread will block until the event is delivered. Using this connection type to communicate between objects in the same thread will lead to deadlocks. - If type is
Qt.ConnectionType.AutoConnection
, the member is invoked synchronously if obj lives in the same thread as the caller; otherwise it will invoke the member asynchronously.
If the invocation is asynchronous, the return value cannot be evaluated.
- Type Parameters:
A
- The type of the first parameter of the method.B
- The type of the second parameter of the method.C
- The type of the third parameter of the method.D
- The type of the fourth parameter of the method.E
- The type of the fifth parameter of the method.F
- The type of the sixth parameter of the method.R
- The return type of the method.- Parameters:
method
- invoked methodtype
- synchronous or asynchronous invokationarg1
- Argument for the first parameter.arg2
- Argument for the second parameter.arg3
- Argument for the third parameter.arg4
- Argument for the fourth parameter.arg5
- Argument for the fifth parameter.arg6
- Argument for the sixth parameter.- Returns:
- method result value - if the invocation is asynchronous, the return value cannot be evaluated.
- Throws:
QUnsuccessfulInvocationException
- if not able to invoke slotQNoSuchMethodException
- If type is
-
invokeMethod
public static <A, B, C, D, E, F, G, R> R invokeMethod(QMetaObject.Method7<A,B,C,D,E,F,G,R> method, A arg1, B arg2, C arg3, D arg4, E arg5, F arg6, G arg7) throws QUnsuccessfulInvocationException, QNoSuchMethodExceptionCallinginvokeMethod(method, AutoConnection, ...)
.- Type Parameters:
A
- The type of the first parameter of the method.B
- The type of the second parameter of the method.C
- The type of the third parameter of the method.D
- The type of the fourth parameter of the method.E
- The type of the fifth parameter of the method.F
- The type of the sixth parameter of the method.G
- The type of the seventh parameter of the method.R
- The return type of the method.- Parameters:
method
- invoked methodarg1
- Argument for the first parameter.arg2
- Argument for the second parameter.arg3
- Argument for the third parameter.arg4
- Argument for the fourth parameter.arg5
- Argument for the fifth parameter.arg6
- Argument for the sixth parameter.arg7
- Argument for the seventh parameter.- Returns:
- method result value - if the invocation is asynchronous, the return value cannot be evaluated.
- Throws:
QUnsuccessfulInvocationException
- if not able to invoke slotQNoSuchMethodException
-
invokeMethod
public static <A, B, C, D, E, F, G, R> R invokeMethod(QMetaObject.Method7<A,B,C,D,E,F,G,R> method, Qt.ConnectionType type, A arg1, B arg2, C arg3, D arg4, E arg5, F arg6, G arg7) throws QUnsuccessfulInvocationException, QNoSuchMethodExceptionInvokes the method and returns it's result value.
The invocation can be either synchronous or asynchronous, depending on type:
- If type is
Qt.ConnectionType.DirectConnection
, the member will be invoked immediately. - If type is
Qt.ConnectionType.QueuedConnection
, a QEvent will be sent and the member is invoked as soon as the application enters the main event loop. - If type is
Qt.ConnectionType.BlockingQueuedConnection
, the method will be invoked in the same way as forQt.ConnectionType.QueuedConnection
, except that the current thread will block until the event is delivered. Using this connection type to communicate between objects in the same thread will lead to deadlocks. - If type is
Qt.ConnectionType.AutoConnection
, the member is invoked synchronously if obj lives in the same thread as the caller; otherwise it will invoke the member asynchronously.
If the invocation is asynchronous, the return value cannot be evaluated.
- Type Parameters:
A
- The type of the first parameter of the method.B
- The type of the second parameter of the method.C
- The type of the third parameter of the method.D
- The type of the fourth parameter of the method.E
- The type of the fifth parameter of the method.F
- The type of the sixth parameter of the method.G
- The type of the seventh parameter of the method.R
- The return type of the method.- Parameters:
method
- invoked methodtype
- synchronous or asynchronous invokationarg1
- Argument for the first parameter.arg2
- Argument for the second parameter.arg3
- Argument for the third parameter.arg4
- Argument for the fourth parameter.arg5
- Argument for the fifth parameter.arg6
- Argument for the sixth parameter.arg7
- Argument for the seventh parameter.- Returns:
- method result value - if the invocation is asynchronous, the return value cannot be evaluated.
- Throws:
QUnsuccessfulInvocationException
- if not able to invoke slotQNoSuchMethodException
- If type is
-
invokeMethod
public static <A, B, C, D, E, F, G, H, R> R invokeMethod(QMetaObject.Method8<A,B,C,D,E,F,G,H,R> method, A arg1, B arg2, C arg3, D arg4, E arg5, F arg6, G arg7, H arg8) throws QUnsuccessfulInvocationException, QNoSuchMethodExceptionCallinginvokeMethod(method, AutoConnection, ...)
.- Type Parameters:
A
- The type of the first parameter of the method.B
- The type of the second parameter of the method.C
- The type of the third parameter of the method.D
- The type of the fourth parameter of the method.E
- The type of the fifth parameter of the method.F
- The type of the sixth parameter of the method.G
- The type of the seventh parameter of the method.H
- The type of the eighth parameter of the method.R
- The return type of the method.- Parameters:
method
- invoked methodarg1
- Argument for the first parameter.arg2
- Argument for the second parameter.arg3
- Argument for the third parameter.arg4
- Argument for the fourth parameter.arg5
- Argument for the fifth parameter.arg6
- Argument for the sixth parameter.arg7
- Argument for the seventh parameter.arg8
- Argument for the eighth parameter.- Returns:
- method result value - if the invocation is asynchronous, the return value cannot be evaluated.
- Throws:
QUnsuccessfulInvocationException
- if not able to invoke slotQNoSuchMethodException
-
invokeMethod
public static <A, B, C, D, E, F, G, H, R> R invokeMethod(QMetaObject.Method8<A,B,C,D,E,F,G,H,R> method, Qt.ConnectionType type, A arg1, B arg2, C arg3, D arg4, E arg5, F arg6, G arg7, H arg8) throws QUnsuccessfulInvocationException, QNoSuchMethodExceptionInvokes the method and returns it's result value.
The invocation can be either synchronous or asynchronous, depending on type:
- If type is
Qt.ConnectionType.DirectConnection
, the member will be invoked immediately. - If type is
Qt.ConnectionType.QueuedConnection
, a QEvent will be sent and the member is invoked as soon as the application enters the main event loop. - If type is
Qt.ConnectionType.BlockingQueuedConnection
, the method will be invoked in the same way as forQt.ConnectionType.QueuedConnection
, except that the current thread will block until the event is delivered. Using this connection type to communicate between objects in the same thread will lead to deadlocks. - If type is
Qt.ConnectionType.AutoConnection
, the member is invoked synchronously if obj lives in the same thread as the caller; otherwise it will invoke the member asynchronously.
If the invocation is asynchronous, the return value cannot be evaluated.
- Type Parameters:
A
- The type of the first parameter of the method.B
- The type of the second parameter of the method.C
- The type of the third parameter of the method.D
- The type of the fourth parameter of the method.E
- The type of the fifth parameter of the method.F
- The type of the sixth parameter of the method.G
- The type of the seventh parameter of the method.H
- The type of the eighth parameter of the method.R
- The return type of the method.- Parameters:
method
- invoked methodtype
- synchronous or asynchronous invokationarg1
- Argument for the first parameter.arg2
- Argument for the second parameter.arg3
- Argument for the third parameter.arg4
- Argument for the fourth parameter.arg5
- Argument for the fifth parameter.arg6
- Argument for the sixth parameter.arg7
- Argument for the seventh parameter.arg8
- Argument for the eighth parameter.- Returns:
- method result value - if the invocation is asynchronous, the return value cannot be evaluated.
- Throws:
QUnsuccessfulInvocationException
- if not able to invoke slotQNoSuchMethodException
- If type is
-
invokeMethod
public static <A, B, C, D, E, F, G, H, I, R> R invokeMethod(QMetaObject.Method9<A,B,C,D,E,F,G,H,I,R> method, A arg1, B arg2, C arg3, D arg4, E arg5, F arg6, G arg7, H arg8, I arg9) throws QUnsuccessfulInvocationException, QNoSuchMethodExceptionCallinginvokeMethod(method, AutoConnection, ...)
.- Type Parameters:
A
- The type of the first parameter of the method.B
- The type of the second parameter of the method.C
- The type of the third parameter of the method.D
- The type of the fourth parameter of the method.E
- The type of the fifth parameter of the method.F
- The type of the sixth parameter of the method.G
- The type of the seventh parameter of the method.H
- The type of the eighth parameter of the method.I
- The type of the ninth parameter of the method.R
- The return type of the method.- Parameters:
method
- invoked methodarg1
- Argument for the first parameter.arg2
- Argument for the second parameter.arg3
- Argument for the third parameter.arg4
- Argument for the fourth parameter.arg5
- Argument for the fifth parameter.arg6
- Argument for the sixth parameter.arg7
- Argument for the seventh parameter.arg8
- Argument for the eighth parameter.arg9
- Argument for the ninth parameter.- Returns:
- method result value - if the invocation is asynchronous, the return value cannot be evaluated.
- Throws:
QUnsuccessfulInvocationException
- if not able to invoke slotQNoSuchMethodException
-
invokeMethod
public static <A, B, C, D, E, F, G, H, I, R> R invokeMethod(QMetaObject.Method9<A,B,C,D,E,F,G,H,I,R> method, Qt.ConnectionType type, A arg1, B arg2, C arg3, D arg4, E arg5, F arg6, G arg7, H arg8, I arg9) throws QUnsuccessfulInvocationException, QNoSuchMethodExceptionInvokes the method and returns it's result value.
The invocation can be either synchronous or asynchronous, depending on type:
- If type is
Qt.ConnectionType.DirectConnection
, the member will be invoked immediately. - If type is
Qt.ConnectionType.QueuedConnection
, a QEvent will be sent and the member is invoked as soon as the application enters the main event loop. - If type is
Qt.ConnectionType.BlockingQueuedConnection
, the method will be invoked in the same way as forQt.ConnectionType.QueuedConnection
, except that the current thread will block until the event is delivered. Using this connection type to communicate between objects in the same thread will lead to deadlocks. - If type is
Qt.ConnectionType.AutoConnection
, the member is invoked synchronously if obj lives in the same thread as the caller; otherwise it will invoke the member asynchronously.
If the invocation is asynchronous, the return value cannot be evaluated.
- Type Parameters:
A
- The type of the first parameter of the method.B
- The type of the second parameter of the method.C
- The type of the third parameter of the method.D
- The type of the fourth parameter of the method.E
- The type of the fifth parameter of the method.F
- The type of the sixth parameter of the method.G
- The type of the seventh parameter of the method.H
- The type of the eighth parameter of the method.I
- The type of the ninth parameter of the method.R
- The return type of the method.- Parameters:
method
- invoked methodtype
- synchronous or asynchronous invokationarg1
- Argument for the first parameter.arg2
- Argument for the second parameter.arg3
- Argument for the third parameter.arg4
- Argument for the fourth parameter.arg5
- Argument for the fifth parameter.arg6
- Argument for the sixth parameter.arg7
- Argument for the seventh parameter.arg8
- Argument for the eighth parameter.arg9
- Argument for the ninth parameter.- Returns:
- method result value - if the invocation is asynchronous, the return value cannot be evaluated.
- Throws:
QUnsuccessfulInvocationException
- if not able to invoke slotQNoSuchMethodException
- If type is
-
invokeMethod
public static void invokeMethod(QMetaObject.Slot0 method) throws QUnsuccessfulInvocationException, QNoSuchMethodExceptionCallinginvokeMethod(method, AutoConnection)
.- Parameters:
method
- invoked method- Throws:
QUnsuccessfulInvocationException
- if not able to invoke slotQNoSuchMethodException
-
invokeMethod
public static void invokeMethod(QMetaObject.Slot0 method, Qt.ConnectionType type) throws QUnsuccessfulInvocationException, QNoSuchMethodExceptionInvokes the slot.
The invocation can be either synchronous or asynchronous, depending on type:
- If type is
Qt.ConnectionType.DirectConnection
, the member will be invoked immediately. - If type is
Qt.ConnectionType.QueuedConnection
, a QEvent will be sent and the member is invoked as soon as the application enters the main event loop. - If type is
Qt.ConnectionType.BlockingQueuedConnection
, the method will be invoked in the same way as forQt.ConnectionType.QueuedConnection
, except that the current thread will block until the event is delivered. Using this connection type to communicate between objects in the same thread will lead to deadlocks. - If type is
Qt.ConnectionType.AutoConnection
, the member is invoked synchronously if obj lives in the same thread as the caller; otherwise it will invoke the member asynchronously.
- Parameters:
method
- invoked methodtype
- synchronous or asynchronous invokation- Throws:
QUnsuccessfulInvocationException
- if not able to invoke slotQNoSuchMethodException
- If type is
-
invokeMethod
public static <A> void invokeMethod(QMetaObject.Slot1<A> method, A arg1) throws QUnsuccessfulInvocationException, QNoSuchMethodExceptionCallinginvokeMethod(method, AutoConnection, ...)
.- Type Parameters:
A
- The type of the first parameter of the slot.- Parameters:
method
- invoked methodarg1
- Argument for the first parameter.- Throws:
QUnsuccessfulInvocationException
- if not able to invoke slotQNoSuchMethodException
-
invokeMethod
public static <A> void invokeMethod(QMetaObject.Slot1<A> method, Qt.ConnectionType type, A arg1) throws QUnsuccessfulInvocationException, QNoSuchMethodExceptionInvokes the slot.
The invocation can be either synchronous or asynchronous, depending on type:
- If type is
Qt.ConnectionType.DirectConnection
, the member will be invoked immediately. - If type is
Qt.ConnectionType.QueuedConnection
, a QEvent will be sent and the member is invoked as soon as the application enters the main event loop. - If type is
Qt.ConnectionType.BlockingQueuedConnection
, the method will be invoked in the same way as forQt.ConnectionType.QueuedConnection
, except that the current thread will block until the event is delivered. Using this connection type to communicate between objects in the same thread will lead to deadlocks. - If type is
Qt.ConnectionType.AutoConnection
, the member is invoked synchronously if obj lives in the same thread as the caller; otherwise it will invoke the member asynchronously.
- Type Parameters:
A
- The type of the first parameter of the slot.- Parameters:
method
- invoked methodtype
- synchronous or asynchronous invokationarg1
- Argument for the first parameter.- Throws:
QUnsuccessfulInvocationException
- if not able to invoke slotQNoSuchMethodException
- If type is
-
invokeMethod
public static <A, B> void invokeMethod(QMetaObject.Slot2<A,B> method, A arg1, B arg2) throws QUnsuccessfulInvocationException, QNoSuchMethodExceptionCallinginvokeMethod(method, AutoConnection, ...)
.- Type Parameters:
A
- The type of the first parameter of the slot.B
- The type of the second parameter of the slot.- Parameters:
method
- invoked methodarg1
- Argument for the first parameter.arg2
- Argument for the second parameter.- Throws:
QUnsuccessfulInvocationException
- if not able to invoke slotQNoSuchMethodException
-
invokeMethod
public static <A, B> void invokeMethod(QMetaObject.Slot2<A,B> method, Qt.ConnectionType type, A arg1, B arg2) throws QUnsuccessfulInvocationException, QNoSuchMethodExceptionInvokes the slot.
The invocation can be either synchronous or asynchronous, depending on type:
- If type is
Qt.ConnectionType.DirectConnection
, the member will be invoked immediately. - If type is
Qt.ConnectionType.QueuedConnection
, a QEvent will be sent and the member is invoked as soon as the application enters the main event loop. - If type is
Qt.ConnectionType.BlockingQueuedConnection
, the method will be invoked in the same way as forQt.ConnectionType.QueuedConnection
, except that the current thread will block until the event is delivered. Using this connection type to communicate between objects in the same thread will lead to deadlocks. - If type is
Qt.ConnectionType.AutoConnection
, the member is invoked synchronously if obj lives in the same thread as the caller; otherwise it will invoke the member asynchronously.
- Type Parameters:
A
- The type of the first parameter of the slot.B
- The type of the second parameter of the slot.- Parameters:
method
- invoked methodtype
- synchronous or asynchronous invokationarg1
- Argument for the first parameter.arg2
- Argument for the second parameter.- Throws:
QUnsuccessfulInvocationException
- if not able to invoke slotQNoSuchMethodException
- If type is
-
invokeMethod
public static <A, B, C> void invokeMethod(QMetaObject.Slot3<A,B,C> method, A arg1, B arg2, C arg3) throws QUnsuccessfulInvocationException, QNoSuchMethodExceptionCallinginvokeMethod(method, AutoConnection, ...)
.- Type Parameters:
A
- The type of the first parameter of the slot.B
- The type of the second parameter of the slot.C
- The type of the third parameter of the slot.- Parameters:
method
- invoked methodarg1
- Argument for the first parameter.arg2
- Argument for the second parameter.arg3
- Argument for the third parameter.- Throws:
QUnsuccessfulInvocationException
- if not able to invoke slotQNoSuchMethodException
-
invokeMethod
public static <A, B, C> void invokeMethod(QMetaObject.Slot3<A,B,C> method, Qt.ConnectionType type, A arg1, B arg2, C arg3) throws QUnsuccessfulInvocationException, QNoSuchMethodExceptionInvokes the slot.
The invocation can be either synchronous or asynchronous, depending on type:
- If type is
Qt.ConnectionType.DirectConnection
, the member will be invoked immediately. - If type is
Qt.ConnectionType.QueuedConnection
, a QEvent will be sent and the member is invoked as soon as the application enters the main event loop. - If type is
Qt.ConnectionType.BlockingQueuedConnection
, the method will be invoked in the same way as forQt.ConnectionType.QueuedConnection
, except that the current thread will block until the event is delivered. Using this connection type to communicate between objects in the same thread will lead to deadlocks. - If type is
Qt.ConnectionType.AutoConnection
, the member is invoked synchronously if obj lives in the same thread as the caller; otherwise it will invoke the member asynchronously.
- Type Parameters:
A
- The type of the first parameter of the slot.B
- The type of the second parameter of the slot.C
- The type of the third parameter of the slot.- Parameters:
method
- invoked methodtype
- synchronous or asynchronous invokationarg1
- Argument for the first parameter.arg2
- Argument for the second parameter.arg3
- Argument for the third parameter.- Throws:
QUnsuccessfulInvocationException
- if not able to invoke slotQNoSuchMethodException
- If type is
-
invokeMethod
public static <A, B, C, D> void invokeMethod(QMetaObject.Slot4<A,B,C,D> method, A arg1, B arg2, C arg3, D arg4) throws QUnsuccessfulInvocationException, QNoSuchMethodExceptionCallinginvokeMethod(method, AutoConnection, ...)
.- Type Parameters:
A
- The type of the first parameter of the slot.B
- The type of the second parameter of the slot.C
- The type of the third parameter of the slot.D
- The type of the fourth parameter of the slot.- Parameters:
method
- invoked methodarg1
- Argument for the first parameter.arg2
- Argument for the second parameter.arg3
- Argument for the third parameter.arg4
- Argument for the fourth parameter.- Throws:
QUnsuccessfulInvocationException
- if not able to invoke slotQNoSuchMethodException
-
invokeMethod
public static <A, B, C, D> void invokeMethod(QMetaObject.Slot4<A,B,C,D> method, Qt.ConnectionType type, A arg1, B arg2, C arg3, D arg4) throws QUnsuccessfulInvocationException, QNoSuchMethodExceptionInvokes the slot.
The invocation can be either synchronous or asynchronous, depending on type:
- If type is
Qt.ConnectionType.DirectConnection
, the member will be invoked immediately. - If type is
Qt.ConnectionType.QueuedConnection
, a QEvent will be sent and the member is invoked as soon as the application enters the main event loop. - If type is
Qt.ConnectionType.BlockingQueuedConnection
, the method will be invoked in the same way as forQt.ConnectionType.QueuedConnection
, except that the current thread will block until the event is delivered. Using this connection type to communicate between objects in the same thread will lead to deadlocks. - If type is
Qt.ConnectionType.AutoConnection
, the member is invoked synchronously if obj lives in the same thread as the caller; otherwise it will invoke the member asynchronously.
- Type Parameters:
A
- The type of the first parameter of the slot.B
- The type of the second parameter of the slot.C
- The type of the third parameter of the slot.D
- The type of the fourth parameter of the slot.- Parameters:
method
- invoked methodtype
- synchronous or asynchronous invokationarg1
- Argument for the first parameter.arg2
- Argument for the second parameter.arg3
- Argument for the third parameter.arg4
- Argument for the fourth parameter.- Throws:
QUnsuccessfulInvocationException
- if not able to invoke slotQNoSuchMethodException
- If type is
-
invokeMethod
public static <A, B, C, D, E> void invokeMethod(QMetaObject.Slot5<A,B,C,D,E> method, A arg1, B arg2, C arg3, D arg4, E arg5) throws QUnsuccessfulInvocationException, QNoSuchMethodExceptionCallinginvokeMethod(method, AutoConnection, ...)
.- Type Parameters:
A
- The type of the first parameter of the slot.B
- The type of the second parameter of the slot.C
- The type of the third parameter of the slot.D
- The type of the fourth parameter of the slot.E
- The type of the fifth parameter of the slot.- Parameters:
method
- invoked methodarg1
- Argument for the first parameter.arg2
- Argument for the second parameter.arg3
- Argument for the third parameter.arg4
- Argument for the fourth parameter.arg5
- Argument for the fifth parameter.- Throws:
QUnsuccessfulInvocationException
- if not able to invoke slotQNoSuchMethodException
-
invokeMethod
public static <A, B, C, D, E> void invokeMethod(QMetaObject.Slot5<A,B,C,D,E> method, Qt.ConnectionType type, A arg1, B arg2, C arg3, D arg4, E arg5) throws QUnsuccessfulInvocationException, QNoSuchMethodExceptionInvokes the slot.
The invocation can be either synchronous or asynchronous, depending on type:
- If type is
Qt.ConnectionType.DirectConnection
, the member will be invoked immediately. - If type is
Qt.ConnectionType.QueuedConnection
, a QEvent will be sent and the member is invoked as soon as the application enters the main event loop. - If type is
Qt.ConnectionType.BlockingQueuedConnection
, the method will be invoked in the same way as forQt.ConnectionType.QueuedConnection
, except that the current thread will block until the event is delivered. Using this connection type to communicate between objects in the same thread will lead to deadlocks. - If type is
Qt.ConnectionType.AutoConnection
, the member is invoked synchronously if obj lives in the same thread as the caller; otherwise it will invoke the member asynchronously.
- Type Parameters:
A
- The type of the first parameter of the slot.B
- The type of the second parameter of the slot.C
- The type of the third parameter of the slot.D
- The type of the fourth parameter of the slot.E
- The type of the fifth parameter of the slot.- Parameters:
method
- invoked methodtype
- synchronous or asynchronous invokationarg1
- Argument for the first parameter.arg2
- Argument for the second parameter.arg3
- Argument for the third parameter.arg4
- Argument for the fourth parameter.arg5
- Argument for the fifth parameter.- Throws:
QUnsuccessfulInvocationException
- if not able to invoke slotQNoSuchMethodException
- If type is
-
invokeMethod
public static <A, B, C, D, E, F> void invokeMethod(QMetaObject.Slot6<A,B,C,D,E,F> method, A arg1, B arg2, C arg3, D arg4, E arg5, F arg6) throws QUnsuccessfulInvocationException, QNoSuchMethodExceptionCallinginvokeMethod(method, AutoConnection, ...)
.- Type Parameters:
A
- The type of the first parameter of the slot.B
- The type of the second parameter of the slot.C
- The type of the third parameter of the slot.D
- The type of the fourth parameter of the slot.E
- The type of the fifth parameter of the slot.F
- The type of the sixth parameter of the slot.- Parameters:
method
- invoked methodarg1
- Argument for the first parameter.arg2
- Argument for the second parameter.arg3
- Argument for the third parameter.arg4
- Argument for the fourth parameter.arg5
- Argument for the fifth parameter.arg6
- Argument for the sixth parameter.- Throws:
QUnsuccessfulInvocationException
- if not able to invoke slotQNoSuchMethodException
-
invokeMethod
public static <A, B, C, D, E, F> void invokeMethod(QMetaObject.Slot6<A,B,C,D,E,F> method, Qt.ConnectionType type, A arg1, B arg2, C arg3, D arg4, E arg5, F arg6) throws QUnsuccessfulInvocationException, QNoSuchMethodExceptionInvokes the slot.
The invocation can be either synchronous or asynchronous, depending on type:
- If type is
Qt.ConnectionType.DirectConnection
, the member will be invoked immediately. - If type is
Qt.ConnectionType.QueuedConnection
, a QEvent will be sent and the member is invoked as soon as the application enters the main event loop. - If type is
Qt.ConnectionType.BlockingQueuedConnection
, the method will be invoked in the same way as forQt.ConnectionType.QueuedConnection
, except that the current thread will block until the event is delivered. Using this connection type to communicate between objects in the same thread will lead to deadlocks. - If type is
Qt.ConnectionType.AutoConnection
, the member is invoked synchronously if obj lives in the same thread as the caller; otherwise it will invoke the member asynchronously.
- Type Parameters:
A
- The type of the first parameter of the slot.B
- The type of the second parameter of the slot.C
- The type of the third parameter of the slot.D
- The type of the fourth parameter of the slot.E
- The type of the fifth parameter of the slot.F
- The type of the sixth parameter of the slot.- Parameters:
method
- invoked methodtype
- synchronous or asynchronous invokationarg1
- Argument for the first parameter.arg2
- Argument for the second parameter.arg3
- Argument for the third parameter.arg4
- Argument for the fourth parameter.arg5
- Argument for the fifth parameter.arg6
- Argument for the sixth parameter.- Throws:
QUnsuccessfulInvocationException
- if not able to invoke slotQNoSuchMethodException
- If type is
-
invokeMethod
public static <A, B, C, D, E, F, G> void invokeMethod(QMetaObject.Slot7<A,B,C,D,E,F,G> method, A arg1, B arg2, C arg3, D arg4, E arg5, F arg6, G arg7) throws QUnsuccessfulInvocationException, QNoSuchMethodExceptionCallinginvokeMethod(method, AutoConnection, ...)
.- Type Parameters:
A
- The type of the first parameter of the slot.B
- The type of the second parameter of the slot.C
- The type of the third parameter of the slot.D
- The type of the fourth parameter of the slot.E
- The type of the fifth parameter of the slot.F
- The type of the sixth parameter of the slot.G
- The type of the seventh parameter of the slot.- Parameters:
method
- invoked methodarg1
- Argument for the first parameter.arg2
- Argument for the second parameter.arg3
- Argument for the third parameter.arg4
- Argument for the fourth parameter.arg5
- Argument for the fifth parameter.arg6
- Argument for the sixth parameter.arg7
- Argument for the seventh parameter.- Throws:
QUnsuccessfulInvocationException
- if not able to invoke slotQNoSuchMethodException
-
invokeMethod
public static <A, B, C, D, E, F, G> void invokeMethod(QMetaObject.Slot7<A,B,C,D,E,F,G> method, Qt.ConnectionType type, A arg1, B arg2, C arg3, D arg4, E arg5, F arg6, G arg7) throws QUnsuccessfulInvocationException, QNoSuchMethodExceptionInvokes the slot.
The invocation can be either synchronous or asynchronous, depending on type:
- If type is
Qt.ConnectionType.DirectConnection
, the member will be invoked immediately. - If type is
Qt.ConnectionType.QueuedConnection
, a QEvent will be sent and the member is invoked as soon as the application enters the main event loop. - If type is
Qt.ConnectionType.BlockingQueuedConnection
, the method will be invoked in the same way as forQt.ConnectionType.QueuedConnection
, except that the current thread will block until the event is delivered. Using this connection type to communicate between objects in the same thread will lead to deadlocks. - If type is
Qt.ConnectionType.AutoConnection
, the member is invoked synchronously if obj lives in the same thread as the caller; otherwise it will invoke the member asynchronously.
- Type Parameters:
A
- The type of the first parameter of the slot.B
- The type of the second parameter of the slot.C
- The type of the third parameter of the slot.D
- The type of the fourth parameter of the slot.E
- The type of the fifth parameter of the slot.F
- The type of the sixth parameter of the slot.G
- The type of the seventh parameter of the slot.- Parameters:
method
- invoked methodtype
- synchronous or asynchronous invokationarg1
- Argument for the first parameter.arg2
- Argument for the second parameter.arg3
- Argument for the third parameter.arg4
- Argument for the fourth parameter.arg5
- Argument for the fifth parameter.arg6
- Argument for the sixth parameter.arg7
- Argument for the seventh parameter.- Throws:
QUnsuccessfulInvocationException
- if not able to invoke slotQNoSuchMethodException
- If type is
-
invokeMethod
public static <A, B, C, D, E, F, G, H> void invokeMethod(QMetaObject.Slot8<A,B,C,D,E,F,G,H> method, A arg1, B arg2, C arg3, D arg4, E arg5, F arg6, G arg7, H arg8) throws QUnsuccessfulInvocationException, QNoSuchMethodExceptionCallinginvokeMethod(method, AutoConnection, ...)
.- Type Parameters:
A
- The type of the first parameter of the slot.B
- The type of the second parameter of the slot.C
- The type of the third parameter of the slot.D
- The type of the fourth parameter of the slot.E
- The type of the fifth parameter of the slot.F
- The type of the sixth parameter of the slot.G
- The type of the seventh parameter of the slot.H
- The type of the eighth parameter of the slot.- Parameters:
method
- invoked methodarg1
- Argument for the first parameter.arg2
- Argument for the second parameter.arg3
- Argument for the third parameter.arg4
- Argument for the fourth parameter.arg5
- Argument for the fifth parameter.arg6
- Argument for the sixth parameter.arg7
- Argument for the seventh parameter.arg8
- Argument for the eighth parameter.- Throws:
QUnsuccessfulInvocationException
- if not able to invoke slotQNoSuchMethodException
-
invokeMethod
public static <A, B, C, D, E, F, G, H> void invokeMethod(QMetaObject.Slot8<A,B,C,D,E,F,G,H> method, Qt.ConnectionType type, A arg1, B arg2, C arg3, D arg4, E arg5, F arg6, G arg7, H arg8) throws QUnsuccessfulInvocationException, QNoSuchMethodExceptionInvokes the slot.
The invocation can be either synchronous or asynchronous, depending on type:
- If type is
Qt.ConnectionType.DirectConnection
, the member will be invoked immediately. - If type is
Qt.ConnectionType.QueuedConnection
, a QEvent will be sent and the member is invoked as soon as the application enters the main event loop. - If type is
Qt.ConnectionType.BlockingQueuedConnection
, the method will be invoked in the same way as forQt.ConnectionType.QueuedConnection
, except that the current thread will block until the event is delivered. Using this connection type to communicate between objects in the same thread will lead to deadlocks. - If type is
Qt.ConnectionType.AutoConnection
, the member is invoked synchronously if obj lives in the same thread as the caller; otherwise it will invoke the member asynchronously.
- Type Parameters:
A
- The type of the first parameter of the slot.B
- The type of the second parameter of the slot.C
- The type of the third parameter of the slot.D
- The type of the fourth parameter of the slot.E
- The type of the fifth parameter of the slot.F
- The type of the sixth parameter of the slot.G
- The type of the seventh parameter of the slot.H
- The type of the eighth parameter of the slot.- Parameters:
method
- invoked methodtype
- synchronous or asynchronous invokationarg1
- Argument for the first parameter.arg2
- Argument for the second parameter.arg3
- Argument for the third parameter.arg4
- Argument for the fourth parameter.arg5
- Argument for the fifth parameter.arg6
- Argument for the sixth parameter.arg7
- Argument for the seventh parameter.arg8
- Argument for the eighth parameter.- Throws:
QUnsuccessfulInvocationException
- if not able to invoke slotQNoSuchMethodException
- If type is
-
invokeMethod
public static <A, B, C, D, E, F, G, H, I> void invokeMethod(QMetaObject.Slot9<A,B,C,D,E,F,G,H,I> method, A arg1, B arg2, C arg3, D arg4, E arg5, F arg6, G arg7, H arg8, I arg9) throws QUnsuccessfulInvocationException, QNoSuchMethodExceptionCallinginvokeMethod(method, AutoConnection, ...)
.- Type Parameters:
A
- The type of the first parameter of the slot.B
- The type of the second parameter of the slot.C
- The type of the third parameter of the slot.D
- The type of the fourth parameter of the slot.E
- The type of the fifth parameter of the slot.F
- The type of the sixth parameter of the slot.G
- The type of the seventh parameter of the slot.H
- The type of the eighth parameter of the slot.I
- The type of the ninth parameter of the slot.- Parameters:
method
- invoked methodarg1
- Argument for the first parameter.arg2
- Argument for the second parameter.arg3
- Argument for the third parameter.arg4
- Argument for the fourth parameter.arg5
- Argument for the fifth parameter.arg6
- Argument for the sixth parameter.arg7
- Argument for the seventh parameter.arg8
- Argument for the eighth parameter.arg9
- Argument for the ninth parameter.- Throws:
QUnsuccessfulInvocationException
- if not able to invoke slotQNoSuchMethodException
-
invokeMethod
public static <A, B, C, D, E, F, G, H, I> void invokeMethod(QMetaObject.Slot9<A,B,C,D,E,F,G,H,I> method, Qt.ConnectionType type, A arg1, B arg2, C arg3, D arg4, E arg5, F arg6, G arg7, H arg8, I arg9) throws QUnsuccessfulInvocationException, QNoSuchMethodExceptionInvokes the slot.
The invocation can be either synchronous or asynchronous, depending on type:
- If type is
Qt.ConnectionType.DirectConnection
, the member will be invoked immediately. - If type is
Qt.ConnectionType.QueuedConnection
, a QEvent will be sent and the member is invoked as soon as the application enters the main event loop. - If type is
Qt.ConnectionType.BlockingQueuedConnection
, the method will be invoked in the same way as forQt.ConnectionType.QueuedConnection
, except that the current thread will block until the event is delivered. Using this connection type to communicate between objects in the same thread will lead to deadlocks. - If type is
Qt.ConnectionType.AutoConnection
, the member is invoked synchronously if obj lives in the same thread as the caller; otherwise it will invoke the member asynchronously.
- Type Parameters:
A
- The type of the first parameter of the slot.B
- The type of the second parameter of the slot.C
- The type of the third parameter of the slot.D
- The type of the fourth parameter of the slot.E
- The type of the fifth parameter of the slot.F
- The type of the sixth parameter of the slot.G
- The type of the seventh parameter of the slot.H
- The type of the eighth parameter of the slot.I
- The type of the ninth parameter of the slot.- Parameters:
method
- invoked methodtype
- synchronous or asynchronous invokationarg1
- Argument for the first parameter.arg2
- Argument for the second parameter.arg3
- Argument for the third parameter.arg4
- Argument for the fourth parameter.arg5
- Argument for the fifth parameter.arg6
- Argument for the sixth parameter.arg7
- Argument for the seventh parameter.arg8
- Argument for the eighth parameter.arg9
- Argument for the ninth parameter.- Throws:
QUnsuccessfulInvocationException
- if not able to invoke slotQNoSuchMethodException
- If type is
-
invokeMethod
public static void invokeMethod(QMetaObject.AbstractPrivateSignal0 signal) throws QUnsuccessfulInvocationException, QNoSuchMethodExceptionCallinginvokeMethod(signal, AutoConnection)
.- Parameters:
signal
- invoked signal- Throws:
QUnsuccessfulInvocationException
QNoSuchMethodException
-
invokeMethod
public static void invokeMethod(QMetaObject.AbstractPrivateSignal0 signal, Qt.ConnectionType type) throws QUnsuccessfulInvocationException, QNoSuchMethodExceptionInvokes the signal.
The invocation can be either synchronous or asynchronous, depending on type:
- If type is
Qt.ConnectionType.DirectConnection
, the member will be invoked immediately. - If type is
Qt.ConnectionType.QueuedConnection
, a QEvent will be sent and the member is invoked as soon as the application enters the main event loop. - If type is
Qt.ConnectionType.BlockingQueuedConnection
, the method will be invoked in the same way as forQt.ConnectionType.QueuedConnection
, except that the current thread will block until the event is delivered. Using this connection type to communicate between objects in the same thread will lead to deadlocks. - If type is
Qt.ConnectionType.AutoConnection
, the member is invoked synchronously if obj lives in the same thread as the caller; otherwise it will invoke the member asynchronously.
- Parameters:
signal
- invoked signaltype
- synchronous or asynchronous invokation- Throws:
QUnsuccessfulInvocationException
- if not able to invoke signalQNoSuchMethodException
- If type is
-
invokeMethod
public static <A> void invokeMethod(QMetaObject.AbstractPrivateSignal1<A> signal, A arg1) throws QUnsuccessfulInvocationException, QNoSuchMethodExceptionCallinginvokeMethod(signal, AutoConnection, ...)
.- Type Parameters:
A
- The type of the first parameter of the signal.- Parameters:
signal
- invoked signalarg1
- Argument for the first parameter.- Throws:
QUnsuccessfulInvocationException
QNoSuchMethodException
-
invokeMethod
public static <A> void invokeMethod(QMetaObject.AbstractPrivateSignal1<A> signal, Qt.ConnectionType type, A arg1) throws QUnsuccessfulInvocationException, QNoSuchMethodExceptionInvokes the signal.
The invocation can be either synchronous or asynchronous, depending on type:
- If type is
Qt.ConnectionType.DirectConnection
, the member will be invoked immediately. - If type is
Qt.ConnectionType.QueuedConnection
, a QEvent will be sent and the member is invoked as soon as the application enters the main event loop. - If type is
Qt.ConnectionType.BlockingQueuedConnection
, the method will be invoked in the same way as forQt.ConnectionType.QueuedConnection
, except that the current thread will block until the event is delivered. Using this connection type to communicate between objects in the same thread will lead to deadlocks. - If type is
Qt.ConnectionType.AutoConnection
, the member is invoked synchronously if obj lives in the same thread as the caller; otherwise it will invoke the member asynchronously.
- Type Parameters:
A
- The type of the first parameter of the signal.- Parameters:
signal
- invoked signaltype
- synchronous or asynchronous invokationarg1
- Argument for the first parameter.- Throws:
QUnsuccessfulInvocationException
- if not able to invoke signalQNoSuchMethodException
- If type is
-
invokeMethod
public static <A, B> void invokeMethod(QMetaObject.AbstractPrivateSignal2<A,B> signal, A arg1, B arg2) throws QUnsuccessfulInvocationException, QNoSuchMethodExceptionCallinginvokeMethod(signal, AutoConnection, ...)
.- Type Parameters:
A
- The type of the first parameter of the signal.B
- The type of the second parameter of the signal.- Parameters:
signal
- invoked signalarg1
- Argument for the first parameter.arg2
- Argument for the second parameter.- Throws:
QUnsuccessfulInvocationException
QNoSuchMethodException
-
invokeMethod
public static <A, B> void invokeMethod(QMetaObject.AbstractPrivateSignal2<A,B> signal, Qt.ConnectionType type, A arg1, B arg2) throws QUnsuccessfulInvocationException, QNoSuchMethodExceptionInvokes the signal.
The invocation can be either synchronous or asynchronous, depending on type:
- If type is
Qt.ConnectionType.DirectConnection
, the member will be invoked immediately. - If type is
Qt.ConnectionType.QueuedConnection
, a QEvent will be sent and the member is invoked as soon as the application enters the main event loop. - If type is
Qt.ConnectionType.BlockingQueuedConnection
, the method will be invoked in the same way as forQt.ConnectionType.QueuedConnection
, except that the current thread will block until the event is delivered. Using this connection type to communicate between objects in the same thread will lead to deadlocks. - If type is
Qt.ConnectionType.AutoConnection
, the member is invoked synchronously if obj lives in the same thread as the caller; otherwise it will invoke the member asynchronously.
- Type Parameters:
A
- The type of the first parameter of the signal.B
- The type of the second parameter of the signal.- Parameters:
signal
- invoked signaltype
- synchronous or asynchronous invokationarg1
- Argument for the first parameter.arg2
- Argument for the second parameter.- Throws:
QUnsuccessfulInvocationException
- if not able to invoke signalQNoSuchMethodException
- If type is
-
invokeMethod
public static <A, B, C> void invokeMethod(QMetaObject.AbstractPrivateSignal3<A,B,C> signal, A arg1, B arg2, C arg3) throws QUnsuccessfulInvocationException, QNoSuchMethodExceptionCallinginvokeMethod(signal, AutoConnection, ...)
.- Type Parameters:
A
- The type of the first parameter of the signal.B
- The type of the second parameter of the signal.C
- The type of the third parameter of the signal.- Parameters:
signal
- invoked signalarg1
- Argument for the first parameter.arg2
- Argument for the second parameter.arg3
- Argument for the third parameter.- Throws:
QUnsuccessfulInvocationException
QNoSuchMethodException
-
invokeMethod
public static <A, B, C> void invokeMethod(QMetaObject.AbstractPrivateSignal3<A,B,C> signal, Qt.ConnectionType type, A arg1, B arg2, C arg3) throws QUnsuccessfulInvocationException, QNoSuchMethodExceptionInvokes the signal.
The invocation can be either synchronous or asynchronous, depending on type:
- If type is
Qt.ConnectionType.DirectConnection
, the member will be invoked immediately. - If type is
Qt.ConnectionType.QueuedConnection
, a QEvent will be sent and the member is invoked as soon as the application enters the main event loop. - If type is
Qt.ConnectionType.BlockingQueuedConnection
, the method will be invoked in the same way as forQt.ConnectionType.QueuedConnection
, except that the current thread will block until the event is delivered. Using this connection type to communicate between objects in the same thread will lead to deadlocks. - If type is
Qt.ConnectionType.AutoConnection
, the member is invoked synchronously if obj lives in the same thread as the caller; otherwise it will invoke the member asynchronously.
- Type Parameters:
A
- The type of the first parameter of the signal.B
- The type of the second parameter of the signal.C
- The type of the third parameter of the signal.- Parameters:
signal
- invoked signaltype
- synchronous or asynchronous invokationarg1
- Argument for the first parameter.arg2
- Argument for the second parameter.arg3
- Argument for the third parameter.- Throws:
QUnsuccessfulInvocationException
- if not able to invoke signalQNoSuchMethodException
- If type is
-
invokeMethod
public static <A, B, C, D> void invokeMethod(QMetaObject.AbstractPrivateSignal4<A,B,C,D> signal, A arg1, B arg2, C arg3, D arg4) throws QUnsuccessfulInvocationException, QNoSuchMethodExceptionCallinginvokeMethod(signal, AutoConnection, ...)
.- Type Parameters:
A
- The type of the first parameter of the signal.B
- The type of the second parameter of the signal.C
- The type of the third parameter of the signal.D
- The type of the fourth parameter of the signal.- Parameters:
signal
- invoked signalarg1
- Argument for the first parameter.arg2
- Argument for the second parameter.arg3
- Argument for the third parameter.arg4
- Argument for the fourth parameter.- Throws:
QUnsuccessfulInvocationException
QNoSuchMethodException
-
invokeMethod
public static <A, B, C, D> void invokeMethod(QMetaObject.AbstractPrivateSignal4<A,B,C,D> signal, Qt.ConnectionType type, A arg1, B arg2, C arg3, D arg4) throws QUnsuccessfulInvocationException, QNoSuchMethodExceptionInvokes the signal.
The invocation can be either synchronous or asynchronous, depending on type:
- If type is
Qt.ConnectionType.DirectConnection
, the member will be invoked immediately. - If type is
Qt.ConnectionType.QueuedConnection
, a QEvent will be sent and the member is invoked as soon as the application enters the main event loop. - If type is
Qt.ConnectionType.BlockingQueuedConnection
, the method will be invoked in the same way as forQt.ConnectionType.QueuedConnection
, except that the current thread will block until the event is delivered. Using this connection type to communicate between objects in the same thread will lead to deadlocks. - If type is
Qt.ConnectionType.AutoConnection
, the member is invoked synchronously if obj lives in the same thread as the caller; otherwise it will invoke the member asynchronously.
- Type Parameters:
A
- The type of the first parameter of the signal.B
- The type of the second parameter of the signal.C
- The type of the third parameter of the signal.D
- The type of the fourth parameter of the signal.- Parameters:
signal
- invoked signaltype
- synchronous or asynchronous invokationarg1
- Argument for the first parameter.arg2
- Argument for the second parameter.arg3
- Argument for the third parameter.arg4
- Argument for the fourth parameter.- Throws:
QUnsuccessfulInvocationException
- if not able to invoke signalQNoSuchMethodException
- If type is
-
invokeMethod
public static <A, B, C, D, E> void invokeMethod(QMetaObject.AbstractPrivateSignal5<A,B,C,D,E> signal, A arg1, B arg2, C arg3, D arg4, E arg5) throws QUnsuccessfulInvocationException, QNoSuchMethodExceptionCallinginvokeMethod(signal, AutoConnection, ...)
.- Type Parameters:
A
- The type of the first parameter of the signal.B
- The type of the second parameter of the signal.C
- The type of the third parameter of the signal.D
- The type of the fourth parameter of the signal.E
- The type of the fifth parameter of the signal.- Parameters:
signal
- invoked signalarg1
- Argument for the first parameter.arg2
- Argument for the second parameter.arg3
- Argument for the third parameter.arg4
- Argument for the fourth parameter.arg5
- Argument for the fifth parameter.- Throws:
QUnsuccessfulInvocationException
QNoSuchMethodException
-
invokeMethod
public static <A, B, C, D, E> void invokeMethod(QMetaObject.AbstractPrivateSignal5<A,B,C,D,E> signal, Qt.ConnectionType type, A arg1, B arg2, C arg3, D arg4, E arg5) throws QUnsuccessfulInvocationException, QNoSuchMethodExceptionInvokes the signal.
The invocation can be either synchronous or asynchronous, depending on type:
- If type is
Qt.ConnectionType.DirectConnection
, the member will be invoked immediately. - If type is
Qt.ConnectionType.QueuedConnection
, a QEvent will be sent and the member is invoked as soon as the application enters the main event loop. - If type is
Qt.ConnectionType.BlockingQueuedConnection
, the method will be invoked in the same way as forQt.ConnectionType.QueuedConnection
, except that the current thread will block until the event is delivered. Using this connection type to communicate between objects in the same thread will lead to deadlocks. - If type is
Qt.ConnectionType.AutoConnection
, the member is invoked synchronously if obj lives in the same thread as the caller; otherwise it will invoke the member asynchronously.
- Type Parameters:
A
- The type of the first parameter of the signal.B
- The type of the second parameter of the signal.C
- The type of the third parameter of the signal.D
- The type of the fourth parameter of the signal.E
- The type of the fifth parameter of the signal.- Parameters:
signal
- invoked signaltype
- synchronous or asynchronous invokationarg1
- Argument for the first parameter.arg2
- Argument for the second parameter.arg3
- Argument for the third parameter.arg4
- Argument for the fourth parameter.arg5
- Argument for the fifth parameter.- Throws:
QUnsuccessfulInvocationException
- if not able to invoke signalQNoSuchMethodException
- If type is
-
invokeMethod
public static <A, B, C, D, E, F> void invokeMethod(QMetaObject.AbstractPrivateSignal6<A,B,C,D,E,F> signal, A arg1, B arg2, C arg3, D arg4, E arg5, F arg6) throws QUnsuccessfulInvocationException, QNoSuchMethodExceptionCallinginvokeMethod(signal, AutoConnection, ...)
.- Type Parameters:
A
- The type of the first parameter of the signal.B
- The type of the second parameter of the signal.C
- The type of the third parameter of the signal.D
- The type of the fourth parameter of the signal.E
- The type of the fifth parameter of the signal.F
- The type of the sixth parameter of the signal.- Parameters:
signal
- invoked signalarg1
- Argument for the first parameter.arg2
- Argument for the second parameter.arg3
- Argument for the third parameter.arg4
- Argument for the fourth parameter.arg5
- Argument for the fifth parameter.- Throws:
QUnsuccessfulInvocationException
QNoSuchMethodException
-
invokeMethod
public static <A, B, C, D, E, F> void invokeMethod(QMetaObject.AbstractPrivateSignal6<A,B,C,D,E,F> signal, Qt.ConnectionType type, A arg1, B arg2, C arg3, D arg4, E arg5, F arg6) throws QUnsuccessfulInvocationException, QNoSuchMethodExceptionInvokes the signal.
The invocation can be either synchronous or asynchronous, depending on type:
- If type is
Qt.ConnectionType.DirectConnection
, the member will be invoked immediately. - If type is
Qt.ConnectionType.QueuedConnection
, a QEvent will be sent and the member is invoked as soon as the application enters the main event loop. - If type is
Qt.ConnectionType.BlockingQueuedConnection
, the method will be invoked in the same way as forQt.ConnectionType.QueuedConnection
, except that the current thread will block until the event is delivered. Using this connection type to communicate between objects in the same thread will lead to deadlocks. - If type is
Qt.ConnectionType.AutoConnection
, the member is invoked synchronously if obj lives in the same thread as the caller; otherwise it will invoke the member asynchronously.
- Type Parameters:
A
- The type of the first parameter of the signal.B
- The type of the second parameter of the signal.C
- The type of the third parameter of the signal.D
- The type of the fourth parameter of the signal.E
- The type of the fifth parameter of the signal.F
- The type of the sixth parameter of the signal.- Parameters:
signal
- invoked signaltype
- synchronous or asynchronous invokationarg1
- Argument for the first parameter.arg2
- Argument for the second parameter.arg3
- Argument for the third parameter.arg4
- Argument for the fourth parameter.arg5
- Argument for the fifth parameter.arg6
- Argument for the sixth parameter.- Throws:
QUnsuccessfulInvocationException
- if not able to invoke signalQNoSuchMethodException
- If type is
-
invokeMethod
public static <A, B, C, D, E, F, G> void invokeMethod(QMetaObject.AbstractPrivateSignal7<A,B,C,D,E,F,G> signal, A arg1, B arg2, C arg3, D arg4, E arg5, F arg6, G arg7) throws QUnsuccessfulInvocationException, QNoSuchMethodExceptionCallinginvokeMethod(signal, AutoConnection, ...)
.- Type Parameters:
A
- The type of the first parameter of the signal.B
- The type of the second parameter of the signal.C
- The type of the third parameter of the signal.D
- The type of the fourth parameter of the signal.E
- The type of the fifth parameter of the signal.F
- The type of the sixth parameter of the signal.G
- The type of the seventh parameter of the signal.- Parameters:
signal
- invoked signalarg1
- Argument for the first parameter.arg2
- Argument for the second parameter.arg3
- Argument for the third parameter.arg4
- Argument for the fourth parameter.arg5
- Argument for the fifth parameter.arg6
- Argument for the sixth parameter.- Throws:
QUnsuccessfulInvocationException
QNoSuchMethodException
-
invokeMethod
public static <A, B, C, D, E, F, G> void invokeMethod(QMetaObject.AbstractPrivateSignal7<A,B,C,D,E,F,G> signal, Qt.ConnectionType type, A arg1, B arg2, C arg3, D arg4, E arg5, F arg6, G arg7) throws QUnsuccessfulInvocationException, QNoSuchMethodExceptionInvokes the signal.
The invocation can be either synchronous or asynchronous, depending on type:
- If type is
Qt.ConnectionType.DirectConnection
, the member will be invoked immediately. - If type is
Qt.ConnectionType.QueuedConnection
, a QEvent will be sent and the member is invoked as soon as the application enters the main event loop. - If type is
Qt.ConnectionType.BlockingQueuedConnection
, the method will be invoked in the same way as forQt.ConnectionType.QueuedConnection
, except that the current thread will block until the event is delivered. Using this connection type to communicate between objects in the same thread will lead to deadlocks. - If type is
Qt.ConnectionType.AutoConnection
, the member is invoked synchronously if obj lives in the same thread as the caller; otherwise it will invoke the member asynchronously.
- Type Parameters:
A
- The type of the first parameter of the signal.B
- The type of the second parameter of the signal.C
- The type of the third parameter of the signal.D
- The type of the fourth parameter of the signal.E
- The type of the fifth parameter of the signal.F
- The type of the sixth parameter of the signal.G
- The type of the seventh parameter of the signal.- Parameters:
signal
- invoked signaltype
- synchronous or asynchronous invokationarg1
- Argument for the first parameter.arg2
- Argument for the second parameter.arg3
- Argument for the third parameter.arg4
- Argument for the fourth parameter.arg5
- Argument for the fifth parameter.arg6
- Argument for the sixth parameter.arg7
- Argument for the seventh parameter.- Throws:
QUnsuccessfulInvocationException
- if not able to invoke signalQNoSuchMethodException
- If type is
-
invokeMethod
public static <A, B, C, D, E, F, G, H> void invokeMethod(QMetaObject.AbstractPrivateSignal8<A,B,C,D,E,F,G,H> signal, A arg1, B arg2, C arg3, D arg4, E arg5, F arg6, G arg7, H arg8) throws QUnsuccessfulInvocationException, QNoSuchMethodExceptionCallinginvokeMethod(signal, AutoConnection, ...)
.- Type Parameters:
A
- The type of the first parameter of the signal.B
- The type of the second parameter of the signal.C
- The type of the third parameter of the signal.D
- The type of the fourth parameter of the signal.E
- The type of the fifth parameter of the signal.F
- The type of the sixth parameter of the signal.G
- The type of the seventh parameter of the signal.H
- The type of the eighth parameter of the signal.- Parameters:
signal
- invoked signalarg1
- Argument for the first parameter.arg2
- Argument for the second parameter.arg3
- Argument for the third parameter.arg4
- Argument for the fourth parameter.arg5
- Argument for the fifth parameter.arg6
- Argument for the sixth parameter.arg7
- Argument for the seventh parameter.- Throws:
QUnsuccessfulInvocationException
QNoSuchMethodException
-
invokeMethod
public static <A, B, C, D, E, F, G, H> void invokeMethod(QMetaObject.AbstractPrivateSignal8<A,B,C,D,E,F,G,H> signal, Qt.ConnectionType type, A arg1, B arg2, C arg3, D arg4, E arg5, F arg6, G arg7, H arg8) throws QUnsuccessfulInvocationException, QNoSuchMethodExceptionInvokes the signal.
The invocation can be either synchronous or asynchronous, depending on type:
- If type is
Qt.ConnectionType.DirectConnection
, the member will be invoked immediately. - If type is
Qt.ConnectionType.QueuedConnection
, a QEvent will be sent and the member is invoked as soon as the application enters the main event loop. - If type is
Qt.ConnectionType.BlockingQueuedConnection
, the method will be invoked in the same way as forQt.ConnectionType.QueuedConnection
, except that the current thread will block until the event is delivered. Using this connection type to communicate between objects in the same thread will lead to deadlocks. - If type is
Qt.ConnectionType.AutoConnection
, the member is invoked synchronously if obj lives in the same thread as the caller; otherwise it will invoke the member asynchronously.
- Type Parameters:
A
- The type of the first parameter of the signal.B
- The type of the second parameter of the signal.C
- The type of the third parameter of the signal.D
- The type of the fourth parameter of the signal.E
- The type of the fifth parameter of the signal.F
- The type of the sixth parameter of the signal.G
- The type of the seventh parameter of the signal.H
- The type of the eighth parameter of the signal.- Parameters:
signal
- invoked signaltype
- synchronous or asynchronous invokationarg1
- Argument for the first parameter.arg2
- Argument for the second parameter.arg3
- Argument for the third parameter.arg4
- Argument for the fourth parameter.arg5
- Argument for the fifth parameter.arg6
- Argument for the sixth parameter.arg7
- Argument for the seventh parameter.arg8
- Argument for the eighth parameter.- Throws:
QUnsuccessfulInvocationException
- if not able to invoke signalQNoSuchMethodException
- If type is
-
invokeMethod
public static <A, B, C, D, E, F, G, H, I> void invokeMethod(QMetaObject.AbstractPrivateSignal9<A,B,C,D,E,F,G,H,I> signal, A arg1, B arg2, C arg3, D arg4, E arg5, F arg6, G arg7, H arg8, I arg9) throws QUnsuccessfulInvocationException, QNoSuchMethodExceptionCallinginvokeMethod(signal, AutoConnection, ...)
.- Type Parameters:
A
- The type of the first parameter of the signal.B
- The type of the second parameter of the signal.C
- The type of the third parameter of the signal.D
- The type of the fourth parameter of the signal.E
- The type of the fifth parameter of the signal.F
- The type of the sixth parameter of the signal.G
- The type of the seventh parameter of the signal.H
- The type of the eighth parameter of the signal.I
- The type of the ninth parameter of the signal.- Parameters:
signal
- invoked signalarg1
- Argument for the first parameter.arg2
- Argument for the second parameter.arg3
- Argument for the third parameter.arg4
- Argument for the fourth parameter.arg5
- Argument for the fifth parameter.arg6
- Argument for the sixth parameter.arg7
- Argument for the seventh parameter.arg8
- Argument for the eighth parameter.arg9
- Argument for the ninth parameter.- Throws:
QUnsuccessfulInvocationException
QNoSuchMethodException
-
invokeMethod
public static <A, B, C, D, E, F, G, H, I> void invokeMethod(QMetaObject.AbstractPrivateSignal9<A,B,C,D,E,F,G,H,I> signal, Qt.ConnectionType type, A arg1, B arg2, C arg3, D arg4, E arg5, F arg6, G arg7, H arg8, I arg9) throws QUnsuccessfulInvocationException, QNoSuchMethodExceptionInvokes the signal.
The invocation can be either synchronous or asynchronous, depending on type:
- If type is
Qt.ConnectionType.DirectConnection
, the member will be invoked immediately. - If type is
Qt.ConnectionType.QueuedConnection
, a QEvent will be sent and the member is invoked as soon as the application enters the main event loop. - If type is
Qt.ConnectionType.BlockingQueuedConnection
, the method will be invoked in the same way as forQt.ConnectionType.QueuedConnection
, except that the current thread will block until the event is delivered. Using this connection type to communicate between objects in the same thread will lead to deadlocks. - If type is
Qt.ConnectionType.AutoConnection
, the member is invoked synchronously if obj lives in the same thread as the caller; otherwise it will invoke the member asynchronously.
- Type Parameters:
A
- The type of the first parameter of the signal.B
- The type of the second parameter of the signal.C
- The type of the third parameter of the signal.D
- The type of the fourth parameter of the signal.E
- The type of the fifth parameter of the signal.F
- The type of the sixth parameter of the signal.G
- The type of the seventh parameter of the signal.H
- The type of the eighth parameter of the signal.I
- The type of the ninth parameter of the signal.- Parameters:
signal
- invoked signaltype
- synchronous or asynchronous invokationarg1
- Argument for the first parameter.arg2
- Argument for the second parameter.arg3
- Argument for the third parameter.arg4
- Argument for the fourth parameter.arg5
- Argument for the fifth parameter.arg6
- Argument for the sixth parameter.arg7
- Argument for the seventh parameter.arg8
- Argument for the eighth parameter.arg9
- Argument for the ninth parameter.- Throws:
QUnsuccessfulInvocationException
- if not able to invoke signalQNoSuchMethodException
- If type is
-
hashCode
public int hashCode() -
equals
-
findSignal
-
findSignal
public static <A> QMetaObject.AbstractPrivateSignal1<A> findSignal(QObject sender, String name, Class<A> typeA) -
findSignal
public static <A, B> QMetaObject.AbstractPrivateSignal2<A,B> findSignal(QObject sender, String name, Class<A> typeA, Class<B> typeB) -
findSignal
-
findSignal
-
findSignal
-
findSignal
-
findSignal
-
findSignal
-
findSignal
-
findSignal
public static QMetaObject.AbstractSignal findSignal(QObject sender, String name, Class<?>... types)
-