From 544dbe8589744318c5a880e6c3d235fda3ee2089 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sun, 20 Jan 2013 00:04:59 -0600 Subject: [PATCH] Rename KApplication to TDEApplication to avoid conflicts with KDE4 --- acinclude.m4 | 26 +++++++++++++------------- aclocal.m4 | 26 +++++++++++++------------- kalyptus/ChangeLog | 2 +- kalyptus/kalyptusCxxToJNI.pm | 8 ++++---- kalyptus/kalyptusCxxToJava.pm | 4 ++-- kalyptus/kalyptusCxxToKimono.pm | 4 ++-- kalyptus/kalyptusCxxToSmoke.pm | 2 +- kalyptus/kalyptusDataDict.pm | 6 +++--- kalyptus/kdocLib.pm | 4 ++-- 9 files changed, 41 insertions(+), 41 deletions(-) diff --git a/acinclude.m4 b/acinclude.m4 index 2149f1b..a4bdc9d 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -1849,20 +1849,20 @@ cat > conftest.$ac_ext < int main() { - printf("kde_htmldir=\\"%s\\"\n", KApplication::kde_htmldir().data()); - printf("kde_appsdir=\\"%s\\"\n", KApplication::kde_appsdir().data()); - printf("kde_icondir=\\"%s\\"\n", KApplication::kde_icondir().data()); - printf("kde_sounddir=\\"%s\\"\n", KApplication::kde_sounddir().data()); - printf("kde_datadir=\\"%s\\"\n", KApplication::kde_datadir().data()); - printf("kde_locale=\\"%s\\"\n", KApplication::kde_localedir().data()); - printf("kde_cgidir=\\"%s\\"\n", KApplication::kde_cgidir().data()); - printf("kde_confdir=\\"%s\\"\n", KApplication::kde_configdir().data()); - printf("kde_mimedir=\\"%s\\"\n", KApplication::kde_mimedir().data()); - printf("kde_toolbardir=\\"%s\\"\n", KApplication::kde_toolbardir().data()); + printf("kde_htmldir=\\"%s\\"\n", TDEApplication::kde_htmldir().data()); + printf("kde_appsdir=\\"%s\\"\n", TDEApplication::kde_appsdir().data()); + printf("kde_icondir=\\"%s\\"\n", TDEApplication::kde_icondir().data()); + printf("kde_sounddir=\\"%s\\"\n", TDEApplication::kde_sounddir().data()); + printf("kde_datadir=\\"%s\\"\n", TDEApplication::kde_datadir().data()); + printf("kde_locale=\\"%s\\"\n", TDEApplication::kde_localedir().data()); + printf("kde_cgidir=\\"%s\\"\n", TDEApplication::kde_cgidir().data()); + printf("kde_confdir=\\"%s\\"\n", TDEApplication::kde_configdir().data()); + printf("kde_mimedir=\\"%s\\"\n", TDEApplication::kde_mimedir().data()); + printf("kde_toolbardir=\\"%s\\"\n", TDEApplication::kde_toolbardir().data()); printf("kde_wallpaperdir=\\"%s\\"\n", - KApplication::kde_wallpaperdir().data()); - printf("kde_bindir=\\"%s\\"\n", KApplication::kde_bindir().data()); - printf("kde_partsdir=\\"%s\\"\n", KApplication::kde_partsdir().data()); + TDEApplication::kde_wallpaperdir().data()); + printf("kde_bindir=\\"%s\\"\n", TDEApplication::kde_bindir().data()); + printf("kde_partsdir=\\"%s\\"\n", TDEApplication::kde_partsdir().data()); printf("kde_servicesdir=\\"/tmp/dummy\\"\n"); printf("kde_servicetypesdir=\\"/tmp/dummy\\"\n"); printf("kde_moduledir=\\"/tmp/dummy\\"\n"); diff --git a/aclocal.m4 b/aclocal.m4 index 1b231dc..656a262 100644 --- a/aclocal.m4 +++ b/aclocal.m4 @@ -1861,20 +1861,20 @@ cat > conftest.$ac_ext < int main() { - printf("kde_htmldir=\\"%s\\"\n", KApplication::kde_htmldir().data()); - printf("kde_appsdir=\\"%s\\"\n", KApplication::kde_appsdir().data()); - printf("kde_icondir=\\"%s\\"\n", KApplication::kde_icondir().data()); - printf("kde_sounddir=\\"%s\\"\n", KApplication::kde_sounddir().data()); - printf("kde_datadir=\\"%s\\"\n", KApplication::kde_datadir().data()); - printf("kde_locale=\\"%s\\"\n", KApplication::kde_localedir().data()); - printf("kde_cgidir=\\"%s\\"\n", KApplication::kde_cgidir().data()); - printf("kde_confdir=\\"%s\\"\n", KApplication::kde_configdir().data()); - printf("kde_mimedir=\\"%s\\"\n", KApplication::kde_mimedir().data()); - printf("kde_toolbardir=\\"%s\\"\n", KApplication::kde_toolbardir().data()); + printf("kde_htmldir=\\"%s\\"\n", TDEApplication::kde_htmldir().data()); + printf("kde_appsdir=\\"%s\\"\n", TDEApplication::kde_appsdir().data()); + printf("kde_icondir=\\"%s\\"\n", TDEApplication::kde_icondir().data()); + printf("kde_sounddir=\\"%s\\"\n", TDEApplication::kde_sounddir().data()); + printf("kde_datadir=\\"%s\\"\n", TDEApplication::kde_datadir().data()); + printf("kde_locale=\\"%s\\"\n", TDEApplication::kde_localedir().data()); + printf("kde_cgidir=\\"%s\\"\n", TDEApplication::kde_cgidir().data()); + printf("kde_confdir=\\"%s\\"\n", TDEApplication::kde_configdir().data()); + printf("kde_mimedir=\\"%s\\"\n", TDEApplication::kde_mimedir().data()); + printf("kde_toolbardir=\\"%s\\"\n", TDEApplication::kde_toolbardir().data()); printf("kde_wallpaperdir=\\"%s\\"\n", - KApplication::kde_wallpaperdir().data()); - printf("kde_bindir=\\"%s\\"\n", KApplication::kde_bindir().data()); - printf("kde_partsdir=\\"%s\\"\n", KApplication::kde_partsdir().data()); + TDEApplication::kde_wallpaperdir().data()); + printf("kde_bindir=\\"%s\\"\n", TDEApplication::kde_bindir().data()); + printf("kde_partsdir=\\"%s\\"\n", TDEApplication::kde_partsdir().data()); printf("kde_servicesdir=\\"/tmp/dummy\\"\n"); printf("kde_servicetypesdir=\\"/tmp/dummy\\"\n"); printf("kde_moduledir=\\"/tmp/dummy\\"\n"); diff --git a/kalyptus/ChangeLog b/kalyptus/ChangeLog index 7175775..793c333 100644 --- a/kalyptus/ChangeLog +++ b/kalyptus/ChangeLog @@ -208,7 +208,7 @@ - In Invoke() the method call will be looked up dynamically from the Smoke runtime - The arguments are marsalled from C# to C++ on the Smoke::Stack, and the method invoked. - * The KDE doc comments are converted to C# xml style tags (eg KApplication.cs) + * The KDE doc comments are converted to C# xml style tags (eg TDEApplication.cs) * Problems - A small fix was need for RealProxies with Mono 0.30. DotGnu doesn't have RealProxies/remoting yet. diff --git a/kalyptus/kalyptusCxxToJNI.pm b/kalyptus/kalyptusCxxToJNI.pm index 0a7b582..32d4db3 100644 --- a/kalyptus/kalyptusCxxToJNI.pm +++ b/kalyptus/kalyptusCxxToJNI.pm @@ -300,7 +300,7 @@ BEGIN 'Java_org_kde_qt_QUriDrag_decode__Lorg_kde_qt_QMimeSourceInterface_2_3Ljava_lang_String_2' => 1, 'Java_org_kde_qt_QUriDrag_decodeToUnicodeUris__Lorg_kde_qt_QMimeSourceInterface_2_3Ljava_lang_String_2' => 1, 'Java_org_kde_qt_QUriDrag_decodeLocalFiles__Lorg_kde_qt_QMimeSourceInterface_2_3Ljava_lang_String_2' => 1, - 'Java_org_kde_koala_KApplication_setJavaSlotFactory' => 1, + 'Java_org_kde_koala_TDEApplication_setJavaSlotFactory' => 1, 'Java_org_kde_koala_KMainWindow_memberList' => 1, 'Java_org_kde_koala_KCmdLineArgs_init__I_3Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2' => 1, 'Java_org_kde_koala_KCmdLineArgs_init__I_3Ljava_lang_String_2Lorg_kde_koala_KAboutData_2' => 1, @@ -1639,7 +1639,7 @@ EOF #include JNIEXPORT void JNICALL -Java_org_kde_koala_KApplication_setJavaSlotFactory(JNIEnv* env, jclass cls) +Java_org_kde_koala_TDEApplication_setJavaSlotFactory(JNIEnv* env, jclass cls) { (void) env; (void) cls; @@ -2417,7 +2417,7 @@ sub preParseClass $className eq 'KEditListBox::CustomEditor' || $className eq 'KIO::KBookmarkMenuNSImporter' || $className eq 'KPerDomainSettings' || - $className eq 'KApplicationPropsPlugin' || + $className eq 'TDEApplicationPropsPlugin' || $className eq 'KPrinter' || $className eq 'KPty' || $className eq 'KOpenWithHandler' || @@ -3081,7 +3081,7 @@ sub writeClassDoc $jniCode .= $kcmdlineargsjniExtras; } elsif ( $className eq 'KIO::Scheduler' ) { $jniCode .= $schedulerjniExtras; - } elsif ( $className eq 'KApplication' ) { + } elsif ( $className eq 'TDEApplication' ) { print CLASS $kapplicationExtras; $jniCode .= $kapplicationjniExtras; } elsif ( $className eq 'KMainWindow' ) { diff --git a/kalyptus/kalyptusCxxToJava.pm b/kalyptus/kalyptusCxxToJava.pm index fd4907d..4f25369 100644 --- a/kalyptus/kalyptusCxxToJava.pm +++ b/kalyptus/kalyptusCxxToJava.pm @@ -724,7 +724,7 @@ sub preParseClass $className eq 'KEditListBox::CustomEditor' || $className eq 'KIO::KBookmarkMenuNSImporter' || $className eq 'KPerDomainSettings' || - $className eq 'KApplicationPropsPlugin' || + $className eq 'TDEApplicationPropsPlugin' || $className eq 'KPrinter' || $className eq 'KPty' || $className eq 'KOpenWithHandler' || @@ -1318,7 +1318,7 @@ sub writeClassDoc print CLASS $qpointarrayExtras; } elsif ( $className eq 'TQUriDrag' ) { print CLASS $quridragExtras; - } elsif ( $className eq 'KApplication' ) { + } elsif ( $className eq 'TDEApplication' ) { print CLASS $kapplicationExtras; } elsif ( $className eq 'KMainWindow' ) { print CLASS $kmainwindowExtras; diff --git a/kalyptus/kalyptusCxxToKimono.pm b/kalyptus/kalyptusCxxToKimono.pm index 1cb5dbf..de04004 100644 --- a/kalyptus/kalyptusCxxToKimono.pm +++ b/kalyptus/kalyptusCxxToKimono.pm @@ -744,7 +744,7 @@ sub preParseClass $className eq 'KEditListBox::CustomEditor' || $className eq 'KIO::KBookmarkMenuNSImporter' || $className eq 'KPerDomainSettings' || - $className eq 'KApplicationPropsPlugin' || + $className eq 'TDEApplicationPropsPlugin' || $className eq 'KPrinter' || $className eq 'KPty' || $className eq 'KOpenWithHandler' || @@ -1345,7 +1345,7 @@ sub writeClassDoc print CLASS $qsizepolicyExtras; } elsif ( $className eq 'TQUriDrag' ) { print CLASS $quridragExtras; - } elsif ( $className eq 'KApplication' ) { + } elsif ( $className eq 'TDEApplication' ) { print CLASS $kapplicationExtras; } elsif ( $className eq 'KMainWindow' ) { print CLASS $kmainwindowExtras; diff --git a/kalyptus/kalyptusCxxToSmoke.pm b/kalyptus/kalyptusCxxToSmoke.pm index 6067499..d40e1c7 100644 --- a/kalyptus/kalyptusCxxToSmoke.pm +++ b/kalyptus/kalyptusCxxToSmoke.pm @@ -380,7 +380,7 @@ sub preParseClass $className eq 'KExtendedSocket' || $className eq 'KSocket' || $className eq 'KPerDomainSettings' || - $className eq 'KApplicationPropsPlugin' || + $className eq 'TDEApplicationPropsPlugin' || $className eq 'KOpenWithHandler' || $className eq 'KFileOpenWithHandler' || $className eq 'KBindingPropsPlugin' || diff --git a/kalyptus/kalyptusDataDict.pm b/kalyptus/kalyptusDataDict.pm index 59b3d06..8b01870 100644 --- a/kalyptus/kalyptusDataDict.pm +++ b/kalyptus/kalyptusDataDict.pm @@ -731,9 +731,9 @@ BEGIN 'KAlphaPainter*' => 'kde_KAlphaPainter*', 'KAnimWidget*' => 'kde_KAnimWidget*' , 'KAppTreeListItem*' => 'kde_KAppTreeListItem*' , -'KApplication*' => 'kde_KApplication*' , -'KApplicationPropsPlugin*' => 'kde_KApplicationPropsPlugin*', -'KApplicationTree*' => 'kde_KApplicationTree*', +'TDEApplication*' => 'kde_TDEApplication*' , +'TDEApplicationPropsPlugin*' => 'kde_TDEApplicationPropsPlugin*', +'TDEApplicationTree*' => 'kde_TDEApplicationTree*', 'KArchive*' => 'kde_KArchive*', 'KArchiveDirectory*' => 'kde_KArchiveDirectory*', 'KArchiveEntry*' => 'kde_KArchiveEntry*', diff --git a/kalyptus/kdocLib.pm b/kalyptus/kdocLib.pm index 700564a..b8fd0b8 100644 --- a/kalyptus/kdocLib.pm +++ b/kalyptus/kdocLib.pm @@ -31,9 +31,9 @@ NOTES ON THE NEW FORMAT - + - +