Beispiel #1
0
void CWizKbSync::onUploadDocument(const WIZDOCUMENTDATAEX& data)
{
    if (!data.strGUID.IsEmpty()) {
        m_db->ModifyObjectVersion(data.strGUID, WIZDOCUMENTDATAEX::ObjectName(), 0);
    }
    uploadNextDocument();
}
Beispiel #2
0
void CWizSync::startUploadDocuments()
{
    Q_EMIT processLog(tr("uploading documents"));
    Q_EMIT progressChanged(progressAttachmentInfoDownloaded);

    m_db.GetModifiedDocuments(m_arrayAllDocumentsNeedToBeUploaded);
    uploadNextDocument();
}
Beispiel #3
0
void CWizKbSync::startUploadDocuments()
{
    m_db->GetModifiedDocuments(m_arrayAllDocumentsNeedToBeUploaded);

    int nTotal = m_arrayAllDocumentsNeedToBeUploaded.size();
    if (nTotal) {
        Q_EMIT processLog(WizFormatString1(tr("uploading documents, total %1 documents need upload"), nTotal));
    }

    Q_EMIT progressChanged(progressAttachmentInfoDownloaded);
    uploadNextDocument();
}
Beispiel #4
0
void CWizKbSync::startUploadDocuments()
{
    m_db->GetModifiedDocuments(m_arrayAllDocumentsNeedToBeUploaded);
    int nSize = m_arrayAllDocumentsNeedToBeUploaded.size();

    qDebug() << "[Syncing]upload documents, total: " << nSize;

    if (nSize) {
        Q_EMIT processLog(WizFormatString1(tr("uploading documents, total %1 documents need upload"), nSize));
    }

    uploadNextDocument();
}
Beispiel #5
0
void CWizSync::onUploadDocument(const WIZDOCUMENTDATAEX& data)
{
    m_db.ModifyObjectVersion(data.strGUID, WIZDOCUMENTDATAEX::ObjectName(), 0);
    uploadNextDocument();
}