6 #include <QXmlStreamWriter>
7 #include <QStandardPaths>
11 #include <QStringList>
115 #endif // _FILEWRITER_H
ReportType
This enum discribes the various reports to be printed.
Definition: _filewriter.h:62
QString getReportsPath()
Gets the path to desktop.
Definition: _filewriter.cpp:37
static _FileWriter * instance
Singleton Pointer.
Definition: _filewriter.h:38
Output File Stream Handler : Singleton.
Definition: _filewriter.h:27
~_FileWriter()
Default non-args de-constructor.
Definition: _filewriter.cpp:18
Definition: _filewriter.h:64
Definition: _filewriter.h:65
Definition: _filewriter.h:66
_FileWriter()
Default no-args constructor.
Definition: _filewriter.cpp:11
void makeTxtInvReport(QVector< Item > inventory, ReportType type=Full)
Writes a Inventory Report to txt file.
Definition: _filewriter.cpp:51
void makeXmlInvReport(QVector< Item > inventory, ReportType type=Full)
Writes Inventory Report to xml file.
Definition: _filewriter.cpp:198
Definition: _filewriter.h:68
static _FileWriter * getInstance()
Singleton pointer return function.
Definition: _filewriter.cpp:26
Definition: _filewriter.h:67
static void writeReportsDir(QString path)
Definition: _filewriter.cpp:383
static void writeDbFileLoc(QString path)
Definition: _filewriter.cpp:357