mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-05 01:05:34 +08:00
@@ -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);
|
||||
|
||||
@@ -88,6 +88,9 @@ namespace BlackMisc
|
||||
//! Check if originating from the same process name
|
||||
bool isFromSameProcessName() const;
|
||||
|
||||
//! Check if it is anonymous identifier
|
||||
bool isAnonymous() const;
|
||||
|
||||
//! \copydoc BlackMisc::Mixin::String::toQString
|
||||
QString convertToQString(bool i18n = false) const;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user