示例#1
0
void CWizKbSync::onDownloadAttachmentsInfoCompleted()
{
    int nTotal = m_arrayAllAttachmentsDownloaded.size();
    if (nTotal) {
        Q_EMIT processLog(WizFormatString1(tr("Total %1 attachments be synchronized"), nTotal));
    }

    startDownloadObjectsData();
}
示例#2
0
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();
}