Document neochatuser
This commit is contained in:
@@ -7,9 +7,20 @@
|
|||||||
|
|
||||||
#include <user.h>
|
#include <user.h>
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @class NeoChatUser
|
||||||
|
*
|
||||||
|
* A class inherited from Quotient::User to add a user color function.
|
||||||
|
*
|
||||||
|
* @sa Quotient::User
|
||||||
|
*/
|
||||||
class NeoChatUser : public Quotient::User
|
class NeoChatUser : public Quotient::User
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief The color to use for the user.
|
||||||
|
*/
|
||||||
Q_PROPERTY(QColor color READ color WRITE setColor NOTIFY colorChanged)
|
Q_PROPERTY(QColor color READ color WRITE setColor NOTIFY colorChanged)
|
||||||
public:
|
public:
|
||||||
NeoChatUser(QString userId, Quotient::Connection *connection);
|
NeoChatUser(QString userId, Quotient::Connection *connection);
|
||||||
|
|||||||
Reference in New Issue
Block a user