genbindings/config: omit QxxPrivate::xx

This commit is contained in:
mappu 2024-11-19 20:00:40 +13:00
parent b50870b9d9
commit 392a92434a

View File

@ -131,7 +131,8 @@ func ImportHeaderForClass(className string) bool {
func AllowClass(className string) bool {
if strings.HasSuffix(className, "Private") || strings.HasSuffix(className, "PrivateShared") {
if strings.HasSuffix(className, "Private") || strings.HasSuffix(className, "PrivateShared") ||
strings.Contains(className, "Private::") || strings.HasSuffix(className, "PrivateShared::") {
return false
}