2
* Copyright (C) 2014 Víctor Matía Rodríguez.
4
* This program is free software; you can redistribute it and/or modify
5
* it under the terms of the GNU General Public License as published by
6
* the Free Software Foundation; version 3.
8
* This program is distributed in the hope that it will be useful,
9
* but WITHOUT ANY WARRANTY; without even the implied warranty of
10
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11
* GNU General Public License for more details.
13
* You should have received a copy of the GNU General Public License
14
* along with this program. If not, see <http://www.gnu.org/licenses/>.
23
#include "startchecks.h"
25
class CheetaHCS : public QObject
28
Q_PROPERTY(bool configExists READ configExists WRITE setConfigExists
29
NOTIFY configExistsChanged)
30
Q_PROPERTY(QString hospital READ hospital WRITE setHospital
31
NOTIFY hospitalChanged)
32
Q_PROPERTY(QString primaryCenter READ primaryCenter WRITE setPrimaryCenter
33
NOTIFY primaryCenterChanged)
35
explicit CheetaHCS(QObject *parent = 0);
38
Q_INVOKABLE void startChecks();
41
void configExistsChanged();
42
void hospitalChanged();
43
void primaryCenterChanged();
48
QString m_primaryCenter;
54
void setConfigExists(bool configExists);
56
void setHospital(QString hospital);
57
QString primaryCenter();
58
void setPrimaryCenter(QString primaryCenter);
60
StartChecks startChecksFunction;