TextAutoGenerateText::TextAutoGenerateSearchMessage Class

class TextAutoGenerateText::TextAutoGenerateSearchMessage

The TextAutoGenerateSearchMessage class Author: Laurent Montel <montel@kde.org>. More...

Header: #include <TextAutoGenerateText/TextAutoGenerateSearchMessage>

Public Functions

TextAutoGenerateSearchMessage()
QByteArray chatId() const
qint64 dateTime() const
QByteArray messageId() const
QString previewText() const
void setChatId(const QByteArray &newChatId)
void setDateTime(qint64 newDateTime)
void setMessageId(const QByteArray &newMessageId)
void setPreviewText(const QString &newPreviewText)
bool operator==(const TextAutoGenerateText::TextAutoGenerateSearchMessage &other) const

Detailed Description

Member Function Documentation

TextAutoGenerateSearchMessage::TextAutoGenerateSearchMessage()

Constructs a new TextAutoGenerateSearchMessage object.

QByteArray TextAutoGenerateSearchMessage::chatId() const

Returns the chat identifier. Returns The chat ID

See also setChatId().

qint64 TextAutoGenerateSearchMessage::dateTime() const

Returns the creation date and time of the message. Returns The date/time as milliseconds since epoch

See also setDateTime().

QByteArray TextAutoGenerateSearchMessage::messageId() const

Returns the message identifier. Returns The message ID

See also setMessageId().

QString TextAutoGenerateSearchMessage::previewText() const

Returns the preview text of the message. Returns The preview text

See also setPreviewText().

void TextAutoGenerateSearchMessage::setChatId(const QByteArray &newChatId)

Sets the chat identifier. newChatId The chat ID to set

See also chatId().

void TextAutoGenerateSearchMessage::setDateTime(qint64 newDateTime)

Sets the creation date and time of the message. newDateTime The date/time as milliseconds since epoch

See also dateTime().

void TextAutoGenerateSearchMessage::setMessageId(const QByteArray &newMessageId)

Sets the message identifier. newMessageId The message ID to set

See also messageId().

void TextAutoGenerateSearchMessage::setPreviewText(const QString &newPreviewText)

Sets the preview text of the message. newPreviewText The preview text to set

See also previewText().

bool TextAutoGenerateSearchMessage::operator==(const TextAutoGenerateText::TextAutoGenerateSearchMessage &other) const

Compares this search message with another for equality. other The search message to compare with Returns true if equal, false otherwise