swift
Loading...
Searching...
No Matches
slot.h File Reference

Go to the source code of this file.

Classes

class  swift::misc::CSlot< R(Args...)>
 Callable wrapper for a member function with function signature R(Args...). More...

Namespaces

namespace  swift::misc
 Free functions in swift::misc.

Functions

template<typename T, typename U, typename F, typename G>
QMetaObject::Connection swift::misc::connectOnce (T *sender, F signal, U *receiver, G &&slot, Qt::ConnectionType type=Qt::AutoConnection)
 Wrapper around QObject::connect which disconnects after the signal has been emitted once.
template<typename T, typename F, typename G>
QMetaObject::Connection swift::misc::connectOnce (T *sender, F signal, G &&slot)
 Wrapper around QObject::connect which disconnects after the signal has been emitted once.