Fcitx
Public Member Functions | List of all members
fcitx::ScopedConnection Class Reference

Connection that will disconnection when it goes out of scope. More...

#include <fcitx-utils/signals.h>

Inheritance diagram for fcitx::ScopedConnection:
Inheritance graph
[legend]
Collaboration diagram for fcitx::ScopedConnection:
Collaboration graph
[legend]

Public Member Functions

 ScopedConnection (ScopedConnection &&other) noexcept
 
 ScopedConnection (Connection &&other) noexcept
 
 ScopedConnection (const ScopedConnection &)=delete
 
ScopedConnectionoperator= (ScopedConnection &&other) noexcept
 
ScopedConnectionoperator= (const ScopedConnection &other)=delete
 
Connection release ()
 
- Public Member Functions inherited from fcitx::Connection
 Connection (TrackableObjectReference< ConnectionBody > body)
 
bool connected ()
 
bool connected () const
 
void disconnect ()
 
bool operator== (const Connection &other) const
 
bool operator!= (const Connection &other) const
 

Additional Inherited Members

- Protected Attributes inherited from fcitx::Connection
TrackableObjectReference< ConnectionBodybody_
 

Detailed Description

Connection that will disconnection when it goes out of scope.

See also
Connection

Definition at line 88 of file signals.h.


The documentation for this class was generated from the following file: