| 172 | } |
| 173 | |
| 174 | void Chat::clearCurrentChat() { |
| 175 | if (m_scripted) |
| 176 | m_script.invoke("clearCurrentChat"); |
| 177 | else { |
| 178 | m_textBox->setText(""); |
| 179 | m_chatPrevIndex = 0; |
| 180 | } |
| 181 | } |
| 182 | |
| 183 | ChatSendMode Chat::sendMode() const { |
| 184 | if (m_scripted) |
no test coverage detected