Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qohospathutils.cpp File Reference

(ac99c4148329694abd8c96057a51edf3c64a449e)

#include <QtCore/private/qohospathutils_p.h>
#include <QtCore/private/qohoscommon_p.h>
#include <QtCore/private/qohoslogger_p.h>
#include <QtCore/qscopeguard.h>
#include <cstdlib>
#include <filemanagement/file_uri/oh_file_uri.h>
Include dependency graph for qohospathutils.cpp:

Go to the source code of this file.

Namespaces

namespace  QT_BEGIN_NAMESPACE
 Combined button and popup list for selecting options.

Functions

template<typename ConvFunc>
std::optional< std::string > QT_BEGIN_NAMESPACE::tryCallOhFileUriConversionFunc (ConvFunc convFunc, const std::string &input)
std::optional< std::stringtryMapPathToOhosFileUri (const std::string &path)
std::optional< std::stringtryMapOhosFileUriToPath (const std::string &ohosFileUri)

Function Documentation

◆ tryMapOhosFileUriToPath()

std::optional< std::string > tryMapOhosFileUriToPath ( const std::string & ohosFileUri)

Definition at line 40 of file qohospathutils.cpp.

◆ tryMapPathToOhosFileUri()

std::optional< std::string > tryMapPathToOhosFileUri ( const std::string & path)

Definition at line 35 of file qohospathutils.cpp.