mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-22 22:53:55 -07:00
chat code
This commit is contained in:
parent
120193fb0b
commit
e6a419aa3d
9 changed files with 51 additions and 9 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue