ccoleta.h
1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
#ifndef CCOLETA_H
#define CCOLETA_H
#include <QtCore>
#include <QObject>
#include <QJsonObject>
#include <QDebug>
#include <ccacic.h>
#include <cacic_computer.h>
#include <cacic_software.h>
#include <cacic_hardware.h>
class CColeta : public QObject
{
Q_OBJECT
private:
CCacic oCacic;
CACIC_Computer oComputer;
cacic_software oSoftware;
cacic_hardware oHardware;
bool hardwareIsFinish;
bool softwareIsFinish;
public:
explicit CColeta(QObject *parent = 0);
CACIC_Computer getOComputer() const;
cacic_software getOSoftware() const;
cacic_hardware getOHardware() const;
bool waitToCollect();
QJsonObject toJsonObject();
public slots:
void coletaHardware();
void coletaSoftware();
void configuraColetas();
void hardwareReady();
void softwareReady();
void run();
signals:
void beginComputer();
void beginHardware();
void beginSoftware();
void hardwareFinish();
void softwareFinish();
void finished();
};
#endif // CCOLETA_H