rem: rec.status_         = static_cast<unsigned int>(statusAsInt);
add: rec.status_         = static_cast<EmpathIndexRecord::Status>(statusAsInt);
context: operator >> (QDataStream & s, EmpathIndexRecord & rec){    Q_UINT8 statusAsInt;    Q_UINT8 taggedAsInt;    Q_UINT8 hasAttachmentsAsInt;    s   >> rec.id_        >> taggedAsInt        >> rec.subject_        >> rec.senderName_        >> rec.senderAddress_        >> rec.date_        >> rec.timeZone_        >> statusAsInt        >> rec.size_        >> rec.messageID_        >> rec.parentID_        >> hasAttachmentsAsInt;    rec.status_         = static_cast<unsigned int>(statusAsInt);    rec.tagged_         = static_cast<bool>(taggedAsInt);    rec.hasAttachments_ = static_cast<bool>(hasAttachmentsAsInt);        return s;}