Comment updates

This commit is contained in:
James Graham
2026-02-03 18:52:23 +00:00
parent 80047acf87
commit dff6ab66f1
15 changed files with 28 additions and 87 deletions

View File

@@ -67,7 +67,7 @@ public:
ThreadRootRole, /**< The thread root event ID for the event. */
LinkPreviewerRole, /**< The link preview details. */
ChatBarCacheRole, /**< The ChatBarCache to use. */
Editable, /**< Whether the component can be edited. */
EditableRole, /**< Whether the component can be edited. */
CurrentFocusRole, /**< Whteher the delegate should have focus. */
};
Q_ENUM(Roles)
@@ -138,7 +138,7 @@ Q_SIGNALS:
protected:
QPointer<NeoChatRoom> m_room;
QString m_eventId = {};
QString m_eventId;
/**
* @brief NeoChatDateTime for the message.
@@ -165,7 +165,7 @@ protected:
QList<MessageComponent> m_components;
bool hasComponentType(MessageComponentType::Type type) const;
bool hasComponentType(QList<MessageComponentType::Type> types) const;
bool hasComponentType(const QList<MessageComponentType::Type> &types) const;
void forEachComponentOfType(MessageComponentType::Type type, std::function<ComponentIt(ComponentIt)> function);
void forEachComponentOfType(QList<MessageComponentType::Type> types, std::function<ComponentIt(ComponentIt)> function);