Changeset View
Changeset View
Standalone View
Standalone View
src/avatar.h
- This file was added.
1 | #pragma once | ||||
---|---|---|---|---|---|
2 | | ||||
3 | #include <QObject> | ||||
4 | #include <QColor> | ||||
5 | | ||||
6 | class AvatarPrivate : public QObject { | ||||
7 | Q_OBJECT | ||||
8 | | ||||
9 | public: | ||||
10 | Q_INVOKABLE QString initialsFromString(const QString& name); | ||||
11 | Q_INVOKABLE QColor colorsFromString(const QString& name); | ||||
12 | Q_INVOKABLE bool stringHasNonLatinCharacters(const QString& name); | ||||
13 | }; |