I need to take informations from QML (from textInput in this case), make some operations on it and depending what is the operations result call appropriate function in QML.