summaryrefslogtreecommitdiffstats
path: root/kalyptus/kalyptusCxxToJava.pm
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-25 00:31:43 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-25 00:31:43 -0600
commit24b85b785334e8436c975a4323fcbb75d61f6e72 (patch)
tree95703ced216baabc95ecb169839c6f302bbcc5af /kalyptus/kalyptusCxxToJava.pm
parent5baaa6b5ff2b9d30279cf9e9658b9509fcdf884c (diff)
downloadtdebindings-24b85b785334e8436c975a4323fcbb75d61f6e72.tar.gz
tdebindings-24b85b785334e8436c975a4323fcbb75d61f6e72.zip
Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4
Diffstat (limited to 'kalyptus/kalyptusCxxToJava.pm')
-rw-r--r--kalyptus/kalyptusCxxToJava.pm16
1 files changed, 8 insertions, 8 deletions
diff --git a/kalyptus/kalyptusCxxToJava.pm b/kalyptus/kalyptusCxxToJava.pm
index 78f64f6f..d1aa7c3f 100644
--- a/kalyptus/kalyptusCxxToJava.pm
+++ b/kalyptus/kalyptusCxxToJava.pm
@@ -97,7 +97,7 @@ BEGIN
'signed int' => 'int',
'unsigned' => 'uint',
'unsigned int' => 'uint',
- 'KIO::filesize_t' => 'long',
+ 'TDEIO::filesize_t' => 'long',
'signed long' => 'long',
'unsigned long' => 'ulong',
@@ -722,7 +722,7 @@ sub preParseClass
$className eq 'KXMLGUIClient::StateChange' ||
$className eq 'KIconTheme' ||
$className eq 'KEditListBox::CustomEditor' ||
- $className eq 'KIO::KBookmarkMenuNSImporter' ||
+ $className eq 'TDEIO::KBookmarkMenuNSImporter' ||
$className eq 'KPerDomainSettings' ||
$className eq 'TDEApplicationPropsPlugin' ||
$className eq 'KPrinter' ||
@@ -746,16 +746,16 @@ sub preParseClass
$className eq 'KOCRDialogFactory' ||
$className eq 'KExtendedBookmarkOwner' ||
$className eq 'KSharedPixmap' ||
- $className eq 'KSocket' ||
+ $className eq 'TDESocket' ||
$className eq 'KLibrary' ||
$className eq 'KScanDialogFactory' ||
$className eq 'KDictSpellingHighlighter' ||
$className eq 'KPropertiesDialog' ||
$className eq 'ProgressItem' ||
- $className eq 'KIO::ChmodInfo' ||
- $className eq 'KIO::MetaData' ||
+ $className eq 'TDEIO::ChmodInfo' ||
+ $className eq 'TDEIO::MetaData' ||
$className eq 'KFileMimeTypeInfo::ItemInfo' ||
- $className eq 'KIO::UDSAtom' ||
+ $className eq 'TDEIO::UDSAtom' ||
$className eq 'khtml::DrawContentsEvent' || # the khtml:: classes build, but don't link
$className eq 'khtml::MouseDoubleClickEvent' ||
$className eq 'khtml::MouseMoveEvent' ||
@@ -1980,7 +1980,7 @@ sub generateMethod($$$$$$$)
} elsif ($javaSignature eq "at()" and $javaClassName eq 'KFilterDev') {
$javaReturnType = "long";
} elsif ($javaSignature =~ /copyTo/ and $javaClassName eq "KDesktopFile" ) {
- $altReturnType = "KConfig";
+ $altReturnType = "TDEConfig";
}
if ( defined $altReturnType ) {
@@ -3389,7 +3389,7 @@ sub printJavadocComment($$$$)
if ( defined $docnode->{See} ) {
foreach my $text ( @{$docnode->{See}} ) {
next if ($text =~ /TQString|^\s*and\s*$|^\s*$|^[^\w]*$/);
- $text =~ s/KIO:://g;
+ $text =~ s/TDEIO:://g;
$text =~ s/KParts:://g;
$text =~ s/bool/boolean/g;
$text =~ s/::/#/g;