C++: fixed potential crash for out of bounds access of token_names.
C++: fixed potential crash for out of bounds access of token_names.

Cause: Q_PRIVATE_PROPERTY didn't have an entry in token_names, so if
Token::spell or Token::name was called on a T_Q_GADGET, an out-of-bounds
access would occur.

Change-Id: I1ec7b91a5d3def5508e21ad4f1863a52cb4ed540
Reviewed-on: http://codereview.qt.nokia.com/4207
Reviewed-by: Christian Kamm <687e37a7866f5c6d83feb41198eb6d862161a68b@nokia.com>

duythanhphan/qt-creator,kuba1/qtcreator,syntheticpp/qt-creator,xianian/qt-creator,Distrotech/qtcreator,KDAB/KDAB-Creator,richardmg/qtcreator,maui-packages/qt-creator,darksylinc/qt-creator,KDE/android-qt-creator,kuba1/qtcreator,duythanhphan/qt-creator,darksylinc/qt-creator,kuba1/qtcreator,AltarBeastiful/qt-creator,jonnor/qt-creator,danimo/qt-creator,martyone/sailfish-qtcreator,Distrotech/qtcreator,jonnor/qt-creator,azat/qtcreator,jonnor/qt-creator,darksylinc/qt-creator,colede/qtcreator,xianian/qt-creator,syntheticpp/qt-creator,danimo/qt-creator,farseerri/git_code,omniacreator/qtcreator,richardmg/qtcreator,azat/qtcreator,danimo/qt-creator,azat/qtcreator,omniacreator/qtcreator,martyone/sailfish-qtcreator,omniacreator/qtcreator,colede/qtcreator,colede/qtcreator,AltarBeastiful/qt-creator,KDAB/KDAB-Creator,KDAB/KDAB-Creator,amyvmiwei/qt-creator,syntheticpp/qt-creator,hdweiss/qt-creator-visualizer,duythanhphan/qt-creator,xianian/qt-creator,AltarBeastiful/qt-creator,omniacreator/qtcreator,bakaiadam/collaborative_qt_creator,farseerri/git_code,martyone/sailfish-qtcreator,ostash/qt-creator-i18n-uk,xianian/qt-creator,hdweiss/qt-creator-visualizer,xianian/qt-creator,Distrotech/qtcreator,farseerri/git_code,bakaiadam/collaborative_qt_creator,xianian/qt-creator,darksylinc/qt-creator,kuba1/qtcreator,richardmg/qtcreator,omniacreator/qtcreator,darksylinc/qt-creator,malikcjm/qtcreator,farseerri/git_code,danimo/qt-creator,azat/qtcreator,azat/qtcreator,richardmg/qtcreator,duythanhphan/qt-creator,KDAB/KDAB-Creator,bakaiadam/collaborative_qt_creator,KDE/android-qt-creator,malikcjm/qtcreator,malikcjm/qtcreator,omniacreator/qtcreator,KDE/android-qt-creator,amyvmiwei/qt-creator,hdweiss/qt-creator-visualizer,ostash/qt-creator-i18n-uk,martyone/sailfish-qtcreator,danimo/qt-creator,colede/qtcreator,bakaiadam/collaborative_qt_creator,danimo/qt-creator,kuba1/qtcreator,KDE/android-qt-creator,bakaiadam/collaborative_qt_creator,malikcjm/qtcreator,martyone/sailfish-qtcreator,farseerri/git_code,kuba1/qtcreator,xianian/qt-creator,AltarBeastiful/qt-creator,AltarBeastiful/qt-creator,malikcjm/qtcreator,richardmg/qtcreator,farseerri/git_code,maui-packages/qt-creator,duythanhphan/qt-creator,duythanhphan/qt-creator,maui-packages/qt-creator,danimo/qt-creator,Distrotech/qtcreator,duythanhphan/qt-creator,kuba1/qtcreator,KDE/android-qt-creator,amyvmiwei/qt-creator,jonnor/qt-creator,AltarBeastiful/qt-creator,martyone/sailfish-qtcreator,farseerri/git_code,ostash/qt-creator-i18n-uk,darksylinc/qt-creator,maui-packages/qt-creator,darksylinc/qt-creator,ostash/qt-creator-i18n-uk,maui-packages/qt-creator,hdweiss/qt-creator-visualizer,kuba1/qtcreator,AltarBeastiful/qt-creator,colede/qtcreator,malikcjm/qtcreator,ostash/qt-creator-i18n-uk,amyvmiwei/qt-creator,maui-packages/qt-creator,Distrotech/qtcreator,bakaiadam/collaborative_qt_creator,danimo/qt-creator,Distrotech/qtcreator,colede/qtcreator,ostash/qt-creator-i18n-uk,ostash/qt-creator-i18n-uk,malikcjm/qtcreator,amyvmiwei/qt-creator,KDE/android-qt-creator,syntheticpp/qt-creator,AltarBeastiful/qt-creator,martyone/sailfish-qtcreator,KDAB/KDAB-Creator,syntheticpp/qt-creator,jonnor/qt-creator,Distrotech/qtcreator,xianian/qt-creator,martyone/sailfish-qtcreator,amyvmiwei/qt-creator,colede/qtcreator,richardmg/qtcreator,bakaiadam/collaborative_qt_creator,richardmg/qtcreator,darksylinc/qt-creator,hdweiss/qt-creator-visualizer,amyvmiwei/qt-creator,KDAB/KDAB-Creator,martyone/sailfish-qtcreator,amyvmiwei/qt-creator,hdweiss/qt-creator-visualizer,KDE/android-qt-creator,xianian/qt-creator,maui-packages/qt-creator,azat/qtcreator,danimo/qt-creator,farseerri/git_code,KDE/android-qt-creator,jonnor/qt-creator,omniacreator/qtcreator,kuba1/qtcreator,syntheticpp/qt-creator,syntheticpp/qt-creator