7#ifndef __KIS_SIGNAL_AUTO_CONNECTOR_H
8#define __KIS_SIGNAL_AUTO_CONNECTOR_H
40 template<
class Sender,
class Signal,
class Receiver,
class Method>
42 Receiver receiver, Method method,
43 Qt::ConnectionType type = Qt::AutoConnection)
79 template<
class Sender,
class Signal,
class Receiver,
class Method>
81 Receiver receiver, Method method,
82 Qt::ConnectionType type = Qt::AutoConnection)
86 receiver, method, type)));
94 template<
class Sender,
class Signal,
class Receiver,
class Method>
96 Receiver receiver, Method method)
100 receiver, method, Qt::UniqueConnection)));
connect(this, SIGNAL(optionsChanged()), this, SLOT(saveOptions()))
QMetaObject::Connection m_connection
~KisSignalAutoConnection()
KisSignalAutoConnection(Sender sender, Signal signal, Receiver receiver, Method method, Qt::ConnectionType type=Qt::AutoConnection)
KisSignalAutoConnection(const KisSignalAutoConnection &rhs)
void addUniqueConnection(Sender sender, Signal signal, Receiver receiver, Method method)
QVector< KisSignalAutoConnectionSP > m_connections
void addConnection(Sender sender, Signal signal, Receiver receiver, Method method, Qt::ConnectionType type=Qt::AutoConnection)
QSharedPointer< KisSignalAutoConnection > KisSignalAutoConnectionSP