libQuotient
A Qt library for building matrix clients
|
#include <QtCore/QObject>
#include <QtCore/QPointer>
Go to the source code of this file.
Classes | |
class | Quotient::ConnectionsGuard< T > |
A guard pointer that disconnects an interested object upon destruction. More... | |
Namespaces | |
namespace | Quotient |
Functions | |
template<typename SmartSlotT > | |
auto | Quotient::connectUntil (auto *sender, auto signal, QObject *context, SmartSlotT &&smartSlot, Qt::ConnectionType connType=Qt::AutoConnection) |
Create a connection that self-disconnects when its slot returns true. | |
template<typename ContextT , typename SlotT > | |
auto | Quotient::connectSingleShot (auto *sender, auto signal, ContextT *context, SlotT slot, Qt::ConnectionType connType=Qt::AutoConnection) |
Create a connection that self-disconnects after triggering on the signal. | |