mirror of
https://gitlab.com/comunic/comunicmessages
synced 2025-06-20 08:55:17 +00:00
Display conversation images
This commit is contained in:
@ -50,6 +50,11 @@ QString ConversationMessage::imagePath() const
|
||||
return mImagePath;
|
||||
}
|
||||
|
||||
bool ConversationMessage::hasImage() const
|
||||
{
|
||||
return !mImagePath.isEmpty();
|
||||
}
|
||||
|
||||
void ConversationMessage::setImagePath(const QString &imagePath)
|
||||
{
|
||||
mImagePath = imagePath;
|
||||
|
@ -27,6 +27,7 @@ public:
|
||||
void setMessage(const QString &message);
|
||||
|
||||
QString imagePath() const;
|
||||
bool hasImage() const;
|
||||
void setImagePath(const QString &imagePath);
|
||||
|
||||
bool operator<(const ConversationMessage &b) const;
|
||||
|
Reference in New Issue
Block a user