Implementation of the PEP 3156 event-loop (tulip) api using the Qt Event-Loop