|  | openPilotLog
    | 
 
 
 
   18 #ifndef ASTANDARDPATHS_H 
   19 #define ASTANDARDPATHS_H 
   21 #include <QStandardPaths> 
   40     static QMap<Directories, QDir> directories;
 
   46     static bool scan_directories();
 
   58     static const QDir &
directory(Directories location);
 
   63     static const QString 
asChildOfDir(Directories location, 
const QString& filename);
 
   72 #endif // ASTANDARDPATHS_H 
  
 
static const QDir & directory(Directories location)
Returns the QDir for the standard directory referenced by the Directories enum 'loc'.
Definition: astandardpaths.cpp:43
static bool setup()
Creates and verifies a static map of the standard paths used in the app.
Definition: astandardpaths.cpp:23
static const QMap< Directories, QDir > & allDirectories()
returns the static map of all standard directories
Definition: astandardpaths.cpp:53
static const QString asChildOfDir(Directories location, const QString &filename)
Returns a string of the absolute path to directory location concatenated with filename.
Definition: astandardpaths.cpp:48
The AStandardAppPaths class encapsulates a static QMap holding the standard paths of the application.
Definition: astandardpaths.h:30