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>
pull/87/head
Slávek Banko 5 years ago
parent 4ef91183aa
commit 234c903a9b
No known key found for this signature in database
GPG Key ID: 608F5293A04BE668

@ -95,7 +95,7 @@ sub preParseClass
my( $classNode ) = @_; my( $classNode ) = @_;
my $className = join( "::", kdocAstUtil::heritage($classNode) ); my $className = join( "::", kdocAstUtil::heritage($classNode) );
if( $#{$classNode->{Kids}} < 0 || if( ($#{$classNode->{Kids}} < 0 && !$classNode->{DcopExported}) ||
$classNode->{Access} eq "private" || $classNode->{Access} eq "private" ||
$classNode->{Access} eq "protected" || # e.g. QPixmap::QPixmapData $classNode->{Access} eq "protected" || # e.g. QPixmap::QPixmapData
exists $classNode->{Tmpl} || exists $classNode->{Tmpl} ||

Loading…
Cancel
Save