summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErik Prabowo Kamal <erik@darapsa.co.id>2019-08-30 16:44:05 +0800
committerErik Prabowo Kamal <erik@darapsa.co.id>2019-08-30 16:44:05 +0800
commit2235e4736994ae902e6cff167c5550168c0a37bb (patch)
tree36560c9431c7b65e0be00e1d2e196bb393921fea
parent014d9ca7e0cdc1ef4b633a28ba9befddb2951179 (diff)
Made user name editable
-rw-r--r--user.hxx2
1 files changed, 1 insertions, 1 deletions
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)