Utils: add FilePath::(complete)suffix

The same as FilePath::(complete)baseName avoid some toFileInfo.

Change-Id: Id1901ce2a4bef675215a9e020280df1c846df405
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
David Schulz
2021-06-04 09:13:49 +02:00
parent eafc52cf1e
commit aa8d2dc2d1
7 changed files with 37 additions and 8 deletions

View File

@@ -106,6 +106,8 @@ public:
QString baseName() const;
QString completeBaseName() const;
QString suffix() const;
QString completeSuffix() const;
QString scheme() const { return m_scheme; }
void setScheme(const QString &scheme);