Finally we created the class!!!
HURRRRAAAAAYYYYYYYYY!!!! IT FINALLY WORKS!!!!!!!!
The next tusk is to make sebding of a signals from QML to qt