Ref T210, boolToEnabledDisabled

This commit is contained in:
Klaus Basan
2017-12-19 03:17:43 +01:00
parent 379357d5d5
commit 265869dc1f
2 changed files with 9 additions and 0 deletions

View File

@@ -129,6 +129,9 @@ namespace BlackMisc
//! Bool to true/false
BLACKMISC_EXPORT QString boolToTrueFalse(bool v, bool i18n = false);
//! Bool to enabled/disabled
BLACKMISC_EXPORT QString boolToEnabledDisabled(bool v, bool i18n = false);
//! Convert string to bool
BLACKMISC_EXPORT bool stringToBool(const QString &boolString);