Beispiel #1
0
void CWizSync::startUploadDeleteds()
{
    Q_EMIT processLog(tr("uploading deleted objects list"));
    Q_EMIT progressChanged(progressDeletedsDownloaded);

    m_db.GetModifiedDeletedGUIDs(m_arrayAllDeletedsNeedToBeUploaded);
    uploadNextDeleteds();
}
Beispiel #2
0
void CWizKbSync::onDeletedPostList(const CWizDeletedGUIDDataArray &arrayData)
{
    CWizDeletedGUIDDataArray::const_iterator it;
    for (it = arrayData.begin(); it != arrayData.end(); it++) {
        m_db->DeleteDeletedGUID(it->strGUID);
    }

    uploadNextDeleteds();
}
Beispiel #3
0
void CWizKbSync::startUploadDeleteds()
{
    m_db->GetModifiedDeletedGUIDs(m_arrayAllDeletedsNeedToBeUploaded);

    int nTotal = m_arrayAllDeletedsNeedToBeUploaded.size();
    if (nTotal) {
        Q_EMIT processLog(WizFormatString1(tr("uploading deleted objects list, total %1 deleted objects need upload"), nTotal));
    }

    Q_EMIT progressChanged(progressDeletedsDownloaded);
    uploadNextDeleteds();
}
Beispiel #4
0
void CWizKbSync::startUploadDeleteds()
{
    m_db->GetModifiedDeletedGUIDs(m_arrayAllDeletedsNeedToBeUploaded);
    int nSize = m_arrayAllDeletedsNeedToBeUploaded.size();

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

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

    uploadNextDeleteds();
}
Beispiel #5
0
void CWizKbSync::onDeletedPostList(const std::deque<WIZDELETEDGUIDDATA>& arrayData)
{
    CWizApi::onDeletedPostList(arrayData);

    uploadNextDeleteds();
}