setQcallback