forked from qt-creator/qt-creator
Added support for Q_SIGNAL and Q_SLOT.
This commit is contained in:
@@ -1388,6 +1388,10 @@ bool Preprocessor::isQtReservedWord(const QByteArray ¯oId) const
|
||||
return true;
|
||||
else if (size == 7 && macroId.at(0) == 'Q' && macroId == "Q_SLOTS")
|
||||
return true;
|
||||
else if (size == 8 && macroId.at(0) == 'Q' && macroId == "Q_SIGNAL")
|
||||
return true;
|
||||
else if (size == 6 && macroId.at(0) == 'Q' && macroId == "Q_SLOT")
|
||||
return true;
|
||||
else if (size == 6 && macroId.at(0) == 'S' && macroId == "SIGNAL")
|
||||
return true;
|
||||
else if (size == 4 && macroId.at(0) == 'S' && macroId == "SLOT")
|
||||
|
||||
Reference in New Issue
Block a user