Casts this QAMessage to a QATextMessage.
public virtual QATextMessage * castToTextMessage()
A pointer to the QATextMessage, or NULL if this message is not an instance of QATextMessage.
You can also use the conversion operator to convert this QAMessage to a QATextMessage.
For example, to convert a QAMessage to a QATextMessage using the conversion operator, do the following:
QAMessage *msg; QATextMessage *bmsg; ... bmsg = (QATextMessage *)(*msg);