1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00
qTox/src/core/toxid.h

27 lines
433 B
C
Raw Normal View History

2015-05-18 02:17:14 +08:00
#ifndef TOXID_H
#define TOXID_H
#include <QString>
class ToxId
{
public:
ToxId();
ToxId(const ToxId& other);
ToxId(const QString& id);
bool operator==(const ToxId& other) const;
bool operator!=(const ToxId& other) const;
QString toString() const;
void clear();
static bool isToxId(const QString& id);
public:
QString publicKey;
QString noSpam;
QString checkSum;
};
#endif // TOXID_H