diff options
Diffstat (limited to 'client/mainwindow.h')
-rw-r--r-- | client/mainwindow.h | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/client/mainwindow.h b/client/mainwindow.h index e19b070..afc9d08 100644 --- a/client/mainwindow.h +++ b/client/mainwindow.h @@ -31,21 +31,28 @@ #include <QMap> #include <QVector> #include <QPushButton> +#include <QFont> + #include "netcom.h" #include "macrowindow.h" - +#include "sessions.h" #include "macro.h" class MainWindow : public QMainWindow { Q_OBJECT public: - MainWindow(QString cpr, QString templ, QString host, quint16 port, QString user); + MainWindow(QString cpr, QString templ, QString host, quint16 port, + QString user); ~MainWindow(); void closeEvent(QCloseEvent *event); public slots: void update(); + void closeCommit(); + void closeNoCommit(); + void closeDiscard(); + void showSessions(); private: void updateTemplateHeaders(QDomNode templatenode); @@ -53,6 +60,9 @@ private: QString templ; NetCom netcom; + QString cpr; + QString user; + // QMap< QString, MacroWindow* > macros; Macros macros; QWidget *w; @@ -61,7 +71,11 @@ private: bool initialising; + Sessions sessions; + void init(); + + bool isStored; }; #endif/*__PRACRO_MAINWINDOW_H__*/ |