diff options
author | deva <deva> | 2011-08-02 08:00:20 +0000 |
---|---|---|
committer | deva <deva> | 2011-08-02 08:00:20 +0000 |
commit | ed9e290b441a6486c576c2e2e4baa69fa0f3ed37 (patch) | |
tree | 759ace8ca615e3a4167a5e783297cc761b89b992 /client/mainwindow.h | |
parent | 23f39df8b8edeacfa5821050abbdc855acb2edd6 (diff) |
New 'open course' feature.
Diffstat (limited to 'client/mainwindow.h')
-rw-r--r-- | client/mainwindow.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/client/mainwindow.h b/client/mainwindow.h index 8449467..c52db58 100644 --- a/client/mainwindow.h +++ b/client/mainwindow.h @@ -42,8 +42,8 @@ class MainWindow : public QMainWindow { Q_OBJECT public: - MainWindow(QString patientid, QString templ, QString host, quint16 port, - QString user); + MainWindow(QString patientid, QString course, QString templ, + QString host, quint16 port, QString user); ~MainWindow(); void closeEvent(QCloseEvent *event); @@ -58,12 +58,16 @@ public slots: void showError(QString title, QString text); bool hasOpen(void *me); + void setTemplate(QString name); private: + void updateTemplates(QDomNodeList &nodes); void updateMacros(QDomNodeList &nodes); void updateTemplateHeaders(QDomNode &templatenode); + QString course; QString templ; + NetCom netcom; QString patientid; |