class Inti::Connection is declared in the header inti/connection.h.
When you connect a slot to a signal, a Connection object is returned. The Connection can be used to disconnect the slot from the signal, or temporarily "block" the connection (prevent the slot from being invoked).
void disconnect ()
Permanently severs the connection; the slot will never be invoked again. Calling disconnect() a second time is safe, but has no effect.
void block ()
Blocks the connection, temporarily preventing the connected slot from being invoked. block() may be called multiple times; if so, unblock() must be called the same number of times before the connection becomes unblocked.
void unblock ()
Unblocks the connection, allowing the connected slot to be invoked. If block() was called more than once, unblock() must be called the same number of times before the connection will be unblocked.
This constructor creates an uninitialized connection.
Connection (const Connection & src)
Copies a Connection. All copies of a Connection manipulate the same connection, that is, it doesn't matter which copy you use to disconnect(), block(), or unblock().
|src||Connection to copy|
Destructs a Connection. Has no user-visible side effects.