OPL_Paths.3 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. .TH "OPL::Paths" 3 "Tue Aug 9 2022" "openPilotLog" \" -*- nroff -*-
  2. .ad l
  3. .nh
  4. .SH NAME
  5. OPL::Paths
  6. .SH SYNOPSIS
  7. .br
  8. .PP
  9. .SS "Public Types"
  10. .in +1c
  11. .ti -1c
  12. .RI "enum \fBDirectories\fP { \fBDatabase\fP, \fBTemplates\fP, \fBBackup\fP, \fBLog\fP, \fBExport\fP }"
  13. .br
  14. .in -1c
  15. .SS "Static Public Member Functions"
  16. .in +1c
  17. .ti -1c
  18. .RI "static const bool \fBsetup\fP ()"
  19. .br
  20. .ti -1c
  21. .RI "static const QDir \fBdirectory\fP (Directories location)"
  22. .br
  23. .RI "Returns the QDir for the standard directory referenced by the Directories enum 'loc'\&. "
  24. .ti -1c
  25. .RI "static const QString \fBpath\fP (Directories location)"
  26. .br
  27. .ti -1c
  28. .RI "static const QString \fBappDir\fP ()"
  29. .br
  30. .ti -1c
  31. .RI "static const QString \fBfilePath\fP (Directories location, const QString &filename)"
  32. .br
  33. .ti -1c
  34. .RI "static const QFileInfo \fBdatabaseFileInfo\fP ()"
  35. .br
  36. .RI "returns a QFileInfo for the default database file\&. "
  37. .in -1c
  38. .SS "Static Public Attributes"
  39. .in +1c
  40. .ti -1c
  41. .RI "static const QHash< Directories, QLatin1String > \fBdirectories\fP"
  42. .br
  43. .in -1c
  44. .SH "Member Data Documentation"
  45. .PP
  46. .SS "const QHash<Directories, QLatin1String> OPL::Paths::directories\fC [inline]\fP, \fC [static]\fP"
  47. \fBInitial value:\fP
  48. .PP
  49. .nf
  50. = {
  51. {Database, QLatin1String("/database")},
  52. {Templates, QLatin1String("/templates")},
  53. {Backup, QLatin1String("/backup")},
  54. {Log, QLatin1String("/log")},
  55. {Export, QLatin1String("/export")},
  56. }
  57. .fi
  58. .SH "Author"
  59. .PP
  60. Generated automatically by Doxygen for openPilotLog from the source code\&.