23 #ifndef _TelepathyQt_text_channel_h_HEADER_GUARD_
24 #define _TelepathyQt_text_channel_h_HEADER_GUARD_
26 #ifndef IN_TP_QT_HEADER
27 #error IN_TP_QT_HEADER
30 #include <TelepathyQt/Channel>
31 #include <TelepathyQt/PendingOperation>
32 #include <TelepathyQt/PendingSendMessage>
38 class ReceivedMessage;
52 static TextChannelPtr create(
const ConnectionPtr &connection,
53 const QString &objectPath,
const QVariantMap &immutableProperties);
57 bool hasMessagesInterface()
const;
58 bool hasChatStateInterface()
const;
59 bool canInviteContacts()
const;
90 return groupAddContacts(contacts, message);
99 const QString &sentMessageToken);
103 void pendingMessageRemoved(
107 void chatStateChanged(
const Tp::ContactPtr &contact,
112 const QVariantMap &immutableProperties,
122 TP_QT_NO_EXPORT
void onPendingMessagesRemoved(
const Tp::UIntList &);
124 TP_QT_NO_EXPORT
void onTextSent(uint, uint,
const QString &);
125 TP_QT_NO_EXPORT
void onTextReceived(uint, uint, uint, uint, uint,
const QString &);
126 TP_QT_NO_EXPORT
void onTextSendError(uint, uint, uint,
const QString &);
131 TP_QT_NO_EXPORT
void onChatStateChanged(uint, uint);
135 friend struct Private;
static const Feature FeatureMessageSentSignal
Definition: text-channel.h:49
static const Feature FeatureChatState
Definition: text-channel.h:50
static const Feature FeatureMessageQueue
Definition: text-channel.h:47
Definition: obj-x86_64-linux-gnu/TelepathyQt/_gen/types.h:101
The Channel class represents a Telepathy channel.
Definition: channel.h:51
The PendingSendMessage class represents the parameters of and the reply to an asynchronous message se...
Definition: pending-send-message.h:41
The TextChannel class represents a Telepathy channel of type Text.
Definition: text-channel.h:40
The Message class represents a Telepathy message in a TextChannel.
Definition: message.h:44
static const Feature FeatureMessageCapabilities
Definition: text-channel.h:48
static const Feature FeatureCore
Definition: text-channel.h:46
Definition: obj-x86_64-linux-gnu/TelepathyQt/_gen/constants.h:2871
ChannelChatState
Definition: obj-x86_64-linux-gnu/TelepathyQt/_gen/constants.h:3078
ChannelTextMessageType
Definition: obj-x86_64-linux-gnu/TelepathyQt/_gen/constants.h:2866
PendingOperation * inviteContacts(const QList< ContactPtr > &contacts, const QString &message=QString())
Definition: text-channel.h:86
The Feature class represents a feature that can be enabled on demand.
Definition: feature.h:41
The ReceivedMessage class is a subclass of Message, representing a received message only...
Definition: message.h:97
The PendingOperation class is a base class for pending asynchronous operations.
Definition: pending-operation.h:45