Commit f05b265f authored by Karel Slaný's avatar Karel Slaný

Added some declaration to be able to compile the sources with gcc 5.4.0.

parent cff3da9a
......@@ -75,6 +75,16 @@ public:
const QString &_dmFileSize, const QString &_dmDownloadDate,
const QString &_icon, QObject *parent = Q_NULLPTR);
/*!
* @brief Assignment operator.
*
* @note gcc 5.4 bitches about missing operator= declaration.
*
* @param[in] data Attachment data.
* @return Reference to itself.
*/
AttachmentData &operator=(const AttachmentData &data);
int fileId(void) const;
void setFileId(int fileId);
qint64 dmId(void) const;
......
......@@ -143,6 +143,16 @@ public:
bool _dmReadLocally,
QObject *parent = Q_NULLPTR);
/*!
* @brief Assignment operator.
*
* @note gcc 5.4 bitches about missing operator= declaration.
*
* @param[in] envel Message envelope.
* @return Reference to itself.
*/
MsgEnvelope &operator=(const MsgEnvelope &envel);
qint64 dmID(void) const;
void setDmID(qint64 dmID);
QString dmAnnotation(void) const;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment