summaryrefslogtreecommitdiffstats
path: root/kalyptus
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-10-20 21:00:46 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-10-20 21:00:46 -0500
commitdd066e0decc815fe919173830c7110e656f27f18 (patch)
tree83b456e5d31614c660336893adbbf66476d7d4de /kalyptus
parent4d7f4e86544b316655c3fe4d547a80c11a58eed5 (diff)
downloadtdebindings-dd066e0decc815fe919173830c7110e656f27f18.tar.gz
tdebindings-dd066e0decc815fe919173830c7110e656f27f18.zip
Update TQt3 property/enum macros
Diffstat (limited to 'kalyptus')
-rw-r--r--kalyptus/README2
-rw-r--r--kalyptus/kalyptus12
2 files changed, 7 insertions, 7 deletions
diff --git a/kalyptus/README b/kalyptus/README
index a966384d..e56448e4 100644
--- a/kalyptus/README
+++ b/kalyptus/README
@@ -47,7 +47,7 @@ JAVA
Here are some of the shell commands that were used in the conversion process:
-Remove any Q_OVERRIDE macros from the Qt headers, and remove EXPORT_DOCKCLASS from the
+Remove any TQ_OVERRIDE macros from the Qt headers, and remove EXPORT_DOCKCLASS from the
KDE headers
# Generate Java and C++ sources. Copy all the target headers to directory 'test/tmp'
diff --git a/kalyptus/kalyptus b/kalyptus/kalyptus
index 3de8b858..056a7d4b 100644
--- a/kalyptus/kalyptus
+++ b/kalyptus/kalyptus
@@ -535,15 +535,15 @@ LOOP:
# );
#
- next if ( $p =~ /^\s*Q_ENUMS/ # ignore Q_ENUMS
+ next if ( $p =~ /^\s*TQ_ENUMS/ # ignore TQ_ENUMS
|| $p =~ /^\s*TQ_OBJECT/ # and TQ_OBJECT
|| $p =~ /^\s*Q_FLAGS/ # and Q_FLAGS
|| $p =~ /^\s*Q_DECLARE_FLAGS/ # and Q_DECLARE_FLAGS
- || ( !$qt4 && $p =~ /^\s*Q_PROPERTY/ ) # and Q_PROPERTY
+ || ( !$qt4 && $p =~ /^\s*TQ_PROPERTY/ ) # and TQ_PROPERTY
|| $p =~ /^\s*TQDOC_PROPERTY/
|| $p =~ /^\s*Q_GADGET/
- || $p =~ /^\s*Q_OVERRIDE/ # and Q_OVERRIDE
- || $p =~ /^\s*Q_SETS/
+ || $p =~ /^\s*TQ_OVERRIDE/ # and TQ_OVERRIDE
+ || $p =~ /^\s*TQ_SETS/
|| $p =~ /^\s*Q_DUMMY_COMPARISON_OPERATOR/
|| $p =~ /^\s*K_SYCOCATYPE/ # and K_SYCOCA stuff
|| $p =~ /^\s*K_SYCOCAFACTORY/ #
@@ -727,7 +727,7 @@ sub readDecl
$declNodeType = "c";
return $l;
}
- elsif ( $l =~ /Q_PROPERTY/ ) { # property
+ elsif ( $l =~ /TQ_PROPERTY/ ) { # property
return $l;
}
@@ -810,7 +810,7 @@ sub identifyDecl
$cNode->AddProp( "DcopExported", 1 );
}
# properties
- elsif ( $decl =~ s/Q_PROPERTY// ) {
+ elsif ( $decl =~ s/TQ_PROPERTY// ) {
print "Property: <$1>\n" if $debug;
$newNode = newProperty( $decl );