C++: Fix bind of Q_INVOKABLE functions.

Reviewed-by: Roberto Raggi
This commit is contained in:
Christian Kamm
2010-12-03 15:40:08 +01:00
parent 5f50a6ae34
commit 633c254986
2 changed files with 23 additions and 3 deletions

View File

@@ -1438,6 +1438,8 @@ bool Preprocessor::isQtReservedWord(const QByteArray &macroId) const
return true;
else if (size == 12 && macroId.at(0) == 'Q' && macroId == "Q_INTERFACES")
return true;
else if (size == 11 && macroId.at(0) == 'Q' && macroId == "Q_INVOKABLE")
return true;
else if (size == 6 && macroId.at(0) == 'S' && macroId == "SIGNAL")
return true;
else if (size == 4 && macroId.at(0) == 'S' && macroId == "SLOT")