kchat.h
virtual const TQString & fromName() const =0
virtual void returnPressed(const TQString &text)=0
This is called whenever the user pushed return ie wants to send a message.
void setAutoAddMessages(bool add)
Usually the messages which will be sent from here (see signalSendMessage) are added autmatically to t...
Definition kchat.cpp:63
void removePlayer(const TQString &nick)
Removes all players with this nickname.
Definition kchat.cpp:104
void signalSendMessage(int id, const TQString &msg)
This signal is emitted when the player wants to send a message.
void setFromNickname(const TQString &name)
This sets the name that will be shown on all chat widgets if this widget sends a message.
Definition kchat.cpp:59
Trinity API Reference