summaryrefslogtreecommitdiff
path: root/client/mainwindow.h
diff options
context:
space:
mode:
authordeva <deva>2011-08-02 08:00:20 +0000
committerdeva <deva>2011-08-02 08:00:20 +0000
commited9e290b441a6486c576c2e2e4baa69fa0f3ed37 (patch)
tree759ace8ca615e3a4167a5e783297cc761b89b992 /client/mainwindow.h
parent23f39df8b8edeacfa5821050abbdc855acb2edd6 (diff)
New 'open course' feature.
Diffstat (limited to 'client/mainwindow.h')
-rw-r--r--client/mainwindow.h8
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;