chatwindow.h
389 Bytes
#ifndef CHATWINDOW_H
#define CHATWINDOW_H
#include <QMainWindow>
#include <string>
using namespace std;
namespace Ui {
class ChatWindow;
}
class ChatWindow : public QMainWindow
{
Q_OBJECT
public:
explicit ChatWindow(QString& nickname,QWidget *parent = 0);
void printMsg(string& str);
~ChatWindow();
private:
Ui::ChatWindow *ui;
};
#endif // CHATWINDOW_H