Skip to content
Permalink
Browse files
[sipify] fix remove protected members
  • Loading branch information
3nids committed Apr 19, 2017
1 parent 51aa44d commit a260146e94afbb5b5049bcc8b58cbf0ed942c8aa
Showing with 3 additions and 1 deletion.
  1. +1 −1 scripts/sipify.pl
  2. +2 −0 tests/scripts/sipifyheader.h
@@ -299,7 +299,7 @@ sub processDoxygenLine
}

# skip non-method member declaration in non-public sections
if ( $SIP_RUN != 1 && $ACCESS != PUBLIC && $line =~ m/^\s*(?:mutable\s)?[\w<>]+(::\w+)? \*?\w+( = \w+(\([^()]+\))?)?;/){
if ( $SIP_RUN != 1 && $ACCESS != PUBLIC && $line =~ m/^\s*(?:mutable\s)?\w+[\w<> *&:,]* \*?\w+( = \w+(\([^()]+\))?)?;/){
next;
}

@@ -242,6 +242,8 @@ class CORE_EXPORT QgsSipifyHeader : public QtClass<QVariant>, private Ui::QgsBas
Whatever::Something *alsoSkipMember = nullptr;
mutable Whatever alsoSkipThis;
Some<Other> memberToSkip;
QList<QgsMapLayer *> list2skip;
QMap<QString, Qt::CheckState> map2skip;

private:
void privateMethodAreNotShown();

0 comments on commit a260146

Please sign in to comment.