79 mapped = mapped.replace("const ", "") |
79 mapped = mapped.replace("const ", "") |
80 |
80 |
81 # 2. replace QString and QStringList |
81 # 2. replace QString and QStringList |
82 mapped = ( |
82 mapped = ( |
83 mapped |
83 mapped |
84 .replace("QStringList", "list")\ |
84 .replace("QStringList", "list") |
85 .replace("QString", "str") |
85 .replace("QString", "str") |
86 ) |
86 ) |
87 |
87 |
88 # 3. replace double by float |
88 # 3. replace double by float |
89 mapped = mapped.replace("double", "float") |
89 mapped = mapped.replace("double", "float") |