12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758 |
- .TH "AStandardPaths" 3 "Tue Aug 9 2022" "openPilotLog" \" -*- nroff -*-
- .ad l
- .nh
- .SH NAME
- AStandardPaths \- The AStandardAppPaths class encapsulates a static QHash holding the standard paths of the application\&.
- .SH SYNOPSIS
- .br
- .PP
- .PP
- \fC#include <astandardpaths\&.h>\fP
- .SS "Public Types"
- .in +1c
- .ti -1c
- .RI "enum \fBDirectories\fP { \fBDatabase\fP, \fBTemplates\fP, \fBBackup\fP, \fBLog\fP, \fBJSON\fP }"
- .br
- .in -1c
- .SS "Static Public Member Functions"
- .in +1c
- .ti -1c
- .RI "static bool \fBsetup\fP ()"
- .br
- .RI "Creates and verifies a static map of the standard paths used in the app\&. "
- .ti -1c
- .RI "static const QDir & \fBdirectory\fP (Directories location)"
- .br
- .RI "Returns the QDir for the standard directory referenced by the Directories enum 'loc'\&. "
- .ti -1c
- .RI "static const QString \fBasChildOfDir\fP (Directories location, const QString &filename)"
- .br
- .RI "Returns a string of the absolute path to directory location concatenated with filename\&. "
- .ti -1c
- .RI "static const QHash< Directories, QDir > & \fBallDirectories\fP ()"
- .br
- .RI "returns the static map of all standard directories "
- .in -1c
- .SH "Detailed Description"
- .PP
- The AStandardAppPaths class encapsulates a static QHash holding the standard paths of the application\&.
- .SH "Member Function Documentation"
- .PP
- .SS "const QHash< AStandardPaths::Directories, QDir > & AStandardPaths::allDirectories ()\fC [static]\fP"
- .PP
- returns the static map of all standard directories
- .PP
- \fBReturns\fP
- .RS 4
- static const QHash<Directories, QDir>
- .RE
- .PP
- .SH "Author"
- .PP
- Generated automatically by Doxygen for openPilotLog from the source code\&.
|