castToBinaryMessage function

Syntax
QABinaryMessage * QAMessage::castToBinaryMessage()
Remarks

Casts this QAMessage to a QABinaryMessage.

You can also use the conversion operator to convert this QAMessage to a QABinaryMessage.

To convert a QAMessage to a QABinaryMessage using the conversion operator, do the following:

 QAMessage *msg;
 QABinaryMessage *bmsg;
 ...
 bmsg = (QABinaryMessage *)(*msg);
 
Returns

A pointer to the QABinaryMessage, or null if this message is not an instance of QABinaryMessage.