KDDockWidgets API Documentation 2.0
Loading...
Searching...
No Matches
Namespaces | Classes | Concepts | Functions
QCoro Namespace Reference

Namespaces

namespace  detail
 

Classes

class  Task
 An asynchronously executed task. More...
 

Concepts

concept  Awaitable
 A concept describing the Awaitable type.
 

Functions

template<typename T , typename QObjectSubclass , typename Callback >
requires detail::TaskConvertible<T> && (std::is_invocable_v<Callback> || std::is_invocable_v<Callback, detail::convertible_awaitable_return_type_t<T>> || std::is_invocable_v<Callback, QObjectSubclass *> || std::is_invocable_v<Callback, QObjectSubclass *, detail::convertible_awaitable_return_type_t<T>>) && (!detail::isTask_v<T>)
void connect (T &&future, QObjectSubclass *context, Callback func)
 

Function Documentation

◆ connect()

template<typename T , typename QObjectSubclass , typename Callback >
requires detail::TaskConvertible<T> && (std::is_invocable_v<Callback> || std::is_invocable_v<Callback, detail::convertible_awaitable_return_type_t<T>> || std::is_invocable_v<Callback, QObjectSubclass *> || std::is_invocable_v<Callback, QObjectSubclass *, detail::convertible_awaitable_return_type_t<T>>) && (!detail::isTask_v<T>)
void QCoro::connect ( T &&  future,
QObjectSubclass *  context,
Callback  func 
)

Definition at line 721 of file qcorotask.h.

References connect().

Referenced by connect().


© Klarälvdalens Datakonsult AB (KDAB)
"The Qt, C++ and OpenGL Experts"
https://www.kdab.com/
KDDockWidgets
Advanced Dock Widget Framework for Qt
https://www.kdab.com/development-resources/qt-tools/kddockwidgets/
Generated by doxygen 1.9.8