#include <paths.h>
Definition at line 28 of file paths.h.
◆ Portable
Enumerator |
---|
Auto | |
Portable | Auto detect if portable or non-portable
|
NonPortable | Force portable mode Force non-portable mode
|
Definition at line 31 of file paths.h.
◆ Paths()
◆ getAppCacheDirPath()
QString Paths::getAppCacheDirPath |
( |
| ) |
const |
Get path to directory, where the application cache are stored.
- Returns
- Path to application cache, ends with a directory separator.
- Note
- To be removed when path migration is complete.
Definition at line 346 of file paths.cpp.
◆ getAppDataDirPath()
QString Paths::getAppDataDirPath |
( |
| ) |
const |
Get path to directory, where the application data are stored.
- Returns
- Path to application data, ends with a directory separator.
- Note
- To be removed when path migration is complete.
Definition at line 314 of file paths.cpp.
◆ getSettingsDirPath()
QString Paths::getSettingsDirPath |
( |
| ) |
const |
Get path to directory, where the settings files are stored.
- Returns
- Path to settings directory, ends with a directory separator.
- Note
- To be removed when path migration is complete.
Definition at line 286 of file paths.cpp.
◆ getUserNodesFilePath()
QString Paths::getUserNodesFilePath |
( |
| ) |
const |
◆ isPortable()
bool Paths::isPortable |
( |
| ) |
const |
Check if qTox is running in portable mode.
- Returns
- True if running in portable mode, false else.
Definition at line 149 of file paths.cpp.
◆ setPortable()
bool Paths::setPortable |
( |
bool |
newPortable | ) |
|
Set paths to passed portable or system wide.
- Parameters
-
- Returns
- True if portable mode changed, else false.
Definition at line 136 of file paths.cpp.
◆ basePath
◆ portable
std::atomic_bool Paths::portable {false} |
|
private |
The documentation for this class was generated from the following files: