summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/syncqt11
1 files changed, 8 insertions, 3 deletions
diff --git a/bin/syncqt b/bin/syncqt
index adaac3e5dd..1c9222c074 100755
--- a/bin/syncqt
+++ b/bin/syncqt
@@ -304,11 +304,16 @@ sub classNames {
push @symbols, "QMutable" . $1 . "Iterator";
}
+ our $publicclassregexp;
foreach my $symbol (@symbols) {
$symbol = (join("::", @namespaces) . "::" . $symbol) if (scalar @namespaces);
- push @ret, $symbol
- if ($symbol =~ /^Q[^:]*$/ # no-namespace, starting with Q
- || $symbol =~ /^Phonon::/); # or in the Phonon namespace
+
+ if ($symbol =~ /^Q[^:]*$/ # no-namespace, starting with Q
+ || $symbol =~ /^Phonon::/) { # or in the Phonon namespace
+ push @ret, $symbol;
+ } elsif (defined($publicclassregexp)) {
+ push @ret, $symbol if ($symbol =~ $publicclassregexp);
+ }
}
}
}