return result;
}
-QStringList Config::getExampleQdocFiles()
+QStringList Config::getExampleQdocFiles(const QSet<QString> &excludedDirs,
+ const QSet<QString> &excludedFiles)
{
QStringList result;
- QSet<QString> excludedDirs;
- QSet<QString> excludedFiles;
QStringList dirs = getStringList("exampledirs");
QString nameFilter = " *.qdoc";
const QString& dirsVar,
const QSet<QString> &excludedDirs = QSet<QString>(),
const QSet<QString> &excludedFiles = QSet<QString>());
- QStringList getExampleQdocFiles();
+ QStringList getExampleQdocFiles(const QSet<QString> &excludedDirs, const QSet<QString> &excludedFiles);
static QStringList getFilesHere(const QString& dir,
const QString& nameFilter,
const Location &location = Location(),
Find all the qdoc files in the example dirs, and add
them to the source files to be parsed.
*/
- QStringList exampleQdocList = config.getExampleQdocFiles();
+ QStringList exampleQdocList = config.getExampleQdocFiles(excludedDirs, excludedFiles);
for (int i=0; i<exampleQdocList.size(); ++i) {
if (!sources.contains(exampleQdocList[i])) {
sources.insert(exampleQdocList[i],exampleQdocList[i]);