Autogen: Merge and remove redundant function calls
This patch merges redundant function calls into existing functions in QtAutogen. It also brings some non-copy optimizations.
This patch merges redundant function calls into existing functions in QtAutogen. It also brings some non-copy optimizations.