summaryrefslogtreecommitdiffstats
path: root/dcop/dcopidlng/kalyptusCxxToDcopIDL.pm
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>2021-02-03 22:13:04 +0100
commit345f44fb937ff4df61830db1fe5dbd96db69e3f5 (patch)
tree4f86688e64b7f19cd68a3da0870ef340a55620b9 /dcop/dcopidlng/kalyptusCxxToDcopIDL.pm
parentb2ff598b34aa6e2e73bdd236e820b713647d0b7b (diff)
downloadtdelibs-345f44fb937ff4df61830db1fe5dbd96db69e3f5.tar.gz
tdelibs-345f44fb937ff4df61830db1fe5dbd96db69e3f5.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)
Diffstat (limited to 'dcop/dcopidlng/kalyptusCxxToDcopIDL.pm')
-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} ||