aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/haskell/filecache.h
diff options
context:
space:
mode:
authorEike Ziller <eike.ziller@qt.io>2019-05-29 10:06:01 +0200
committerEike Ziller <eike.ziller@qt.io>2019-05-29 09:19:17 +0000
commit4291fcd8b3cc4e5bcfe04f7e54ea02f6231737cc (patch)
tree2f8a0a3ecfc5d77120e5e7ded8dc3a23545c8cfd /plugins/haskell/filecache.h
parentdd695dcd2cfbc441cb98e01b616af7e1e92aa979 (diff)
Adapt to upstream changes
In FileName, and project management Change-Id: I8c549c56e2de6dd1fc3f9451e3964bad31327651 Reviewed-by: hjk <hjk@qt.io>
Diffstat (limited to 'plugins/haskell/filecache.h')
-rw-r--r--plugins/haskell/filecache.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/haskell/filecache.h b/plugins/haskell/filecache.h
index 46c48ab..3c53d40 100644
--- a/plugins/haskell/filecache.h
+++ b/plugins/haskell/filecache.h
@@ -44,16 +44,16 @@ public:
const std::function<QList<Core::IDocument *>()> &documentsToUpdate);
void update();
- QHash<Utils::FileName, Utils::FileName> fileMap() const;
+ QHash<Utils::FilePath, Utils::FilePath> fileMap() const;
private:
void writeFile(Core::IDocument *document);
void cleanUp(const QList<Core::IDocument *> &documents);
- Utils::FileName createCacheFile(const Utils::FileName &filePath);
+ Utils::FilePath createCacheFile(const Utils::FilePath &filePath);
Utils::TemporaryDirectory m_tempDir;
- QHash<Utils::FileName, Utils::FileName> m_fileMap;
- QHash<Utils::FileName, int> m_fileRevision;
+ QHash<Utils::FilePath, Utils::FilePath> m_fileMap;
+ QHash<Utils::FilePath, int> m_fileRevision;
std::function<QList<Core::IDocument *>()> m_documentsToUpdate;
};