mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2024-12-26 15:59:50 -05:00
Add toHex function to Uuid.
This commit is contained in:
parent
d218924b4f
commit
4ec9df76cd
@ -44,6 +44,11 @@ QString Uuid::toBase64() const
|
||||
return m_data.toBase64();
|
||||
}
|
||||
|
||||
QString Uuid::toHex() const
|
||||
{
|
||||
return m_data.toHex();
|
||||
}
|
||||
|
||||
QByteArray Uuid::toByteArray() const
|
||||
{
|
||||
return m_data;
|
||||
|
@ -28,7 +28,9 @@ public:
|
||||
explicit Uuid(const QByteArray& data);
|
||||
static Uuid random();
|
||||
QString toBase64() const;
|
||||
QString toHex() const;
|
||||
QByteArray toByteArray() const;
|
||||
|
||||
bool isNull() const;
|
||||
Uuid& operator=(const Uuid& other);
|
||||
bool operator==(const Uuid& other) const;
|
||||
|
Loading…
Reference in New Issue
Block a user