diff options
author | hjk <hjk@qt.io> | 2022-11-23 18:05:46 +0100 |
---|---|---|
committer | hjk <hjk@qt.io> | 2022-11-28 14:02:05 +0000 |
commit | 196e73fa163ff463570e9ab0e28ac04b4df9c69a (patch) | |
tree | 053107c4dd998caed19ea1059127fe1dcfccca7c /src/plugins/cppeditor/editordocumenthandle.h | |
parent | f68db427ef763b995f9e4fa3f1dbf2c9b90ad943 (diff) |
CppEditor: Convert AbstractEditorSupport interface to FilePath
Change-Id: I47439e154bc28d40e112b7eef46fa1f57a8b3fce
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Diffstat (limited to 'src/plugins/cppeditor/editordocumenthandle.h')
-rw-r--r-- | src/plugins/cppeditor/editordocumenthandle.h | 7 |
1 files changed, 4 insertions, 3 deletions
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 <QString> +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 |