TextAutoGenerateText::TextAutoGenerateProject Class
class TextAutoGenerateText::TextAutoGenerateProjectThe TextAutoGenerateProject class. More...
| Header: | #include <TextAutoGenerateText/TextAutoGenerateProject> |
Public Functions
| TextAutoGenerateProject() | |
| QString | iconName() const |
| QByteArray | identifier() const |
| QString | name() const |
| void | setIconName(const QString &newIconName) |
| void | setIdentifier(const QByteArray &newIdentifier) |
| void | setName(const QString &newName) |
| bool | operator==(const TextAutoGenerateText::TextAutoGenerateProject &other) const |
Static Public Members
| TextAutoGenerateText::TextAutoGenerateProject | deserialize(const QJsonObject &source) |
| QByteArray | serialize(const TextAutoGenerateText::TextAutoGenerateProject &project, bool toBinary = true) |
Detailed Description
A project groups chats in a folder of the history, as a chat belongs to at most one project. Author: Laurent Montel <montel@kde.org>
Member Function Documentation
TextAutoGenerateProject::TextAutoGenerateProject()
TextAutoGenerateProject
[static] TextAutoGenerateText::TextAutoGenerateProject TextAutoGenerateProject::deserialize(const QJsonObject &source)
Deserializes a TextAutoGenerateProject object from JSON. source The JSON object to deserialize from Returns The deserialized TextAutoGenerateProject object
QString TextAutoGenerateProject::iconName() const
iconName Returns
See also setIconName().
QByteArray TextAutoGenerateProject::identifier() const
identifier Returns
See also setIdentifier().
QString TextAutoGenerateProject::name() const
name Returns
See also setName().
[static] QByteArray TextAutoGenerateProject::serialize(const TextAutoGenerateText::TextAutoGenerateProject &project, bool toBinary = true)
Serializes the given TextAutoGenerateProject object. project The TextAutoGenerateProject object to serialize toBinary true to serialize to binary format, false for JSON format Returns The serialized data as a QByteArray
void TextAutoGenerateProject::setIconName(const QString &newIconName)
setIconName newIconName
See also iconName().
void TextAutoGenerateProject::setIdentifier(const QByteArray &newIdentifier)
setIdentifier newIdentifier
See also identifier().
void TextAutoGenerateProject::setName(const QString &newName)
setName newName
See also name().
bool TextAutoGenerateProject::operator==(const TextAutoGenerateText::TextAutoGenerateProject &other) const
Compares this TextAutoGenerateProject with another object for equality. other The TextAutoGenerateProject object to compare with Returns true if both objects are equal, false otherwise