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:
committed by
wmayer
parent
db345cb624
commit
7d0e892d36
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user