Fixes:    make sure pointers are valid Task:     http://code.google.com/p/qtscriptgenerator/issues/detail?id=18
Fixes:    make sure pointers are valid
Task:     http://code.google.com/p/qtscriptgenerator/issues/detail?id=18

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