|
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.trolltech.qt.QSignalEmitter.AbstractSignal
public abstract class QSignalEmitter.AbstractSignal
QSignalEmitter is a class used internally by Qt Jambi. You should never have to concern yourself with this class.
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. |
java.lang.String |
declaringClassName()
Returns the name of the class containing the signal |
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. |
java.lang.String |
fullName()
Returns the full name of the signal, on the form "package.class.signalName" |
java.lang.String |
name()
Returns the name of the signal |
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.
public final java.lang.String name()
public final java.lang.String declaringClassName()
public final java.lang.String fullName()
|
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |