Qt for WebAssembly: chapter2-methods