diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-25 00:31:43 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-25 00:31:43 -0600 |
commit | 24b85b785334e8436c975a4323fcbb75d61f6e72 (patch) | |
tree | 95703ced216baabc95ecb169839c6f302bbcc5af /kalyptus | |
parent | 5baaa6b5ff2b9d30279cf9e9658b9509fcdf884c (diff) | |
download | tdebindings-24b85b785334e8436c975a4323fcbb75d61f6e72.tar.gz tdebindings-24b85b785334e8436c975a4323fcbb75d61f6e72.zip |
Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4
Diffstat (limited to 'kalyptus')
-rw-r--r-- | kalyptus/ChangeLog | 6 | ||||
-rw-r--r-- | kalyptus/kalyptusCxxToJNI.pm | 18 | ||||
-rw-r--r-- | kalyptus/kalyptusCxxToJava.pm | 16 | ||||
-rw-r--r-- | kalyptus/kalyptusCxxToKimono.pm | 16 | ||||
-rw-r--r-- | kalyptus/kalyptusCxxToSmoke.pm | 8 | ||||
-rw-r--r-- | kalyptus/kalyptusDataDict.pm | 36 |
6 files changed, 50 insertions, 50 deletions
diff --git a/kalyptus/ChangeLog b/kalyptus/ChangeLog index 793c333a..15fe6676 100644 --- a/kalyptus/ChangeLog +++ b/kalyptus/ChangeLog @@ -44,7 +44,7 @@ 2004-08-19 Richard Dale <Richard_Dale@tipitina.demon.co.uk> - * A namespace such as KIO:: can be spread over several header files, the source + * A namespace such as TDEIO:: can be spread over several header files, the source names are now kept in a property list so that all the includes can be generated. 2004-07-26 Richard Dale <Richard_Dale@tipitina.demon.co.uk> @@ -57,7 +57,7 @@ * When the Smoke code for accessing an enum was generated, it was assuming that the enum was in the same source file as the class. This doesn't work - for namespaces like KIO:: where enums can be spread over several source + for namespaces like TDEIO:: where enums can be spread over several source files. * The solution is to add a source file property to each enum, and when the accessor code for the enum is generated a suitable include can be added. @@ -246,7 +246,7 @@ * Fixed a problem with parsing one line namespace declarations * Added support for the QT_WORKSPACE_WINDOWMODE macro, to solve build problem - * Added some more primitive type definitions such as KIO::filesize_t + * Added some more primitive type definitions such as TDEIO::filesize_t 2003-12-23 Richard Dale <Richard_Dale@tipitina.demon.co.uk> diff --git a/kalyptus/kalyptusCxxToJNI.pm b/kalyptus/kalyptusCxxToJNI.pm index 125457b8..3b318f94 100644 --- a/kalyptus/kalyptusCxxToJNI.pm +++ b/kalyptus/kalyptusCxxToJNI.pm @@ -99,7 +99,7 @@ BEGIN 'signed int' => 'int', 'unsigned' => 'uint', 'unsigned int' => 'uint', - 'KIO::filesize_t' => 'long', + 'TDEIO::filesize_t' => 'long', 'signed long' => 'long', 'unsigned long' => 'ulong', @@ -2415,7 +2415,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' || @@ -2439,16 +2439,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' || @@ -3079,7 +3079,7 @@ sub writeClassDoc $jniCode .= $quridragjniExtras; } elsif ( $className eq 'TDECmdLineArgs' ) { $jniCode .= $kcmdlineargsjniExtras; - } elsif ( $className eq 'KIO::Scheduler' ) { + } elsif ( $className eq 'TDEIO::Scheduler' ) { $jniCode .= $schedulerjniExtras; } elsif ( $className eq 'TDEApplication' ) { print CLASS $kapplicationExtras; @@ -3918,7 +3918,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 ) { @@ -5550,7 +5550,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; 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; diff --git a/kalyptus/kalyptusCxxToKimono.pm b/kalyptus/kalyptusCxxToKimono.pm index 74589f40..07a1ace7 100644 --- a/kalyptus/kalyptusCxxToKimono.pm +++ b/kalyptus/kalyptusCxxToKimono.pm @@ -100,7 +100,7 @@ BEGIN 'signed int' => 'int', 'unsigned' => 'uint', 'unsigned int' => 'uint', - 'KIO::filesize_t' => 'long', + 'TDEIO::filesize_t' => 'long', 'signed long' => 'long', 'unsigned long' => 'ulong', @@ -742,7 +742,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' || @@ -766,16 +766,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' || @@ -2075,7 +2075,7 @@ sub generateMethod($$$$$$$) } elsif ($csharpSignature eq "at()" and $csharpClassName eq 'KFilterDev') { $csharpReturnType = "long"; } elsif ($csharpSignature =~ /copyTo/ and $csharpClassName eq "KDesktopFile" ) { - $altReturnType = "KConfig"; + $altReturnType = "TDEConfig"; } @@ -3581,7 +3581,7 @@ sub printCSharpdocComment($$$$) 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; while ($text =~ /((::)|(->))(.)/) { my $temp = uc($4); diff --git a/kalyptus/kalyptusCxxToSmoke.pm b/kalyptus/kalyptusCxxToSmoke.pm index bfc90c64..5c68d642 100644 --- a/kalyptus/kalyptusCxxToSmoke.pm +++ b/kalyptus/kalyptusCxxToSmoke.pm @@ -376,9 +376,9 @@ sub preParseClass $className eq 'KXMLGUIClient::StateChange' || $className eq 'KIconTheme' || $className eq 'KEditListBox::CustomEditor' || - $className eq 'KIO::KBookmarkMenuNSImporter' || + $className eq 'TDEIO::KBookmarkMenuNSImporter' || $className eq 'KExtendedSocket' || - $className eq 'KSocket' || + $className eq 'TDESocket' || $className eq 'KPerDomainSettings' || $className eq 'TDEApplicationPropsPlugin' || $className eq 'KOpenWithHandler' || @@ -405,7 +405,7 @@ sub preParseClass $className eq 'KDictSpellingHighlighter' || $className eq 'KPropertiesDialog' || $className eq 'ProgressItem' || - $className eq 'KIO::ChmodInfo' || + $className eq 'TDEIO::ChmodInfo' || $className eq 'khtml::DrawContentsEvent' || # the khtml:: classes build, but don't link $className eq 'khtml::MouseDoubleClickEvent' || $className eq 'khtml::MouseMoveEvent' || @@ -544,7 +544,7 @@ sub preParseClass # or where the code won't compile/link for obscure reasons. Or even obvious reasons.. if ( ($classNode->{astNodeName} eq 'KCharSelectTable' and $name eq 'paintCell') || ($classNode->{astNodeName} eq 'KAnimWidget' and $name eq 'KAnimWidget' and @{$m->{ParamList}} == 2) - || ($classNode->{astNodeName} eq 'KCModuleLoader' and $name eq 'errorModule') + || ($classNode->{astNodeName} eq 'TDECModuleLoader' and $name eq 'errorModule') || ($classNode->{astNodeName} eq 'KDCOPActionProxy' and $name eq 'actions') || ($classNode->{astNodeName} eq 'KEditToolbarWidget' and $name eq 'insertActive') || ($classNode->{astNodeName} eq 'KEditToolbarWidget' and $name eq 'removeActive') diff --git a/kalyptus/kalyptusDataDict.pm b/kalyptus/kalyptusDataDict.pm index 2398d657..67f8b620 100644 --- a/kalyptus/kalyptusDataDict.pm +++ b/kalyptus/kalyptusDataDict.pm @@ -751,7 +751,7 @@ BEGIN 'KBufferedIO*' => 'kde_KBufferedIO*', 'KBugReport*' => 'kde_KBugReport*', 'KButtonBox*' => 'kde_KButtonBox*', -'KCModule*' => 'kde_KCModule*' , +'TDECModule*' => 'kde_TDECModule*' , 'KCatalogue&' => 'kde_KCatalogue*', 'KCatalogue*' => 'kde_KCatalogue*', 'KCharSelect*' => 'kde_KCharSelect*', @@ -774,13 +774,13 @@ BEGIN 'KCompletion*' => 'kde_KCompletion*' , 'KCompletionBase*' => 'kde_KCompletionBase*', 'KCompletionBox*' => 'kde_KCompletionBox*', -'KConfig*' => 'kde_KConfig*' , -'KConfigBackEnd*' => 'kde_KConfigBackEnd*', -'KConfigBase&' => 'kde_KConfigBase*', -'KConfigBase*' => 'kde_KConfigBase*' , -'KConfigGroup*' => 'kde_KConfigGroup*', -'KConfigGroupSaver*' => 'kde_KConfigGroupSaver*', -'KConfigINIBackEnd*' => 'kde_KConfigINIBackEnd*', +'TDEConfig*' => 'kde_TDEConfig*' , +'TDEConfigBackEnd*' => 'kde_TDEConfigBackEnd*', +'TDEConfigBase&' => 'kde_TDEConfigBase*', +'TDEConfigBase*' => 'kde_TDEConfigBase*' , +'TDEConfigGroup*' => 'kde_TDEConfigGroup*', +'TDEConfigGroupSaver*' => 'kde_TDEConfigGroupSaver*', +'TDEConfigINIBackEnd*' => 'kde_TDEConfigINIBackEnd*', 'KContainerLayout*' => 'kde_KContainerLayout*', 'KContainerLayoutItem*' => 'kde_KContainerLayoutItem*' , 'KContextMenuManager*' => 'kde_KContextMenuManager*', @@ -929,15 +929,15 @@ BEGIN 'KHelpMenu*' => 'kde_KHelpMenu*', 'KHistoryCombo*' => 'kde_KHistoryCombo*', 'KIO*' => 'kde_KIO*', -'KIO::CopyJob*' => 'kde_CopyJob*' , -'KIO::DeleteJob*' => 'kde_DeleteJob*' , -'KIO::Job*' => 'kde_Job*' , -'KIO::ListJob*' => 'kde_ListJob*' , -'KIO::RenameDlg_Mode' => 'int', -'KIO::RenameDlg_Result' => 'int', -'KIO::SimpleJob*' => 'kde_SimpleJob*', -'KIO::SkipDlg_Result' => 'int', -'KIO::Slave*' => 'kde_Slave*', +'TDEIO::CopyJob*' => 'kde_CopyJob*' , +'TDEIO::DeleteJob*' => 'kde_DeleteJob*' , +'TDEIO::Job*' => 'kde_Job*' , +'TDEIO::ListJob*' => 'kde_ListJob*' , +'TDEIO::RenameDlg_Mode' => 'int', +'TDEIO::RenameDlg_Result' => 'int', +'TDEIO::SimpleJob*' => 'kde_SimpleJob*', +'TDEIO::SkipDlg_Result' => 'int', +'TDEIO::Slave*' => 'kde_Slave*', 'KIOInputStream&' => 'kde_KIOInputStream*', 'KIOInputStream*' => 'kde_KIOInputStream*', 'KIOTestSlow&' => 'kde_KIOTestSlow*', @@ -2857,7 +2857,7 @@ sub addNamespace if ( $className =~ /^(AuthInfo|AutoLogin|CacheInfo|ChmodJob|Connection|CopyInfo|CopyJob|DefaultProgress|DeleteJob|FileCopyJob|Job|ListJob|MetaData|MimetypeJob|MultiGetJob|NetAccess|NetRC|PasswordDialog|PreviewJob|ProgressBase|RenameDlg|Scheduler|SessionData|SimpleJob|SkipDlg|Slave|SlaveBase|SlaveConfig|SlaveInterface|StatJob|StatusbarProgress|TCPSlaveBase|Task|TransferJob|UDSAtom)/ ) { - return "KIO::".$className; + return "TDEIO::".$className; } if ( $className =~ /^(DrawContentsEvent|MouseDoubleClickEvent|MouseEvent|MouseMoveEvent|MousePressEvent|MouseReleaseEvent)/ ) |