23 #ifndef _TelepathyQt_message_h_HEADER_GUARD_ 
   24 #define _TelepathyQt_message_h_HEADER_GUARD_ 
   26 #ifndef IN_TP_QT_HEADER 
   27 #error IN_TP_QT_HEADER 
   30 #include <QSharedDataPointer> 
   32 #include <TelepathyQt/Constants> 
   33 #include <TelepathyQt/Contact> 
   34 #include <TelepathyQt/Types> 
   55         return !(*
this == other);
 
   60     QDateTime sent() 
const;
 
   64     bool isTruncated() 
const;
 
   66     bool hasNonTextContent() 
const;
 
   68     QString messageToken() 
const;
 
   70     bool isSpecificToDBusInterface() 
const;
 
   71     QString dbusInterface() 
const;
 
   90     TP_QT_NO_EXPORT 
Message(uint, uint, 
const QString &);
 
   93     friend struct Private;
 
   94     QSharedDataPointer<Private> mPriv;
 
  109         bool isValid()
 const { 
return mPriv.constData() != 0; }
 
  113         bool hasOriginalToken() 
const;
 
  114         QString originalToken() 
const;
 
  116         bool isError() 
const;
 
  119         bool hasDebugMessage() 
const;
 
  120         QString debugMessage() 
const;
 
  122         QString dbusError() 
const;
 
  124         bool hasEchoedMessage() 
const;
 
  133         friend struct Private;
 
  134         QSharedDataPointer<Private> mPriv;
 
  141     QDateTime received() 
const;
 
  142     ContactPtr sender() 
const;
 
  143     QString senderNickname() 
const;
 
  145     QString supersededToken() 
const;
 
  147     bool isScrollback() 
const;
 
  148     bool isRescued() 
const;
 
  150     bool isDeliveryReport() 
const;
 
  153     bool isFromChannel(
const TextChannelPtr &channel) 
const;
 
  159             const TextChannelPtr &channel);
 
  162     uint senderHandle() 
const;
 
  163     QString senderId() 
const;
 
  164     uint pendingId() 
const;
 
  166     void setForceNonText();
 
  167     void clearSenderHandle();
 
  168     void setSender(
const ContactPtr &sender);
 
bool operator==(const SUSocketAddress &v1, const SUSocketAddress &v2)
Definition: types.cpp:50
The ReceivedMessage class is a subclass of Message, representing a received message only...
Definition: message.h:97
The TextChannel class represents a Telepathy channel of type Text. 
Definition: text-channel.h:40
ChannelTextSendError
Definition: build/TelepathyQt/_gen/constants.h:2815
bool operator!=(const Message &other) const 
Definition: message.h:53
The ContactMessenger class provides an easy way to send text messages to a contact and also track sen...
Definition: contact-messenger.h:40
QList< MessagePart > MessagePartList
Definition: build/TelepathyQt/_gen/types.h:2031
DeliveryStatus
Definition: build/TelepathyQt/_gen/constants.h:3558
ChannelTextMessageType
Definition: build/TelepathyQt/_gen/constants.h:2866
bool isValid() const 
Definition: message.h:109
The Message class represents a Telepathy message in a TextChannel. 
Definition: message.h:44
The ReceivedMessage::DeliveryDetails class represents the details of a delivery report. 
Definition: message.h:100
Definition: build/TelepathyQt/_gen/types.h:2013