An error occurred while loading the file. Please try again.
-
Szabolcs David authored
Change-Id: If1057d74b4fa2cb98565e6a0a6f569e24b520753 Reviewed-by:
Kai Koehne <kai.koehne@theqtcompany.com> Reviewed-by:
Joerg Bornemann <joerg.bornemann@theqtcompany.com>
fd73b338
#!/usr/bin/env python
import re, sys, os
includedMocs = set()
for f in filter(os.path.isfile, sys.argv[1:]):
inBlockComment = False
for line in open(f).readlines():
m = re.search('#include "(moc_\w+.cpp)"', line)
if m:
includedMocs.add(m.group(1))
for moc in includedMocs:
print moc