qTox
Version: nightly | Commit: bc751c8e1cac455f9690654fcfe0f560d2d7dfdd
|
Go to the documentation of this file.
23 #include "util/interface.h"
42 void copyId()
const override;
53 void copyQr(
const QImage& image)
const override;
60 SIGNAL_IMPL(
ProfileInfo, usernameChanged,
const QString& name)
bool deletePassword() override
Delete a user password for profile.
ProfileInfo(Core *core, Profile *profile)
ProfileInfo constructor.
IProfileInfo::SetAvatarResult createAvatarFromFile(QFile &file, QByteArray &avatar)
Create an avatar from an image file.
Handles all qTox internal paths.
void setStatusMessage(const QString &status) override
Set self status message.
SaveResult saveQr(const QImage &image, const QString &path) const override
Save image to file.
bool isEncrypted() const override
Check if current profile is encrypted.
void copyQr(const QImage &image) const override
Copy image to clipboard.
void copyId() const override
Copy self ToxId to clipboard.
void setUsername(const QString &name) override
Set self user name.
IProfileInfo::SetAvatarResult scalePngToAvatar(QByteArray &avatar)
RenameResult renameProfile(const QString &name) override
Rename profile file.
SetAvatarResult setAvatar(const QString &path) override
Set self avatar.
This class represents a Tox ID.
QStringList removeProfile() override
Remove profile.
QString getProfileName() const override
Get name of tox profile file.
IProfileInfo::SetAvatarResult byteArrayToPng(QByteArray inData, QByteArray &outPng)
Create a png from image data.
void removeAvatar() override
Remove self avatar.
SaveResult exportProfile(const QString &path) const override
Save profile in custom place.
bool setPassword(const QString &password) override
Set a user password for profile.
void logout() override
Log out from current profile.
Implement interface, that provides invormation about self profile. Also, provide methods to work with...