16 if (!connection) {
return false; }
17 m_connections.
append(connection);
26 if (!connection) {
continue; }
27 if (this->
append(connection)) { c++; }
36 if (m_connections.
isEmpty()) {
return 0; }
42 m_connections.
clear();
CConnectionGuard()=default
Constructor.
~CConnectionGuard()
Destructor.
bool append(const QMetaObject::Connection &connection)
Add connection.
int disconnectAll()
Disconnect all.
Free functions in swift::misc.
void append(QList< T > &&value)
bool isEmpty() const const
bool disconnect(const QMetaObject::Connection &connection)