Changeset View
Changeset View
Standalone View
Standalone View
interfaces/conversationmessage.cpp
Show First 20 Lines • Show All 43 Lines • ▼ Show 20 Line(s) | 39 | ConversationMessage::ConversationMessage (const QString& body, const QString& address, const qint64& date, | |||
---|---|---|---|---|---|
44 | , m_body(body) | 44 | , m_body(body) | ||
45 | , m_address(address) | 45 | , m_address(address) | ||
46 | , m_date(date) | 46 | , m_date(date) | ||
47 | , m_type(type) | 47 | , m_type(type) | ||
48 | , m_read(read) | 48 | , m_read(read) | ||
49 | , m_threadID(threadID) | 49 | , m_threadID(threadID) | ||
50 | , m_uID(uID) | 50 | , m_uID(uID) | ||
51 | { | 51 | { | ||
52 | | ||||
53 | } | 52 | } | ||
54 | 53 | | |||
55 | ConversationMessage::ConversationMessage(const ConversationMessage& other, QObject* parent) | 54 | ConversationMessage::ConversationMessage(const ConversationMessage& other, QObject* parent) | ||
56 | : QObject(parent) | 55 | : QObject(parent) | ||
57 | , m_body(other.m_body) | 56 | , m_body(other.m_body) | ||
58 | , m_address(other.m_address) | 57 | , m_address(other.m_address) | ||
59 | , m_date(other.m_date) | 58 | , m_date(other.m_date) | ||
60 | , m_type(other.m_type) | 59 | , m_type(other.m_type) | ||
61 | , m_read(other.m_read) | 60 | , m_read(other.m_read) | ||
62 | , m_threadID(other.m_threadID) | 61 | , m_threadID(other.m_threadID) | ||
63 | , m_uID(other.m_uID) | 62 | , m_uID(other.m_uID) | ||
64 | { | 63 | { | ||
65 | | ||||
66 | } | 64 | } | ||
67 | 65 | | |||
68 | ConversationMessage::~ConversationMessage() { } | 66 | ConversationMessage::~ConversationMessage() { } | ||
69 | 67 | | |||
70 | ConversationMessage& ConversationMessage::operator=(const ConversationMessage& other) | 68 | ConversationMessage& ConversationMessage::operator=(const ConversationMessage& other) | ||
71 | { | 69 | { | ||
72 | this->m_body = other.m_body; | 70 | this->m_body = other.m_body; | ||
73 | this->m_address = other.m_address; | 71 | this->m_address = other.m_address; | ||
▲ Show 20 Lines • Show All 60 Lines • Show Last 20 Lines |