diff options
author | Sandro S. Andrade <sandroandrade@kde.org> | 2012-10-01 20:58:48 +0000 |
---|---|---|
committer | Sandro S. Andrade <sandroandrade@kde.org> | 2012-10-01 22:59:32 +0200 |
commit | 4d26e40d6918b811695ccf02e6a157c418ee5864 (patch) | |
tree | cfa22a039d6f6f556d4197015357622d843ce23f /scripts/xmi2qt.pl | |
parent | 1096c4a6b4c0e951f4c95d697847592d8ee311c4 (diff) |
Adapt templates to new namespace naming schema
Change-Id: I9a641f2a458fff278d4f0307f0e82e623807af59
Reviewed-by: Sandro S. Andrade <sandroandrade@kde.org>
Diffstat (limited to 'scripts/xmi2qt.pl')
-rwxr-xr-x | scripts/xmi2qt.pl | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/xmi2qt.pl b/scripts/xmi2qt.pl index 41c9c115..c3971b32 100755 --- a/scripts/xmi2qt.pl +++ b/scripts/xmi2qt.pl @@ -43,13 +43,13 @@ foreach my $class (values %$classes) { }) ne 1) { print $tt->error(); } } -open STDOUT, '>', $options{o}."/".$namespace->{path}."/qenumerations.h"; -if ($tt->process('qenumerations.h', { +open STDOUT, '>', $options{o}."/".$namespace->{path}."/qtumlenumerations.h"; +if ($tt->process('enumerations.h', { namespace => $namespace->{path}, enumerations => $enumerations }) ne 1) { print $tt->error(); } -open STDOUT, '>', $options{o}."/".$namespace->{path}."/qenumerations.cpp"; -if ($tt->process('qenumerations.cpp', { +open STDOUT, '>', $options{o}."/".$namespace->{path}."/qtumlenumerations.cpp"; +if ($tt->process('enumerations.cpp', { namespace => $namespace->{path}, enumerations => $enumerations }) ne 1) { print $tt->error(); } |