diff options
author | Darrell Anderson <humanreadable@yahoo.com> | 2014-01-08 20:06:00 +0100 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2014-01-08 20:06:00 +0100 |
commit | 636f509299122d02087c6fd62e1e4a46dbd22026 (patch) | |
tree | 70e43efceeb5b00e7f19cdac8da44928bd2fb459 /kalyptus/kalyptusCxxToCSharp.pm | |
parent | 719b61750c08343f530068ed4127623aeac71cf0 (diff) | |
download | tdebindings-636f509299122d02087c6fd62e1e4a46dbd22026.tar.gz tdebindings-636f509299122d02087c6fd62e1e4a46dbd22026.zip |
Rename many classes to avoid conflicts with KDE
Diffstat (limited to 'kalyptus/kalyptusCxxToCSharp.pm')
-rw-r--r-- | kalyptus/kalyptusCxxToCSharp.pm | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kalyptus/kalyptusCxxToCSharp.pm b/kalyptus/kalyptusCxxToCSharp.pm index 400611e2..4336008b 100644 --- a/kalyptus/kalyptusCxxToCSharp.pm +++ b/kalyptus/kalyptusCxxToCSharp.pm @@ -320,15 +320,15 @@ sub writeClassDoc my $typeName = $node->{astNodeName}."*"; if ( kalyptusDataDict::ctypemap($typeName) eq "" ) { - $typeprefix = ($typeName =~ /^Q/ ? "qt_" : "kde_"); + $typeprefix = ($typeName =~ /^Q/ ? "qt_" : "tde_"); kalyptusDataDict::setctypemap($typeName, $typeprefix.$node->{astNodeName}."*"); print "'$typeName' => '$typeprefix$typeName',\n"; } elsif ( kalyptusDataDict::ctypemap($typeName) =~ /^qt_/ ) { $typeprefix = "qt_"; - } elsif ( kalyptusDataDict::ctypemap($typeName) =~ /^kde_/ ) { - $typeprefix = "kde_"; + } elsif ( kalyptusDataDict::ctypemap($typeName) =~ /^tde_/ ) { + $typeprefix = "tde_"; } else { - $typeprefix = "kde_"; + $typeprefix = "tde_"; } my $file = "$outputdir/".join("__", kdocAstUtil::heritage($node)).".cs"; |