qTox
Version: nightly | Commit: bc751c8e1cac455f9690654fcfe0f560d2d7dfdd
|
Go to the documentation of this file.
34 using Ptr = std::shared_ptr<ChatMessage>;
58 const QDateTime& date,
bool colorizeName =
false);
60 const QDateTime& date);
76 static QString
wrapDiv(
const QString& str,
const QString& div);
std::shared_ptr< ChatMessage > Ptr
static ChatMessage::Ptr createFileTransferMessage(const QString &sender, CoreFile &coreFile, ToxFile file, bool isMe, const QDateTime &date)
void markAsDelivered(const QDateTime &time)
static QString detectQuotes(const QString &str, MessageType type)
static ChatMessage::Ptr createBusyNotification()
Create message placeholder while chatform restructures text.
static ChatMessage::Ptr createTypingNotification()
static QString wrapDiv(const QString &str, const QString &div)
ChatMessage & operator=(const ChatMessage &)=default
Manages the file transfer service of toxcore.
std::shared_ptr< ChatLine > Ptr
static ChatMessage::Ptr createChatMessage(const QString &sender, const QString &rawMessage, MessageType type, bool isMe, MessageState state, const QDateTime &date, bool colorizeName=false)
static ChatMessage::Ptr createChatInfoMessage(const QString &rawMessage, SystemMessageType type, const QDateTime &date)