MOC generation tool for c++ code