mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-01-15 01:07:27 -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();
|
return m_data.toBase64();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
QString Uuid::toHex() const
|
||||||
|
{
|
||||||
|
return m_data.toHex();
|
||||||
|
}
|
||||||
|
|
||||||
QByteArray Uuid::toByteArray() const
|
QByteArray Uuid::toByteArray() const
|
||||||
{
|
{
|
||||||
return m_data;
|
return m_data;
|
||||||
|
@ -28,7 +28,9 @@ public:
|
|||||||
explicit Uuid(const QByteArray& data);
|
explicit Uuid(const QByteArray& data);
|
||||||
static Uuid random();
|
static Uuid random();
|
||||||
QString toBase64() const;
|
QString toBase64() const;
|
||||||
|
QString toHex() const;
|
||||||
QByteArray toByteArray() const;
|
QByteArray toByteArray() const;
|
||||||
|
|
||||||
bool isNull() const;
|
bool isNull() const;
|
||||||
Uuid& operator=(const Uuid& other);
|
Uuid& operator=(const Uuid& other);
|
||||||
bool operator==(const Uuid& other) const;
|
bool operator==(const Uuid& other) const;
|
||||||
|
Loading…
Reference in New Issue
Block a user