Changes in result dialog.
[speedfreak] / Client / xmlwriter.h
1 #ifndef XMLWRITER_H
2 #define XMLWRITER_H
3
4 #include "ui_mainwindow.h"
5
6
7 class XmlWriter : public QObject
8 {
9 public:
10     XmlWriter(Ui_MainWindow* myMainWindow);
11     ~XmlWriter();
12
13 private:
14     QXmlStreamWriter xmlwriter;
15     QMap<QString, int> resultmap;
16     Ui_MainWindow* ui;
17
18 public slots:
19     bool writeXmlFile(QIODevice* device);
20     void writeItems();
21     void initResultmap();
22     void fillResultmap();
23     void xmlWrite();
24
25 };
26
27 #endif // XMLWRITER_H