|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.trolltech.qt.internal.QSignalEmitterInternal.AbstractSignalInternal
com.trolltech.qt.QSignalEmitter.AbstractSignal
public abstract class QSignalEmitter.AbstractSignal
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.trolltech.qt.internal.QSignalEmitterInternal.AbstractSignalInternal |
|---|
com.trolltech.qt.internal.QSignalEmitterInternal.AbstractSignalInternal.Connection |
| Constructor Summary | |
|---|---|
QSignalEmitter.AbstractSignal()
|
|
| Method Summary | |
|---|---|
void |
connect(java.lang.Object receiver,
java.lang.String method)
Creates an auto-connection from this signal to the specified object and method. |
void |
connect(java.lang.Object receiver,
java.lang.String method,
Qt.ConnectionType type)
Connects the signal to a method in an object. |
void |
connect(QSignalEmitter.AbstractSignal signalOut)
Creates an auto connection from this signal to another. |
void |
connect(QSignalEmitter.AbstractSignal signalOut,
Qt.ConnectionType type)
Creates a connection from this signal to another. |
boolean |
disconnect()
Removes all connections from this signal. |
boolean |
disconnect(java.lang.Object receiver)
Removes any connection from this signal to the specified receiving object |
boolean |
disconnect(java.lang.Object receiver,
java.lang.String method)
Disconnects the signal from a method in an object if the two were previously connected by a call to connect. |
boolean |
disconnect(QSignalEmitter.AbstractSignal signalOut)
Disconnects a signal from another signal if the two were previously connected by a call to connect. |
| Methods inherited from class com.trolltech.qt.internal.QSignalEmitterInternal.AbstractSignalInternal |
|---|
connectSignalMethod, containingObject, declaringClassName, emit_helper, fullName, name, removeConnection |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public QSignalEmitter.AbstractSignal()
| Method Detail |
|---|
public final void connect(java.lang.Object receiver,
java.lang.String method,
Qt.ConnectionType type)
receiver - The object that owns the methodmethod - The signature of the method excluding return type and argument names, such as "setText(String)".type - One of the connection types defined in the Qt interface.
QNoSuchSlotException - Raised if the method passed in the slot object was not found
java.lang.RuntimeException - Raised if the signal object could not be successfully introspected or if the
signatures of the signal and slot are incompatible.
public final boolean disconnect(java.lang.Object receiver,
java.lang.String method)
receiver - The object to which the signal is connectedmethod - The method in the receiver object to which the signal is connected
QNoSuchSlotException - Raised if the method passed in the slot object was not foundpublic final boolean disconnect(java.lang.Object receiver)
receiver - The object to which the signal has connections
QSignalEmitter.AbstractSignal.disconnect(Object, String)public final boolean disconnect()
QSignalEmitter.AbstractSignal.disconnect(Object, String)
public final void connect(java.lang.Object receiver,
java.lang.String method)
receiver - The object that owns the methodmethod - The signature of the method excluding return type and argument names, such as "setText(String)".QSignalEmitter.AbstractSignal.connect(Object, String, com.trolltech.qt.core.Qt.ConnectionType)public final void connect(QSignalEmitter.AbstractSignal signalOut)
signalOut - The second signal. This will be emitted whenever this signal is emitted.
java.lang.RuntimeException - Raised if either of the signal objects could not be successfully be introspected or if their
signatures are incompatible.
public final void connect(QSignalEmitter.AbstractSignal signalOut,
Qt.ConnectionType type)
signalOut - The second signal. This will be emitted whenever this signal is emitted.type - One of the connection types defined in the Qt interface.
java.lang.RuntimeException - Raised if either of the signal objects could not be successfully be introspected or if their
signatures are incompatible.public final boolean disconnect(QSignalEmitter.AbstractSignal signalOut)
signalOut - The second signal.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||