Qt4's qglobal.h defined TRUE and FALSE. Qt5 does not do it anymore. Replace it with true and false.

158f39ec78

This change is Qt4/Qt5 neutral.
This commit is contained in:
Mateusz Skowroński
2015-12-21 06:15:07 +01:00
committed by wmayer
parent db345cb624
commit 7d0e892d36
96 changed files with 560 additions and 560 deletions

View File

@@ -100,7 +100,7 @@ void ToolBox::removeItem ( int index )
}
/**
* If \a enabled is TRUE then the item at position \a index is enabled; otherwise item \a index is disabled.
* If \a enabled is true then the item at position \a index is enabled; otherwise item \a index is disabled.
*/
void ToolBox::setItemEnabled ( int index, bool enabled )
{
@@ -108,7 +108,7 @@ void ToolBox::setItemEnabled ( int index, bool enabled )
}
/**
* Returns TRUE if the item at position \a index is enabled; otherwise returns FALSE.
* Returns true if the item at position \a index is enabled; otherwise returns false.
*/
bool ToolBox::isItemEnabled ( int index ) const
{