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.
openmw/components/files/qtconversion.hpp

19 lines
434 B
C++

#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