qTox
Version: nightly | Commit: bc751c8e1cac455f9690654fcfe0f560d2d7dfdd
|
Go to the documentation of this file.
39 void setName(
const QString& name)
override;
51 uint32_t
getId()
const override;
Friend & operator=(const Friend &other)=delete
void onlineOfflineChanged(const ToxPk &friendId, bool isOnline)
void onNegotiationComplete()
bool getEventFlag() const override
void setStatus(Status::Status s)
ExtensionSet supportedExtensions
Status::Status getStatus() const
void statusMessageChanged(const ToxPk &friendId, const QString &message)
ExtensionSet getSupportedExtensions() const
void aliasChanged(const ToxPk &friendId, QString alias)
This class represents a Tox Public Key, which is a part of Tox ID.
void setEventFlag(bool f) override
void setExtendedMessageSupport(bool supported)
void setStatusMessage(const QString &message)
QString getDisplayedName() const override
Friend::getDisplayedName Gets the name that should be displayed for a user.
void extensionSupportChanged(ExtensionSet extensions)
std::bitset< ExtensionType::max > ExtensionSet
Status::Status friendStatus
const ToxPk & getPublicKey() const
QString getStatusMessage() const
void setName(const QString &name) override
Friend::setName sets a new username for the friend.
void statusChanged(const ToxPk &friendId, Status::Status status)
const ContactId & getPersistentId() const override
Friend(uint32_t friendId, const ToxPk &friendPk, const QString &userAlias={}, const QString &userName={})
uint32_t getId() const override
bool isOnline(Status status)
void nameChanged(const ToxPk &friendId, const QString &name)
QString getUserName() const
void setAlias(const QString &name)
Friend::setAlias sets the alias for the friend.