diff options
Diffstat (limited to 'qface/idl/domain.py')
-rw-r--r-- | qface/idl/domain.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/qface/idl/domain.py b/qface/idl/domain.py index d4f87ca..75a2950 100644 --- a/qface/idl/domain.py +++ b/qface/idl/domain.py @@ -500,6 +500,10 @@ class Property(Symbol): '''return the fully qualified name (`<module>.<interface>#<property>`)''' return '{0}.{1}#{2}'.format(self.module.name, self.interface.name, self.name) + @property + def writeable(self): + return not self.readonly and not self.const + def toJson(self): o = super().toJson() if self.readonly: |