swift
|
Text, radio or private message. More...
Public Types | |
enum | Type { PrivateMessage , RadioMessage } |
Message type. | |
Public Member Functions | |
TextMessage (const QString &sender, const QString &receiver, const QString &message) | |
Constructor. | |
QStringList | toTokens () const |
Message converted to tokens. | |
Static Public Member Functions | |
static TextMessage | fromTokens (const QStringList &tokens) |
Construct from tokens. | |
static QString | pdu () |
PDU identifier. | |
Public Attributes | |
QString | m_message |
message text | |
Type | m_type = PrivateMessage |
message type | |
QVector< int > | m_frequencies |
frequencies in case of radio message. | |
Additional Inherited Members |
Text, radio or private message.
Definition at line 18 of file textmessage.h.