mirror of https://github.com/OpenMW/openmw.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
434 B
C++
19 lines
434 B
C++
2 years ago
|
#ifndef COMPONENTS_FILES_QTCONVERSION_HPP
|
||
|
#define COMPONENTS_FILES_QTCONVERSION_HPP
|
||
|
|
||
|
#include <QString>
|
||
|
#include <filesystem>
|
||
|
|
||
|
namespace Files
|
||
|
{
|
||
|
QString pathToQString(const std::filesystem::path& path);
|
||
|
|
||
|
QString pathToQString(std::filesystem::path&& path);
|
||
|
|
||
|
std::filesystem::path pathFromQString(QStringView path);
|
||
|
|
||
|
std::filesystem::path pathFromQString(QString&& path);
|
||
|
}
|
||
|
|
||
|
#endif // COMPONENTS_FILES_QTCONVERSION_HPP
|