예제 #1
0
HttpDownload::HttpDownload(QString _path)
{
    installationPath = _path;
    downloadPhase = 0;
    totalSizeDownload = 0;
    totalSizeDownloadedCurrent = 0;
    totalSizeDownloaded = 0;
    speed = 0;
    status = "checking";
    archive = new FileDecompression();

    getRemoteFileList();
}
예제 #2
0
HttpDownload::HttpDownload(QString _path)
{
    Logging::addEntry(LOG_LEVEL_INF, "Preparing HTTP download", FUNCTION_NAME);

    installationPath = _path;
    downloadPhase = 0;
    totalSizeDownload = 0;
    totalSizeDownloadedCurrent = 0;
    totalSizeDownloaded = 0;
    speed = 0;
    extractionState = false;
    status = "checking";
    archive = new FileDecompression();

    getRemoteFileList();
}