Add method to check if CIdentifier is anonymous

refs #663
This commit is contained in:
Roland Winklmeier
2016-06-05 22:52:14 +02:00
parent 62491ad4e6
commit eeab2b0568
2 changed files with 8 additions and 0 deletions

View File

@@ -68,6 +68,11 @@ namespace BlackMisc
return QCoreApplication::applicationName() == getProcessName();
}
bool CIdentifier::isAnonymous() const
{
return anonymous() == *this;
}
QString CIdentifier::convertToQString(bool i18n) const
{
Q_UNUSED(i18n);