summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorViktor Kopp <vifactor@gmail.com>2021-06-07 12:15:03 +0200
committerDominik Holland <dominik.holland@googlemail.com>2022-01-27 13:50:04 +0100
commit563a5a9dfe32bb0eb072a898e15b3a78e2648c21 (patch)
tree4f350d29b502fd3ae64d52569960045d4f0efd9e
parent46dff6adaeb63e654452cd44025b0ce9a38be7a1 (diff)
downloadqtivi-qface-563a5a9dfe32bb0eb072a898e15b3a78e2648c21.tar.gz
Update README.md (#86)
#85 issue
-rw-r--r--README.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/README.md b/README.md
index 201cc93..d15fd7b 100644
--- a/README.md
+++ b/README.md
@@ -108,8 +108,8 @@ system = FileSystem.parse('echo.qface')
generator = Generator(searchpath='.')
# iterate over the domain model
-for module in system:
- for interface in module:
+for module in system.modules:
+ for interface in module.interfaces:
# prepare a context object
ctx = { 'interface': interface }
# use header.h template with ctx to write to a file