Fix C++/Qt parsing issues

I've been getting errors when processing Q_PRIVATE_SLOT macros, which is a big problem in Qt5 because QObject has it.

This patch seems to fix the problems I've been having.

REVIEW: 120905