Home · All Classes · All Namespaces · Modules · Functions · Files |
The ReceivedMessage::DeliveryDetails class represents the details of a delivery report. More...
#include <TelepathyQt/ReceivedMessage>
The ReceivedMessage::DeliveryDetails class represents the details of a delivery report.
Default constructor.
Tp::ReceivedMessage::DeliveryDetails::DeliveryDetails | ( | const DeliveryDetails & | other | ) |
Copy constructor.
Class destructor.
ReceivedMessage::DeliveryDetails & Tp::ReceivedMessage::DeliveryDetails::operator= | ( | const DeliveryDetails & | other | ) |
Assignment operator.
bool Tp::ReceivedMessage::DeliveryDetails::isValid | ( | ) | const [inline] |
Return the delivery status of a message.
bool Tp::ReceivedMessage::DeliveryDetails::hasOriginalToken | ( | ) | const |
Return whether this delivery report contains an identifier for the message to which it refers.
true
if an original message token is known, false
otherwise. QString Tp::ReceivedMessage::DeliveryDetails::originalToken | ( | ) | const |
Return an identifier for the message to which this delivery report refers, or an empty string if hasOriginalToken() returns false
.
Clients may match this against the token produced by the TextChannel::send() method and TextChannel::messageSent() signal. A status report with no token could match any sent message, and a sent message with an empty token could match any status report. If multiple sent messages match, clients should use some reasonable heuristic.
true
, an empty string otherwise. bool Tp::ReceivedMessage::DeliveryDetails::isError | ( | ) | const |
Return whether the delivery of the message this delivery report refers to, failed.
true
if the message delivery failed, false
otherwise. Return the reason for the delivery failure if known.
bool Tp::ReceivedMessage::DeliveryDetails::hasDebugMessage | ( | ) | const |
Return whether this delivery report contains a debugging information on why the message it refers to could not be delivered.
true
if a debugging information is provided, false
otherwise. QString Tp::ReceivedMessage::DeliveryDetails::debugMessage | ( | ) | const |
Return the debugging information on why the message this delivery report refers to could not be delivered.
QString Tp::ReceivedMessage::DeliveryDetails::dbusError | ( | ) | const |
Return the reason for the delivery failure if known, specified as a (possibly implementation-specific) D-Bus error.
bool Tp::ReceivedMessage::DeliveryDetails::hasEchoedMessage | ( | ) | const |
Return whether the message content for the message this delivery report refers to is known.
true
if the original message content is known, false
otherwise. Return the Message object for the message this delivery report refers to, omitted if the message is unknown.
false
. Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation | Telepathy-Qt 0.9.3 |