Blame view

QChatClient/chatwidget.h 383 Bytes
1
2
3
4
5
#ifndef CHATWIDGET_H
#define CHATWIDGET_H

#include <QTextEdit>
6
7
using namespace std;
8
9
10
11
12
class ChatWidget : public QTextEdit
{
    Q_OBJECT
public:
    explicit ChatWidget(QWidget *parent = 0);
13
14
15
    void printServerMsg(const string &str);
    void printMsg(const string& str);
    void printStatusMsg(const string& str);
16
17
18
19
20
21
22
23

signals:

public slots:

};

#endif // CHATWIDGET_H