#include <profile_p.h>
Definition at line 136 of file profile_p.h.
◆ Converter()
Private::Converter::Converter |
( |
const QString & |
basePath | ) |
|
|
explicit |
◆ fromPortablePath()
QString Private::Converter::fromPortablePath |
( |
const QString & |
portablePath | ) |
const |
|
overridevirtual |
◆ toPortablePath()
QString Private::Converter::toPortablePath |
( |
const QString & |
path | ) |
const |
|
overridevirtual |
Implements Private::PathConverter.
Definition at line 196 of file profile_p.cpp.
198 if (path.isEmpty() ||
m_baseDir.path().isEmpty())
202 if (QDir::isAbsolutePath(path))
204 const QChar driveLeter = path[0].toUpper();
205 const QChar baseDriveLetter =
m_baseDir.path()[0].toUpper();
206 const bool onSameDrive = (driveLeter.category() == QChar::Letter_Uppercase) && (driveLeter == baseDriveLetter);
◆ m_baseDir
QDir Private::Converter::m_baseDir |
|
private |
The documentation for this class was generated from the following files: