void PhotoDialog::setUp() { QPixmap qtn; qtn.loadFromData(mPhotoDetails.mThumbnail.data, mPhotoDetails.mThumbnail.size, mPhotoDetails.mThumbnail.type.c_str()); ui->label_Photo->setPixmap(qtn); ui->lineEdit_Title->setText(QString::fromStdString(mPhotoDetails.mMeta.mMsgName)); requestComments(); }
void PhotoDialog::acknowledgeComment(uint32_t token) { RsGxsGrpMsgIdPair msgId; mRsPhoto->acknowledgeMsg(token, msgId); if(msgId.first.isNull() || msgId.second.isNull()){ }else { requestComments(); } }
void CommentContainerWidget::setGrpMsgId(RsGxsGrpMsgIdPair id) { _GrpMsgId = id; requestComments(); }