chat code

This commit is contained in:
Max-Wilhelm Bruker 2009-08-23 03:43:09 +02:00
parent 120193fb0b
commit e6a419aa3d
9 changed files with 51 additions and 9 deletions

View file

@ -18,9 +18,12 @@ private:
QListWidget *playerList;
QTextEdit *textEdit;
QLineEdit *sayEdit;
Client *client;
QString name;
private slots:
void sendMessage();
public:
ChannelWidget(const QString &_name, QWidget *parent = 0);
ChannelWidget(Client *_client, const QString &_name, QWidget *parent = 0);
const QString &getName() const { return name; }
void joinEvent(const QString &playerName);