Blame view

QChatClient/chatwindow.h 389 Bytes
1
2
3
4
#ifndef CHATWINDOW_H
#define CHATWINDOW_H

#include <QMainWindow>
5
6
7
#include <string>

using namespace std;
8
9
10
11
12
13
14
15
16
17

namespace Ui {
class ChatWindow;
}

class ChatWindow : public QMainWindow
{
    Q_OBJECT

public:
18
19
    explicit ChatWindow(QString& nickname,QWidget *parent = 0);
    void printMsg(string& str);
20
21
22
23
24
25
26
    ~ChatWindow();

private:
    Ui::ChatWindow *ui;
};

#endif // CHATWINDOW_H