diff options
Diffstat (limited to 'irc/mainwindow.h')
| -rw-r--r-- | irc/mainwindow.h | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/irc/mainwindow.h b/irc/mainwindow.h new file mode 100644 index 0000000..9098e56 --- /dev/null +++ b/irc/mainwindow.h @@ -0,0 +1,34 @@ +#ifndef MAINWINDOW_H +#define MAINWINDOW_H + +#include <QMainWindow> +#include "diceparser.h" + +#include <QTcpSocket> + +namespace Ui { +class MainWindow; +} + +class MainWindow : public QMainWindow +{ + Q_OBJECT + +public: + explicit MainWindow(QWidget *parent = 0); + ~MainWindow(); + +private: + Ui::MainWindow *ui; + QTcpSocket * socket; + DiceParser* m_parser; + +private slots: + void readData(); + void connectToServer(); + void disconnectFromServer(); + void authentificationProcess(); + void joinChannel(); +}; + +#endif // MAINWINDOW_H |