AStandardPaths.3 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. .TH "AStandardPaths" 3 "Tue May 4 2021" "openPilotLog" \" -*- nroff -*-
  2. .ad l
  3. .nh
  4. .SH NAME
  5. AStandardPaths \- The AStandardAppPaths class encapsulates a static QMap holding the standard paths of the application\&.
  6. .SH SYNOPSIS
  7. .br
  8. .PP
  9. .PP
  10. \fC#include <astandardpaths\&.h>\fP
  11. .SS "Public Types"
  12. .in +1c
  13. .ti -1c
  14. .RI "enum \fBDirectories\fP { \fBDatabase\fP, \fBTemplates\fP, \fBBackup\fP, \fBLog\fP }"
  15. .br
  16. .in -1c
  17. .SS "Static Public Member Functions"
  18. .in +1c
  19. .ti -1c
  20. .RI "static bool \fBsetup\fP ()"
  21. .br
  22. .RI "Creates and verifies a static map of the standard paths used in the app\&. "
  23. .ti -1c
  24. .RI "static const QDir & \fBdirectory\fP (Directories location)"
  25. .br
  26. .RI "Returns the QDir for the standard directory referenced by the Directories enum 'loc'\&. "
  27. .ti -1c
  28. .RI "static const QString \fBasChildOfDir\fP (Directories location, const QString &filename)"
  29. .br
  30. .RI "Returns a string of the absolute path to directory location concatenated with filename\&. "
  31. .ti -1c
  32. .RI "static const QMap< Directories, QDir > & \fBallDirectories\fP ()"
  33. .br
  34. .RI "returns the static map of all standard directories "
  35. .in -1c
  36. .SH "Detailed Description"
  37. .PP
  38. The AStandardAppPaths class encapsulates a static QMap holding the standard paths of the application\&.
  39. .SH "Member Function Documentation"
  40. .PP
  41. .SS "const QMap< AStandardPaths::Directories, QDir > & AStandardPaths::allDirectories ()\fC [static]\fP"
  42. .PP
  43. returns the static map of all standard directories
  44. .PP
  45. \fBReturns\fP
  46. .RS 4
  47. static const QMap<Directories, QDir>
  48. .RE
  49. .PP
  50. .SH "Author"
  51. .PP
  52. Generated automatically by Doxygen for openPilotLog from the source code\&.