29   : m_connection(std::move(connection))
 
   36   if (m_connection != connection) {
 
   38     m_connection = std::move(connection);
 
represents a connection to a signal
 
bool isConnected() const noexcept
check if connected to the signal
 
void disconnect()
disconnects from the signal
 
Disconnects a Connection automatically upon destruction.
 
ScopedConnection & operator=(const ScopedConnection &)=delete
 
bool isConnected() const noexcept
Check if the connection is connected to the signal.
 
constexpr ScopedConnection() noexcept=default
 
void disconnect()
Manually disconnect the connection.
 
~ScopedConnection()
Destructor, automatically disconnects the connection.
 
void release() noexcept
Release the connection so that it won't be disconnected when this ScopedConnection is destructed.