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