mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-14 00:07:35 -04:00
[sipify] fix remove protected members
This commit is contained in:
parent
51aa44de5f
commit
a260146e94
@ -299,7 +299,7 @@ while(!eof $header){
|
||||
}
|
||||
|
||||
# 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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user