From fbf918c7d0244354936541903656318a4050573e Mon Sep 17 00:00:00 2001 From: James Graham Date: Sun, 30 Apr 2023 18:55:59 +0100 Subject: [PATCH] Document neochatuser --- src/neochatuser.h | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/neochatuser.h b/src/neochatuser.h index ae8dc79b9..7606bfdb6 100644 --- a/src/neochatuser.h +++ b/src/neochatuser.h @@ -7,9 +7,20 @@ #include +/** + * @class NeoChatUser + * + * A class inherited from Quotient::User to add a user color function. + * + * @sa Quotient::User + */ class NeoChatUser : public Quotient::User { Q_OBJECT + + /** + * @brief The color to use for the user. + */ Q_PROPERTY(QColor color READ color WRITE setColor NOTIFY colorChanged) public: NeoChatUser(QString userId, Quotient::Connection *connection);