Add support for no-argument functions in the format "returnType function(void)".
Add support for no-argument functions in the format "returnType function(void)".

Merge-request: 1531
Reviewed-by: Kent Hansen <fc174b406bc14e9fd2e9df2fb246f19a411a2932@trolltech.com>

qtproject/qt-labs-qtscriptgenerator,dstftw/qtscriptgenerator,dstftw/qtscriptgenerator,svalaskevicius/qtscriptgenerator,svalaskevicius/qtscriptgenerator,deztructor/qtscriptgenerator,qtproject/qt-labs-qtscriptgenerator,dstftw/qtscriptgenerator,deztructor/qtscriptgenerator,sjinks/qtscriptgenerator,dstftw/qtscriptgenerator,sjinks/qtscriptgenerator,deztructor/qtscriptgenerator,qtproject/qt-labs-qtscriptgenerator,svalaskevicius/qtscriptgenerator,sjinks/qtscriptgenerator,svalaskevicius/qtscriptgenerator,realXtend/qtscriptgenerator,realXtend/qtscriptgenerator,deztructor/qtscriptgenerator,qtproject/qt-labs-qtscriptgenerator,realXtend/qtscriptgenerator,sjinks/qtscriptgenerator,deztructor/qtscriptgenerator