summaryrefslogtreecommitdiffstats
path: root/kalyptus
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2013-02-01 23:17:20 -0600
committerTimothy Pearson <[email protected]>2013-02-01 23:17:20 -0600
commitf9d30ac5350b42430604fd82d4672173272d4278 (patch)
tree199dcf784bb6644e2795a461bba7a8eac9c1daa5 /kalyptus
parente2b9f0fee44580932c70dc63f352058175b49943 (diff)
downloadlibtqt-perl-f9d30ac5350b42430604fd82d4672173272d4278.tar.gz
libtqt-perl-f9d30ac5350b42430604fd82d4672173272d4278.zip
Rename many classes and header files to avoid conflicts with KDE4
Diffstat (limited to 'kalyptus')
-rw-r--r--kalyptus/ChangeLog2
-rw-r--r--kalyptus/kalyptusCxxToJNI.pm10
-rw-r--r--kalyptus/kalyptusCxxToJava.pm6
-rw-r--r--kalyptus/kalyptusCxxToKimono.pm6
-rw-r--r--kalyptus/kalyptusCxxToSmoke.pm18
5 files changed, 21 insertions, 21 deletions
diff --git a/kalyptus/ChangeLog b/kalyptus/ChangeLog
index 51595d3..f1729b0 100644
--- a/kalyptus/ChangeLog
+++ b/kalyptus/ChangeLog
@@ -141,7 +141,7 @@
2004-05-20 Richard Dale <[email protected]>
* The java '-fjni' option now generates correct java code with Qt/E 2.3.4
- * TDEMainWindow.toolBar() and TDEMainWindow.menuBar() rename ktoolBar() and
+ * TDEMainWindow.toolBar() and TDEMainWindow.menuBar() rename tdetoolBar() and
kmenuBar(). This is because java doesn't have covariant return types
and the methods with the same names in TQMainWindow return a TQToolBar
and TQMenuBar, rather than their KDE equivalent subclasses.
diff --git a/kalyptus/kalyptusCxxToJNI.pm b/kalyptus/kalyptusCxxToJNI.pm
index c57735f..e7530b0 100644
--- a/kalyptus/kalyptusCxxToJNI.pm
+++ b/kalyptus/kalyptusCxxToJNI.pm
@@ -43,7 +43,7 @@ use vars qw/
$qpixmapExtras $qpixmapjniExtras $qpaintdeviceExtras $qpaintdevicejniExtras
$qdragobjectExtras $qdragobjectjniExtras $qiodeviceExtras $qpointarrayExtras $qpointarrayjniExtras
$qtextcodecExtras $qtextcodecjniExtras $quridragExtras $quridragjniExtras
- $kapplicationExtras $kapplicationjniExtras $kmainwindowExtras $kmainwindowjniExtras
+ $kapplicationExtras $kapplicationjniExtras $tdemainwindowExtras $tdemainwindowjniExtras
$kcmdlineargsjniExtras $schedulerjniExtras
$methodNumber
%builtins %typeunion %allMethods %allTypes %enumValueToType %typedeflist %mungedTypeMap %javaImports
@@ -1649,7 +1649,7 @@ Java_org_kde_koala_TDEApplication_setJavaSlotFactory(JNIEnv* env, jclass cls)
EOF
- $kmainwindowExtras = <<EOF;
+ $tdemainwindowExtras = <<EOF;
/**
List of members of TDEMainWindow class.
*/
@@ -1674,7 +1674,7 @@ EOF
EOF
- $kmainwindowjniExtras = <<EOF;
+ $tdemainwindowjniExtras = <<EOF;
JNIEXPORT jobject JNICALL
Java_org_kde_koala_TDEMainWindow_memberList(JNIEnv* env, jobject obj)
{
@@ -3085,8 +3085,8 @@ sub writeClassDoc
print CLASS $kapplicationExtras;
$jniCode .= $kapplicationjniExtras;
} elsif ( $className eq 'TDEMainWindow' ) {
- print CLASS $kmainwindowExtras;
- $jniCode .= $kmainwindowjniExtras;
+ print CLASS $tdemainwindowExtras;
+ $jniCode .= $tdemainwindowjniExtras;
}
print CLASS "}\n";
diff --git a/kalyptus/kalyptusCxxToJava.pm b/kalyptus/kalyptusCxxToJava.pm
index 7538621..c7cc076 100644
--- a/kalyptus/kalyptusCxxToJava.pm
+++ b/kalyptus/kalyptusCxxToJava.pm
@@ -42,7 +42,7 @@ use vars qw/
$qpixmapExtras $qpaintdeviceExtras
$qdragobjectExtras $qiodeviceExtras $qpointarrayExtras
$qtextcodecExtras $quridragExtras
- $kapplicationExtras $kmainwindowExtras
+ $kapplicationExtras $tdemainwindowExtras
$methodNumber
%builtins %typeunion %allMethods %allTypes %enumValueToType %typedeflist %mungedTypeMap %javaImports
%skippedClasses %operatorNames /;
@@ -466,7 +466,7 @@ EOF
EOF
- $kmainwindowExtras = <<EOF;
+ $tdemainwindowExtras = <<EOF;
/**
List of members of TDEMainWindow class.
*/
@@ -1321,7 +1321,7 @@ sub writeClassDoc
} elsif ( $className eq 'TDEApplication' ) {
print CLASS $kapplicationExtras;
} elsif ( $className eq 'TDEMainWindow' ) {
- print CLASS $kmainwindowExtras;
+ print CLASS $tdemainwindowExtras;
}
print CLASS "}\n";
diff --git a/kalyptus/kalyptusCxxToKimono.pm b/kalyptus/kalyptusCxxToKimono.pm
index caae60c..6e8f69d 100644
--- a/kalyptus/kalyptusCxxToKimono.pm
+++ b/kalyptus/kalyptusCxxToKimono.pm
@@ -41,7 +41,7 @@ use vars qw/
$qpixmapExtras $qpaintdeviceExtras
$qdragobjectExtras $qiodeviceExtras $qpointarrayExtras
$qtextcodecExtras $qsizepolicyExtras $quridragExtras
- $kapplicationExtras $kmainwindowExtras
+ $kapplicationExtras $tdemainwindowExtras
$methodNumber
%builtins %typeunion %allMethods %allTypes %enumValueToType %typedeflist %mungedTypeMap %csharpImports
%skippedClasses %operatorNames /;
@@ -484,7 +484,7 @@ EOF
EOF
- $kmainwindowExtras = <<EOF;
+ $tdemainwindowExtras = <<EOF;
EOF
@@ -1348,7 +1348,7 @@ sub writeClassDoc
} elsif ( $className eq 'TDEApplication' ) {
print CLASS $kapplicationExtras;
} elsif ( $className eq 'TDEMainWindow' ) {
- print CLASS $kmainwindowExtras;
+ print CLASS $tdemainwindowExtras;
}
diff --git a/kalyptus/kalyptusCxxToSmoke.pm b/kalyptus/kalyptusCxxToSmoke.pm
index 1812996..49c8930 100644
--- a/kalyptus/kalyptusCxxToSmoke.pm
+++ b/kalyptus/kalyptusCxxToSmoke.pm
@@ -927,19 +927,19 @@ my $fhn =1; # static
print $fh "#include <ntqurl.h>\n";
delete $includes{"ntqurl.h"};
}
- if (defined $includes{"kshortcut.h"}) {
- print $fh "#include <kshortcut.h>\n";
- delete $includes{"kshortcut.h"};
+ if (defined $includes{"tdeshortcut.h"}) {
+ print $fh "#include <tdeshortcut.h>\n";
+ delete $includes{"tdeshortcut.h"};
}
- if (defined $includes{"kshortcutlist.h"}) {
+ if (defined $includes{"tdeshortcutlist.h"}) {
print $fh "#include <tdeconfigbase.h>\n";
- print $fh "#include <kshortcutlist.h>\n";
+ print $fh "#include <tdeshortcutlist.h>\n";
delete $includes{"tdeconfigbase.h"};
- delete $includes{"kshortcutlist.h"};
+ delete $includes{"tdeshortcutlist.h"};
}
- if (defined $includes{"kaction.h"}) {
- print $fh "#include <kaction.h>\n";
- delete $includes{"kaction.h"};
+ if (defined $includes{"tdeaction.h"}) {
+ print $fh "#include <tdeaction.h>\n";
+ delete $includes{"tdeaction.h"};
}
foreach my $incl (keys %includes) {
die if $incl eq '';