6 #ifndef SWIFT_MISC_CONNECTIONGUARD_H
7 #define SWIFT_MISC_CONNECTIONGUARD_H
10 #include <QMetaObject>
46 bool append(
const QMetaObject::Connection &connection);
49 bool append(
const QList<QMetaObject::Connection> &connections);
55 bool isEmpty()
const {
return m_connections.isEmpty(); }
58 QList<QMetaObject::Connection> m_connections;
List of QMetaObject::Connection.
CConnectionGuard(CConnectionGuard &&)=default
Move constructor.
CConnectionGuard()=default
Constructor.
CConnectionGuard(const CConnectionGuard &)=delete
Not copyable.
CConnectionGuard & operator=(const CConnectionGuard &)=delete
Not copyable.
CConnectionGuard & operator=(CConnectionGuard &&)=default
Move assignment operator.
bool isEmpty() const
Empty.
Free functions in swift::misc.
#define SWIFT_MISC_EXPORT
Export a class or function from the library.