void CWizKbSync::onDownloadStylesCompleted() { int nTotal = m_arrayAllStylesDownloaded.size(); if (nTotal) { Q_EMIT processLog(WizFormatString1(tr("Total %1 styles be sychronized"), nTotal)); } startUploadDocuments(); }
void CWizSync::onDownloadDocumentsSimpleInfoCompleted() { Q_EMIT progressChanged(progressDocumentSimpleInfoDownloaded); TOLOG1(tr("Total %1 documents need to be update"), QString::number(m_arrayAllDocumentsNeedToBeDownloaded.size())); //save max version of document //if no error occured while downloading document full information //then update this version if (!m_arrayAllDocumentsNeedToBeDownloaded.empty()) { m_nDocumentMaxVersion = ::WizObjectsGetMaxVersion<WIZDOCUMENTDATABASE>(m_arrayAllDocumentsNeedToBeDownloaded); } //filter documents for getting document full information (not data) filterDocuments(); startUploadDocuments(); }