aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/irc/botircdiceparser.h
diff options
context:
space:
mode:
authorRenaud G <renaud@rolisteam.org>2016-04-16 00:01:16 +0200
committerRenaud G <renaud@rolisteam.org>2016-04-16 00:01:16 +0200
commite25c9d650eb7c7633fd1a768bff9cde013c7b057 (patch)
tree4fd51b0372fc35dbd12611231109dc3b21c3364f /irc/botircdiceparser.h
parente55d89b50abd103dcc860faba2c7719064b5aa46 (diff)
downloadOneRoll-e25c9d650eb7c7633fd1a768bff9cde013c7b057.tar.gz
OneRoll-e25c9d650eb7c7633fd1a768bff9cde013c7b057.zip
Rename file
Diffstat (limited to 'irc/botircdiceparser.h')
-rw-r--r--irc/botircdiceparser.h36
1 files changed, 36 insertions, 0 deletions
diff --git a/irc/botircdiceparser.h b/irc/botircdiceparser.h
new file mode 100644
index 0000000..d7139d6
--- /dev/null
+++ b/irc/botircdiceparser.h
@@ -0,0 +1,36 @@
+#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);
+ virtual ~MainWindow();
+
+public slots:
+ void errorOccurs(QAbstractSocket::SocketError);
+private:
+ Ui::MainWindow *ui;
+ QTcpSocket * m_socket;
+ DiceParser* m_parser;
+
+private slots:
+ void readData();
+ void connectToServer();
+ void disconnectFromServer();
+ void authentificationProcess();
+ void joinChannel();
+};
+
+#endif // MAINWINDOW_H