QT creational operators are operators that create new observable from QObjects. More...
Functions | |
template<std::derived_from< QObject > TSignalQObject, std::derived_from< TSignalQObject > TObject, typename R , typename ... Args> requires rpp::details::is_header_included<rpp::details::from_signal_qt_tag, TObject, R, Args...> | |
auto | rppqt::observable::from_signal (const TObject &object, R(TSignalQObject::*signal)(Args...)) |
Creates rpp::specific_observable that emits a items from provided QT signal. | |
QT creational operators are operators that create new observable from QObjects.
auto rppqt::observable::from_signal | ( | const TObject & | object, |
R(TSignalQObject::*)(Args...) | signal | ||
) |
Creates rpp::specific_observable that emits a items from provided QT signal.
object | is QObject which would emit signals |
signal | is interested signal which would generate emissions for observable. Expected to obtain pointer to member function representing signal |