openPilotLog
|
The AStandardAppPaths class encapsulates a static QMap holding the standard paths of the application. More...
#include <astandardpaths.h>
Public Types | |
enum | Directories { Database, Templates, Backup, Log } |
Static Public Member Functions | |
static bool | setup () |
Creates and verifies a static map of the standard paths used in the app. | |
static const QDir & | directory (Directories location) |
Returns the QDir for the standard directory referenced by the Directories enum 'loc'. | |
static const QString | asChildOfDir (Directories location, const QString &filename) |
Returns a string of the absolute path to directory location concatenated with filename. | |
static const QMap< Directories, QDir > & | allDirectories () |
returns the static map of all standard directories More... | |
The AStandardAppPaths class encapsulates a static QMap holding the standard paths of the application.
|
static |
returns the static map of all standard directories