Example of C++ to java communication in Qt.