From 2235e4736994ae902e6cff167c5550168c0a37bb Mon Sep 17 00:00:00 2001 From: Erik Prabowo Kamal Date: Fri, 30 Aug 2019 16:44:05 +0800 Subject: Made user name editable --- user.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/user.hxx b/user.hxx index 68abbc7..18dd176 100644 --- a/user.hxx +++ b/user.hxx @@ -6,7 +6,7 @@ class User : public QObject { Q_OBJECT - Q_PROPERTY(QString name READ name) + Q_PROPERTY(QString name READ name WRITE setName NOTIFY nameChanged) Q_PROPERTY(QString password READ password WRITE setPassword NOTIFY passwordChanged) Q_PROPERTY(QString emailAddress READ emailAddress WRITE setEmailAddress NOTIFY emailAddressChanged) Q_PROPERTY(QString organization READ organization WRITE setOrganization NOTIFY organizationChanged) -- cgit v1.2.3