mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-26 10:45:37 +08:00
@@ -68,6 +68,11 @@ namespace BlackMisc
|
|||||||
return QCoreApplication::applicationName() == getProcessName();
|
return QCoreApplication::applicationName() == getProcessName();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool CIdentifier::isAnonymous() const
|
||||||
|
{
|
||||||
|
return anonymous() == *this;
|
||||||
|
}
|
||||||
|
|
||||||
QString CIdentifier::convertToQString(bool i18n) const
|
QString CIdentifier::convertToQString(bool i18n) const
|
||||||
{
|
{
|
||||||
Q_UNUSED(i18n);
|
Q_UNUSED(i18n);
|
||||||
|
|||||||
@@ -88,6 +88,9 @@ namespace BlackMisc
|
|||||||
//! Check if originating from the same process name
|
//! Check if originating from the same process name
|
||||||
bool isFromSameProcessName() const;
|
bool isFromSameProcessName() const;
|
||||||
|
|
||||||
|
//! Check if it is anonymous identifier
|
||||||
|
bool isAnonymous() const;
|
||||||
|
|
||||||
//! \copydoc BlackMisc::Mixin::String::toQString
|
//! \copydoc BlackMisc::Mixin::String::toQString
|
||||||
QString convertToQString(bool i18n = false) const;
|
QString convertToQString(bool i18n = false) const;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user