summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2020-06-11 20:38:17 +0200
committerSlávek Banko <slavek.banko@axis.cz>2020-06-11 20:39:24 +0200
commit7c906bf2275032b9e44f0b75c63dff042d42eb1c (patch)
tree3bfec30f8f4202f6674b1ca99ef9296796ddea5a
parent374fbf7d9a758994b1e993fcfa11f3f5454055cc (diff)
downloadtdelibs-7c906bf2275032b9e44f0b75c63dff042d42eb1c.tar.gz
tdelibs-7c906bf2275032b9e44f0b75c63dff042d42eb1c.zip
dcopidlng fixes:
+ do not skip an empty class if it is declared with K_DCOP Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit 234c903a9b4e6e6aff30721fd3594e54cea0c2d5)
-rw-r--r--dcop/dcopidlng/kalyptusCxxToDcopIDL.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/dcop/dcopidlng/kalyptusCxxToDcopIDL.pm b/dcop/dcopidlng/kalyptusCxxToDcopIDL.pm
index 0d06613e4..719f13e3b 100644
--- a/dcop/dcopidlng/kalyptusCxxToDcopIDL.pm
+++ b/dcop/dcopidlng/kalyptusCxxToDcopIDL.pm
@@ -95,7 +95,7 @@ sub preParseClass
my( $classNode ) = @_;
my $className = join( "::", kdocAstUtil::heritage($classNode) );
- if( $#{$classNode->{Kids}} < 0 ||
+ if( ($#{$classNode->{Kids}} < 0 && !$classNode->{DcopExported}) ||
$classNode->{Access} eq "private" ||
$classNode->{Access} eq "protected" || # e.g. QPixmap::QPixmapData
exists $classNode->{Tmpl} ||