diff options
Diffstat (limited to 'client/praxisd.h')
-rw-r--r-- | client/praxisd.h | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/client/praxisd.h b/client/praxisd.h index 1268be7..0989274 100644 --- a/client/praxisd.h +++ b/client/praxisd.h @@ -156,6 +156,7 @@ class PraxisdSync : public QThread { Q_OBJECT public: PraxisdSync(QString host, unsigned short int port); + ~PraxisdSync(); QString journal_get_by_cpr(QString patientid); CaveVector diverse_get_cave(QString sogenr); @@ -163,9 +164,13 @@ public: DokMenuVector dokmenu_get_all_by_cpr(QString cpr); QString dokmenu_get_by_cpr_and_name(QString cpr, QString name); + bool hasError(); + QString errorString(); + void run(); -public slots: +private slots: + void networkError(QString); void gotCaveList(CaveVector); void gotPatient(Patient); void gotDokMenu(DokMenuVector); @@ -184,6 +189,11 @@ private: CaveVector cavelist; Patient patient; DokMenuVector dokmenu; + + volatile bool running; + + bool error; + QString errorStr; }; #endif/*__PRACRO_PRAXISD_H__*/ |