qTox
Version: nightly | Commit: bc751c8e1cac455f9690654fcfe0f560d2d7dfdd
|
This class represents a Tox Public Key, which is a part of Tox ID. More...
#include <toxpk.h>
Public Member Functions | |
ToxPk () | |
The default constructor. Creates an empty Tox key. More... | |
ToxPk (const ToxPk &other) | |
The copy constructor. More... | |
ToxPk (const QByteArray &rawId) | |
Constructs a ToxPk from bytes. More... | |
ToxPk (const uint8_t *rawId) | |
Constructs a ToxPk from bytes. More... | |
ToxPk (const QString &pk) | |
Constructs a ToxPk from a QString. More... | |
int | getSize () const override |
Get size of public key in bytes. More... | |
![]() | |
virtual | ~ContactId () |
ContactId (const ContactId &)=default | |
ContactId & | operator= (const ContactId &)=default |
ContactId (ContactId &&)=default | |
ContactId & | operator= (ContactId &&)=default |
bool | operator== (const ContactId &other) const |
Compares the equality of the ContactId. More... | |
bool | operator!= (const ContactId &other) const |
Compares the inequality of the ContactId. More... | |
bool | operator< (const ContactId &other) const |
Compares two ContactIds. More... | |
QString | toString () const |
Converts the ContactId to a uppercase hex string. More... | |
QByteArray | getByteArray () const |
Get a copy of the id. More... | |
const uint8_t * | getData () const |
Returns a pointer to the raw id data. More... | |
bool | isEmpty () const |
Checks if the ContactId contains a id. More... | |
Additional Inherited Members | |
![]() | |
ContactId () | |
The default constructor. Creates an empty id. More... | |
ContactId (const QByteArray &rawId) | |
Constructs a ContactId from bytes. More... | |
![]() | |
QByteArray | id |
This class represents a Tox Public Key, which is a part of Tox ID.
ToxPk::ToxPk | ( | ) |
ToxPk::ToxPk | ( | const ToxPk & | other | ) |
|
explicit |
|
explicit |
|
explicit |
|
overridevirtual |