aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/irc/mainwindow.h
blob: 6a819fda0ea1a02f52801a4e71dbee71f9be5c65 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
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);
    virtual ~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