aboutsummaryrefslogtreecommitdiffstats
path: root/src/libs/3rdparty/cplusplus/Symbol.h
diff options
context:
space:
mode:
authorhjk <hjk@qt.io>2022-11-24 15:21:15 +0100
committerhjk <hjk@qt.io>2022-12-14 09:14:12 +0000
commit4159c4b5d55c65d0759925e0dc8c63c60653b367 (patch)
treefbd8154d8317b25bcbb55bc715e2033cc412d30f /src/libs/3rdparty/cplusplus/Symbol.h
parent9bac0d7f4c574a88455771b88f078c0c10dd9b32 (diff)
CppEditor: More migration to FilePath
Change-Id: I261b713671e00bb567f61b4ee5ecf6fa83473bff Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'src/libs/3rdparty/cplusplus/Symbol.h')
-rw-r--r--src/libs/3rdparty/cplusplus/Symbol.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/libs/3rdparty/cplusplus/Symbol.h b/src/libs/3rdparty/cplusplus/Symbol.h
index 33fe77d80d..497226dcc1 100644
--- a/src/libs/3rdparty/cplusplus/Symbol.h
+++ b/src/libs/3rdparty/cplusplus/Symbol.h
@@ -22,7 +22,10 @@
#include "CPlusPlusForwardDeclarations.h"
-namespace Utils { class Link; }
+namespace Utils {
+class FilePath;
+class Link;
+} // Utils
namespace CPlusPlus {
@@ -78,6 +81,8 @@ public:
/// Returns this Symbol's file name length.
int fileNameLength() const;
+ Utils::FilePath filePath() const;
+
/// Returns this Symbol's name.
const Name *name() const { return _name; }