forked from qt-creator/qt-creator
CorePlugin: Use FilePath istead of QString
Task-number: QTCREATORBUG-2616 Change-Id: Iaa5bc7946a7bddfd8adffe51906d90b2e76f5837 Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -57,6 +57,7 @@ public:
|
||||
Q_DECLARE_FLAGS(Attributes, Attribute)
|
||||
|
||||
GeneratedFile();
|
||||
explicit GeneratedFile(const Utils::FilePath &path);
|
||||
explicit GeneratedFile(const QString &path);
|
||||
GeneratedFile(const GeneratedFile &);
|
||||
GeneratedFile &operator=(const GeneratedFile &);
|
||||
@@ -65,6 +66,7 @@ public:
|
||||
// Full path of the file should be created, or the suggested file name
|
||||
QString path() const;
|
||||
void setPath(const QString &p);
|
||||
void setFilePath(const Utils::FilePath &p);
|
||||
Utils::FilePath filePath() const;
|
||||
|
||||
// Contents of the file (UTF8)
|
||||
|
||||
Reference in New Issue
Block a user