Yes. I have already done it. But how should look C++ Qt code.