From 196e73fa163ff463570e9ab0e28ac04b4df9c69a Mon Sep 17 00:00:00 2001 From: hjk Date: Wed, 23 Nov 2022 18:05:46 +0100 Subject: CppEditor: Convert AbstractEditorSupport interface to FilePath Change-Id: I47439e154bc28d40e112b7eef46fa1f57a8b3fce Reviewed-by: Christian Stenger Reviewed-by: Christian Kandeler Reviewed-by: --- src/plugins/cppeditor/editordocumenthandle.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/plugins/cppeditor/editordocumenthandle.h') diff --git a/src/plugins/cppeditor/editordocumenthandle.h b/src/plugins/cppeditor/editordocumenthandle.h index 2e4384bede..fdb8da28f6 100644 --- a/src/plugins/cppeditor/editordocumenthandle.h +++ b/src/plugins/cppeditor/editordocumenthandle.h @@ -6,9 +6,10 @@ #include "cppeditor_global.h" #include "senddocumenttracker.h" -#include +namespace Utils { class FilePath; } namespace CppEditor { + class BaseEditorDocumentProcessor; class CPPEDITOR_EXPORT CppEditorDocumentHandle @@ -25,7 +26,7 @@ public: void setRefreshReason(const RefreshReason &refreshReason); // For the Working Copy - virtual QString filePath() const = 0; + virtual Utils::FilePath filePath() const = 0; virtual QByteArray contents() const = 0; virtual unsigned revision() const = 0; @@ -41,4 +42,4 @@ private: RefreshReason m_refreshReason = None; }; -} // namespace CppEditor +} // CppEditor -- cgit v1.2.3