summaryrefslogtreecommitdiffstats
path: root/kalyptus
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2012-02-22 10:48:49 -0600
committerTimothy Pearson <[email protected]>2012-02-22 10:48:49 -0600
commitd4cd5921a7b9fefabc4b1d0c914af233384d7890 (patch)
tree894a7ceca2c8b6b80827c588595150359d8a3c38 /kalyptus
parent3346d9486755c0386fb8f837759ac0c6da4cfbd5 (diff)
downloadlibtqt-perl-d4cd5921a7b9fefabc4b1d0c914af233384d7890.tar.gz
libtqt-perl-d4cd5921a7b9fefabc4b1d0c914af233384d7890.zip
Convert to build under tqt3
Diffstat (limited to 'kalyptus')
-rw-r--r--kalyptus/kalyptusCxxToJNI.pm12
-rw-r--r--kalyptus/kalyptusCxxToSmoke.pm18
2 files changed, 15 insertions, 15 deletions
diff --git a/kalyptus/kalyptusCxxToJNI.pm b/kalyptus/kalyptusCxxToJNI.pm
index 2da2cc7..25c0afa 100644
--- a/kalyptus/kalyptusCxxToJNI.pm
+++ b/kalyptus/kalyptusCxxToJNI.pm
@@ -561,9 +561,9 @@ EOF
EOF
$qtjniExtras = <<EOF;
-#include <qapplication.h>
-#include <qstring.h>
-#include <qcstring.h>
+#include <ntqapplication.h>
+#include <ntqstring.h>
+#include <ntqcstring.h>
JNIEXPORT jobject JNICALL
Java_org_kde_qt_Qt_color0(JNIEnv* env, jclass cls)
@@ -3098,14 +3098,14 @@ sub writeClassDoc
}
print JNISOURCE "\n";
- print JNISOURCE "#include <qtjava/QtSupport.h>\n";
+ print JNISOURCE "#include <ntqtjava/QtSupport.h>\n";
if ($jniCode =~ /JavaSlot/) {
- print JNISOURCE "#include <qtjava/JavaSlot.h>\n";
+ print JNISOURCE "#include <ntqtjava/JavaSlot.h>\n";
}
if ( $typeprefix eq "qt_" ) {
- print JNISOURCE "#include <qtjava/$javaClassName" . ".h>\n";
+ print JNISOURCE "#include <ntqtjava/$javaClassName" . ".h>\n";
} else {
print JNISOURCE "#include <kdejava/KDESupport.h>\n";
print JNISOURCE "#include <kdejava/$javaClassName" . ".h>\n";
diff --git a/kalyptus/kalyptusCxxToSmoke.pm b/kalyptus/kalyptusCxxToSmoke.pm
index e992ec0..6067499 100644
--- a/kalyptus/kalyptusCxxToSmoke.pm
+++ b/kalyptus/kalyptusCxxToSmoke.pm
@@ -919,13 +919,13 @@ my $fhn =1; # static
map { for my $incl (keys %{$_->[2]}){ $includes{$incl}++ } } @code;
# Hack - some Qt/KDE headers need other headers included, but omit suitable #includes
- if (defined $includes{"qregexp.h"} || defined $includes{"qcstring.h"}) {
- print $fh "#include <qregexp.h>\n";
- delete $includes{"qregexp.h"};
+ if (defined $includes{"ntqregexp.h"} || defined $includes{"ntqcstring.h"}) {
+ print $fh "#include <ntqregexp.h>\n";
+ delete $includes{"ntqregexp.h"};
}
- if (defined $includes{"qmime.h"}) {
- print $fh "#include <qurl.h>\n";
- delete $includes{"qurl.h"};
+ if (defined $includes{"ntqmime.h"}) {
+ print $fh "#include <ntqurl.h>\n";
+ delete $includes{"ntqurl.h"};
}
if (defined $includes{"kshortcut.h"}) {
print $fh "#include <kshortcut.h>\n";
@@ -946,9 +946,9 @@ my $fhn =1; # static
print $fh "#include <$incl>\n";
}
if ( $main::qt4
- and ( defined $includes{"qtreewidget.h"}
- or defined $includes{"qlistwidget.h"}
- or defined $includes{"qtablewidget.h"} ) )
+ and ( defined $includes{"ntqtreewidget.h"}
+ or defined $includes{"ntqlistwidget.h"}
+ or defined $includes{"ntqtablewidget.h"} ) )
{
print $fh "#include \"qwidgetitemdata_p.h\"\n";
}