Simplify implementation

This also enable each platform to provide its own optimal implementation of it.
This commit is contained in:
Chocobo1
2022-07-22 18:36:52 +08:00
parent 5b269a782a
commit 727d20cc92
3 changed files with 16 additions and 12 deletions

View File

@@ -29,6 +29,8 @@
#pragma once
#include <filesystem>
#include <QtGlobal>
#include <QMetaType>
#include <QString>
@@ -69,6 +71,7 @@ public:
QString data() const;
QString toString() const override;
std::filesystem::path toStdFsPath() const;
Path &operator/=(const Path &other);
Path &operator+=(QStringView str);