com.trolltech.extensions.signalhandler
Class QSignalHandler2

java.lang.Object
  extended by com.trolltech.extensions.signalhandler.QSignalHandler2

public abstract class QSignalHandler2
extends java.lang.Object

Signal handlers are a convenience class that provides compile time type checking of signal / slot connections.


Constructor Summary
QSignalHandler2(QSignalEmitter.Signal2 signal)
          Creates a new signal handler that sets up a connection from the input signal to this object.
 
Method Summary
abstract  void handle(java.lang.Object arg1, java.lang.Object arg2)
          Reimplement this function to handle responses to the signal this handler is connected to..
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QSignalHandler2

public QSignalHandler2(QSignalEmitter.Signal2 signal)
Creates a new signal handler that sets up a connection from the input signal to this object.

Parameters:
signal - The signal to connect to.
Method Detail

handle

public abstract void handle(java.lang.Object arg1,
                            java.lang.Object arg2)
Reimplement this function to handle responses to the signal this handler is connected to..

Parameters:
arg1 - The first signal argument.
arg2 - The second signal argument.