Connection Class Reference

#include <Pt/Connection.h>

Represents a connection between a Signal/Delegate and a slot.

Public Member Functions

 Connection ()
 Default Constructor.
 Connection (Connectable &sender, Slot *slot)
 Construct with sender and slot.
 Connection (const Connection &connection)
 Copy Constructor.
 ~Connection ()
void close ()
 Closes the connection.
bool isValid () const
 Returns true if not closed.
bool operator! () const
 Returns true if closed.
Connectionoperator= (const Connection &connection)
 Assignment operator.
const Connectablesender () const
 Returns the sender.
const Slotslot () const
 Returns the slot.