| 180 | } |
| 181 | |
| 182 | QByteArray likely(const QByteArray &indentation) const |
| 183 | { |
| 184 | QByteArray result; |
| 185 | result.append("{\n"); |
| 186 | foreach (Transform *t, transforms) { |
| 187 | const QByteArray dst = t->likely(indentation + " "); |
| 188 | if (dst == "src") |
| 189 | continue; // Not implemented |
| 190 | result.append(indentation + " src := "); |
| 191 | result.append(dst); |
| 192 | result.append("\n"); |
| 193 | } |
| 194 | |
| 195 | result.append(indentation + " src\n}"); |
| 196 | return result; |
| 197 | } |
| 198 | |
| 199 | protected: |
| 200 | // Template list project -- process templates in parallel through Transform::project |