From 345f44fb937ff4df61830db1fe5dbd96db69e3f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Thu, 11 Jun 2020 20:38:17 +0200 Subject: dcopidlng fixes: + do not skip an empty class if it is declared with K_DCOP MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko (cherry picked from commit 234c903a9b4e6e6aff30721fd3594e54cea0c2d5) --- dcop/dcopidlng/kalyptusCxxToDcopIDL.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dcop/dcopidlng/kalyptusCxxToDcopIDL.pm') 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} || -- cgit v1.2.1