java.lang.Object
io.qt.internal.QtJambiObject
io.qt.QtObject
io.qt.core.QObject
io.qt.test.QSignalSpy
- All Implemented Interfaces:
QtObjectInterface
,QtSignalBlockerInterface
,QtSignalEmitterInterface
,QtThreadAffineInterface
,Iterable<QList<Object>>
,Collection<QList<Object>>
,List<QList<Object>>
public class QSignalSpy extends QObject implements List<QList<Object>>
Enables introspection of signal emission
Java wrapper for Qt class QSignalSpy
-
Nested Class Summary
Nested classes/interfaces inherited from class io.qt.core.QObject
QObject.MultiSignal, QObject.PrivateSignal0, QObject.PrivateSignal1<A>, QObject.PrivateSignal2<A,B>, QObject.PrivateSignal3<A,B,C>, QObject.PrivateSignal4<A,B,C,D>, QObject.PrivateSignal5<A,B,C,D,E>, QObject.PrivateSignal6<A,B,C,D,E,F>, QObject.PrivateSignal7<A,B,C,D,E,F,G>, QObject.PrivateSignal8<A,B,C,D,E,F,G,H>, QObject.PrivateSignal9<A,B,C,D,E,F,G,H,I>, QObject.QBooleanProperty, QObject.QByteProperty, QObject.QCharProperty, QObject.QComputedBooleanProperty, QObject.QComputedByteProperty, QObject.QComputedCharProperty, QObject.QComputedDoubleProperty, QObject.QComputedFloatProperty, QObject.QComputedIntProperty, QObject.QComputedLongProperty, QObject.QComputedProperty<T>, QObject.QComputedShortProperty, QObject.QDeclarativeConstructor, QObject.QDoubleProperty, QObject.QFloatProperty, QObject.QIntProperty, QObject.QLongProperty, QObject.QProperty<T>, QObject.QShortProperty, QObject.Signal0, QObject.Signal1<A>, QObject.Signal1Default1<A>, QObject.Signal2<A,B>, QObject.Signal2Default1<A,B>, QObject.Signal2Default2<A,B>, QObject.Signal3<A,B,C>, QObject.Signal3Default1<A,B,C>, QObject.Signal3Default2<A,B,C>, QObject.Signal3Default3<A,B,C>, QObject.Signal4<A,B,C,D>, QObject.Signal4Default1<A,B,C,D>, QObject.Signal4Default2<A,B,C,D>, QObject.Signal4Default3<A,B,C,D>, QObject.Signal4Default4<A,B,C,D>, QObject.Signal5<A,B,C,D,E>, QObject.Signal5Default1<A,B,C,D,E>, QObject.Signal5Default2<A,B,C,D,E>, QObject.Signal5Default3<A,B,C,D,E>, QObject.Signal5Default4<A,B,C,D,E>, QObject.Signal5Default5<A,B,C,D,E>, QObject.Signal6<A,B,C,D,E,F>, QObject.Signal6Default1<A,B,C,D,E,F>, QObject.Signal6Default2<A,B,C,D,E,F>, QObject.Signal6Default3<A,B,C,D,E,F>, QObject.Signal6Default4<A,B,C,D,E,F>, QObject.Signal6Default5<A,B,C,D,E,F>, QObject.Signal6Default6<A,B,C,D,E,F>, QObject.Signal7<A,B,C,D,E,F,G>, QObject.Signal7Default1<A,B,C,D,E,F,G>, QObject.Signal7Default2<A,B,C,D,E,F,G>, QObject.Signal7Default3<A,B,C,D,E,F,G>, QObject.Signal7Default4<A,B,C,D,E,F,G>, QObject.Signal7Default5<A,B,C,D,E,F,G>, QObject.Signal7Default6<A,B,C,D,E,F,G>, QObject.Signal7Default7<A,B,C,D,E,F,G>, QObject.Signal8<A,B,C,D,E,F,G,H>, QObject.Signal8Default1<A,B,C,D,E,F,G,H>, QObject.Signal8Default2<A,B,C,D,E,F,G,H>, QObject.Signal8Default3<A,B,C,D,E,F,G,H>, QObject.Signal8Default4<A,B,C,D,E,F,G,H>, QObject.Signal8Default5<A,B,C,D,E,F,G,H>, QObject.Signal8Default6<A,B,C,D,E,F,G,H>, QObject.Signal8Default7<A,B,C,D,E,F,G,H>, QObject.Signal8Default8<A,B,C,D,E,F,G,H>, QObject.Signal9<A,B,C,D,E,F,G,H,I>, QObject.Signal9Default1<A,B,C,D,E,F,G,H,I>, QObject.Signal9Default2<A,B,C,D,E,F,G,H,I>, QObject.Signal9Default3<A,B,C,D,E,F,G,H,I>, QObject.Signal9Default4<A,B,C,D,E,F,G,H,I>, QObject.Signal9Default5<A,B,C,D,E,F,G,H,I>, QObject.Signal9Default6<A,B,C,D,E,F,G,H,I>, QObject.Signal9Default7<A,B,C,D,E,F,G,H,I>, QObject.Signal9Default8<A,B,C,D,E,F,G,H,I>, QObject.Signal9Default9<A,B,C,D,E,F,G,H,I>, QObject.SignalConfiguration
-
Field Summary
-
Constructor Summary
Constructors Modifier Constructor Description QSignalSpy(QMetaObject.AbstractSignal signal)
QSignalSpy(QObject obj, QMetaMethod signal)
QSignalSpy(QObject obj, String aSignal)
protected
QSignalSpy(QtObject.QPrivateConstructor p)
Constructor for internal use only. -
Method Summary
Modifier and Type Method Description void
add(int index, QList<Object> e)
boolean
add(QList<Object> e)
boolean
addAll(int index, Collection<? extends QList<Object>> c)
boolean
addAll(Collection<? extends QList<Object>> c)
void
append(QList<Object> t)
void
append(Collection<QList<Object>> t)
QList<Object>
at(int i)
int
capacity()
void
clear()
QList<QList<Object>>
clone()
boolean
contains(Object t)
boolean
containsAll(Collection<?> c)
int
count()
int
count(QList<Object> t)
boolean
endsWith(QList<Object> t)
boolean
equals(Object other)
Used to check if this object shares native resources with the other object if the other object is a subtype of QtJambiInterface.void
fill(QList<Object> t)
void
fill(QList<Object> t, int size)
QList<Object>
first()
void
forEach(Consumer<? super QList<Object>> action)
QList<Object>
get(int index)
int
hashCode()
int
indexOf(QList<Object> t, int from)
int
indexOf(Object e)
void
insert(int i, int n, QList<Object> t)
void
insert(int i, QList<Object> t)
boolean
isEmpty()
boolean
isValid()
Iterator<QList<Object>>
iterator()
QList<Object>
last()
int
lastIndexOf(QList<Object> t, int from)
int
lastIndexOf(Object t)
int
length()
ListIterator<QList<Object>>
listIterator()
ListIterator<QList<Object>>
listIterator(int index)
QList<QList<Object>>
mid(int pos)
QList<QList<Object>>
mid(int pos, int length)
void
move(int from, int to)
Stream<QList<Object>>
parallelStream()
void
prepend(QList<Object> t)
void
readFrom(QDataStream stream)
QList<Object>
remove(int index)
void
remove(int i, int n)
boolean
remove(Object e)
int
removeAll(QList<Object> t)
boolean
removeAll(Collection<?> c)
void
removeAt(int i)
void
removeFirst()
boolean
removeIf(Predicate<? super QList<Object>> filter)
void
removeLast()
boolean
removeOne(QList<Object> t)
void
replace(int i, QList<Object> t)
void
replaceAll(UnaryOperator<QList<Object>> operator)
void
reserve(int size)
void
resize(int size)
boolean
retainAll(Collection<?> c)
QList<Object>
set(int index, QList<Object> e)
QByteArray
signal()
int
size()
void
sort(Comparator<? super QList<Object>> c)
Spliterator<QList<Object>>
spliterator()
void
squeeze()
boolean
startsWith(QList<Object> t)
Stream<QList<Object>>
stream()
List<QList<Object>>
subList(int fromIndex, int toIndex)
void
swapItemsAt(int i, int j)
QList<Object>
takeAt(int i)
QList<Object>
takeFirst()
QList<Object>
takeLast()
Object[]
toArray()
<T> T[]
toArray(T[] a)
String
toString()
QList<Object>
value(int i)
QList<Object>
value(int i, QList<Object> defaultValue)
boolean
waitForTimeout()
Overloaded function forwaitForTimeout(int)
withtimeout = 5000
.boolean
waitForTimeout(int timeout)
void
writeTo(QDataStream stream)
Methods inherited from class io.qt.core.QObject
blockSignals, childEvent, children, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connectNotify, customEvent, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnectNotify, disposeLater, dumpObjectInfo, dumpObjectTree, dynamicPropertyNames, emit, emit, emit, emit, emit, emit, emit, emit, emit, emit, event, eventFilter, findChild, findChild, findChild, findChild, findChild, findChildren, findChildren, findChildren, findChildren, findChildren, findChildren, findChildren, findChildren, inherits, inherits, installEventFilter, isSignalConnected, isWidgetType, isWindowType, killTimer, metaObject, moveToThread, objectName, parent, property, qt_metacast, receivers, receivers, removeEventFilter, sender, senderSignalIndex, setObjectName, setParent, setProperty, signalsBlocked, startTimer, startTimer, thread, timerEvent, tr, tr, tr
-
Constructor Details
-
QSignalSpy
-
QSignalSpy
-
QSignalSpy
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
QSignalSpy
-
-
Method Details
-
isValid
-
signal
-
waitForTimeout
Overloaded function for
waitForTimeout(int)
withtimeout = 5000
. -
waitForTimeout
-
forEach
-
addAll
-
addAll
-
remove
-
listIterator
- Specified by:
listIterator
in interfaceList<QList<Object>>
-
listIterator
- Specified by:
listIterator
in interfaceList<QList<Object>>
-
subList
-
toArray
-
toArray
-
containsAll
- Specified by:
containsAll
in interfaceCollection<QList<Object>>
- Specified by:
containsAll
in interfaceList<QList<Object>>
-
clone
-
append
-
removeAll
-
retainAll
-
append
-
iterator
-
toString
-
at
-
clear
-
contains
-
count
-
count
-
endsWith
-
first
-
indexOf
-
insert
-
isEmpty
-
last
-
lastIndexOf
- Specified by:
lastIndexOf
in interfaceList<QList<Object>>
-
lastIndexOf
-
length
-
mid
-
mid
-
move
-
prepend
-
removeAll
-
removeAt
-
removeOne
-
replace
-
reserve
-
size
-
startsWith
-
takeAt
-
takeFirst
-
takeLast
-
value
-
value
-
equals
Description copied from class:QtObject
Used to check if this object shares native resources with the other object if the other object is a subtype of QtJambiInterface. Otherwise it will return the result of calling the super class implementation. -
hashCode
-
add
-
add
-
set
-
remove
-
indexOf
-
get
-
swapItemsAt
-
replaceAll
- Specified by:
replaceAll
in interfaceList<QList<Object>>
-
writeTo
-
readFrom
-
sort
-
removeIf
- Specified by:
removeIf
in interfaceCollection<QList<Object>>
-
spliterator
- Specified by:
spliterator
in interfaceCollection<QList<Object>>
- Specified by:
spliterator
in interfaceIterable<QList<Object>>
- Specified by:
spliterator
in interfaceList<QList<Object>>
-
stream
- Specified by:
stream
in interfaceCollection<QList<Object>>
-
parallelStream
- Specified by:
parallelStream
in interfaceCollection<QList<Object>>
-
removeFirst
-
removeLast
-
fill
-
fill
-
insert
-
remove
-
capacity
-
resize
-
squeeze
-