KTextAddons
9#include "textautogeneratetext_export.h"
11namespace TextAutogenerateText
17class TEXTAUTOGENERATETEXT_EXPORT TextAutoGenerateMessage
21 enum class Sender : uint8_t {
28 TextAutoGenerateMessage();
29 ~TextAutoGenerateMessage();
31 [[nodiscard]]
QString content()
const;
32 void setContent(
const QString &newContent);
34 [[nodiscard]] TextAutoGenerateMessage::Sender sender()
const;
35 void setSender(TextAutoGenerateMessage::Sender newSender);
37 [[nodiscard]] qint64 dateTime()
const;
38 void setDateTime(qint64 newDateTime);
40 [[nodiscard]]
bool isValid()
const;
42 [[nodiscard]]
bool inProgress()
const;
43 void setInProgress(
bool newInProgress);
45 [[nodiscard]]
bool operator==(
const TextAutoGenerateMessage &other)
const;
50 [[nodiscard]]
QString htmlGenerated()
const;
53 void setAnswerUuid(
const QByteArray &newAnswerUuid);
55 [[nodiscard]]
QString topic()
const;
56 void setTopic(
const QString &newTopic);
58 [[nodiscard]]
QString dateTimeStr()
const;
60 [[nodiscard]]
bool mouseHover()
const;
61 void setMouseHover(
bool newMouseHover);
63 [[nodiscard]]
bool archived()
const;
64 void setArchived(
bool newArchived);
66 [[nodiscard]]
bool editingMode()
const;
67 void setEditingMode(
bool newEditingMode);
76 TextAutoGenerateMessage::Sender mSender = TextAutoGenerateMessage::Sender::Unknown;
77 qint64 mDateTime = -1;
78 bool mInProgress =
false;
79 bool mMouseHover =
false;
80 bool mArchived =
false;
81 bool mEditingMode =
false;
The TextAutoGenerateMessage class.
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri May 2 2025 12:06:03 by
doxygen 1.13.2 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.