qBittorrent
|
Default implementation. Takes paths from system. More...
#include <profile_p.h>
Public Member Functions | |
DefaultProfile (const QString &configurationName) | |
QString | rootPath () const override |
QString | basePath () const override |
The base path against to which portable (relative) paths are resolved. More... | |
QString | cacheLocation () const override |
QString | configLocation () const override |
QString | dataLocation () const override |
QString | downloadLocation () const override |
SettingsPtr | applicationSettings (const QString &name) const override |
Public Member Functions inherited from Private::Profile | |
virtual | ~Profile ()=default |
QString | configurationName () const |
QString | profileName () const |
QCoreApplication::applicationName() with optional configuration name appended. More... | |
Private Member Functions | |
QString | locationWithConfigurationName (QStandardPaths::StandardLocation location) const |
Standard path writable location for profile files. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from Private::Profile | |
Profile (const QString &configurationName) | |
QString | configurationSuffix () const |
Default implementation. Takes paths from system.
Definition at line 75 of file profile_p.h.
|
explicit |
Definition at line 54 of file profile_p.cpp.
|
overridevirtual |
Implements Private::Profile.
Definition at line 113 of file profile_p.cpp.
|
overridevirtual |
The base path against to which portable (relative) paths are resolved.
Implements Private::Profile.
Definition at line 64 of file profile_p.cpp.
|
overridevirtual |
Implements Private::Profile.
Definition at line 69 of file profile_p.cpp.
|
overridevirtual |
|
overridevirtual |
Implements Private::Profile.
Definition at line 84 of file profile_p.cpp.
|
overridevirtual |
Implements Private::Profile.
Definition at line 108 of file profile_p.cpp.
|
private |
Standard path writable location for profile files.
location | location kind |
Definition at line 122 of file profile_p.cpp.
|
overridevirtual |