MCPcopy Create free account
hub / github.com/IgKh/katvan / formatFilePath

Function formatFilePath

shell/katvan_utils.cpp:63–73  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

61
62
63QString formatFilePath(QString path)
64{
65 // If behind an XDG document portal, use the host file path
66 path = getHostPath(std::move(path));
67 path = QDir::toNativeSeparators(path);
68
69 if (qGuiApp->layoutDirection() == Qt::RightToLeft) {
70 return LRI_MARK + path + PDI_MARK;
71 }
72 return path;
73}
74
75QString showPdfExportDialog(QWidget* parent, const QString& sourceFilePath)
76{

Callers 6

rebuildMenuMethod · 0.85
loadFileMethod · 0.85
openNamedFileMethod · 0.85
saveFileMethod · 0.85
dataMethod · 0.85

Calls 1

getHostPathFunction · 0.85

Tested by

no test coverage detected