AFileStandardItem.3 1.3 KB

123456789101112131415161718192021222324252627282930313233
  1. .TH "AFileStandardItem" 3 "Mon Jul 11 2022" "openPilotLog" \" -*- nroff -*-
  2. .ad l
  3. .nh
  4. .SH NAME
  5. AFileStandardItem \- Simple QStandardItem subclass to encapsulate necessary file info\&. Using only a QStandardItem would mean that the full path should be inputted as data and of course displayed by default\&. However this way we create the absolute path in the fileInfo attribute for further use while displaying only the base name\&.
  6. .SH SYNOPSIS
  7. .br
  8. .PP
  9. .PP
  10. \fC#include <backupwidget\&.h>\fP
  11. .PP
  12. Inherits QStandardItem\&.
  13. .SS "Public Member Functions"
  14. .in +1c
  15. .ti -1c
  16. .RI "\fBAFileStandardItem\fP (const QIcon &icon, const QString &filename, const AStandardPaths::Directories dir)"
  17. .br
  18. .ti -1c
  19. .RI "\fBAFileStandardItem\fP (const QIcon &icon, const QFileInfo file_info)"
  20. .br
  21. .ti -1c
  22. .RI "const QFileInfo & \fBinfo\fP () const"
  23. .br
  24. .in -1c
  25. .SH "Detailed Description"
  26. .PP
  27. Simple QStandardItem subclass to encapsulate necessary file info\&. Using only a QStandardItem would mean that the full path should be inputted as data and of course displayed by default\&. However this way we create the absolute path in the fileInfo attribute for further use while displaying only the base name\&.
  28. .SH "Author"
  29. .PP
  30. Generated automatically by Doxygen for openPilotLog from the source code\&.