Commit e06e00c2 authored by Tobias Hunger's avatar Tobias Hunger Committed by Tim Jenssen

qmake: Add knowsFile() method to QmakePriFile

Change-Id: Ib3f0799313afdb141270caa135b208a300078bc5
Reviewed-by: Tim Jenssen's avatarTim Jenssen <>
parent 8f0697e3
......@@ -380,6 +380,11 @@ void QmakePriFile::watchFolders(const QSet<QString> &folders)
m_watchedFolders = folders;
bool QmakePriFile::knowsFile(const FileName &filePath) const
return m_recursiveEnumerateFiles.contains(filePath);
bool QmakePriFile::folderChanged(const QString &changedFolder, const QSet<FileName> &newFiles)
qCDebug(qmakeParse()) << "QmakePriFile::folderChanged";
......@@ -122,6 +122,8 @@ public:
QmakePriFile *findPriFile(const Utils::FileName &fileName);
bool knowsFile(const Utils::FileName &filePath) const;
void makeEmpty();
QSet<Utils::FileName> files(const ProjectExplorer::FileType &type) const;
......@@ -210,6 +212,7 @@ private:
static void processValues(Internal::QmakePriFileEvalResult &result);
void watchFolders(const QSet<QString> &folders);
QmakeProject *m_project = nullptr;
QmakeProFile *m_qmakeProFile = nullptr;
QmakePriFile *m_parent = nullptr;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment