void CWizKbSync::onDownloadAttachmentsInfoCompleted() { int nTotal = m_arrayAllAttachmentsDownloaded.size(); if (nTotal) { Q_EMIT processLog(WizFormatString1(tr("Total %1 attachments be synchronized"), nTotal)); } startDownloadObjectsData(); }
void CWizSync::onDownloadDocumentsFullInfoCompleted() { Q_EMIT progressChanged(progressDocumemtFullInfoDownloaded); //if no error occured while downloading document full information //update document version if (!m_bDocumentInfoError && -1 != m_nDocumentMaxVersion) { m_db.SetObjectVersion(WIZDOCUMENTDATA::ObjectName(), m_nDocumentMaxVersion); } startDownloadObjectsData(); }