--- ../../kget/kget/transfer.cpp 2004-04-17 16:56:29.000000000 +1000 +++ transfer.cpp 2004-04-27 23:05:41.000000000 +1000 @@ -605,7 +605,7 @@ void Transfer::slotSpeed(unsigned long b -void Transfer::slotTotalSize(unsigned long bytes) +void Transfer::slotTotalSize(KIO::filesize_t bytes) { #ifdef _DEBUG sDebugIn<<" totalSize is = "<lv_total, KIO::convertSize(totalSize)); dlgIndividual->setTotalSize(totalSize); dlgIndividual->setPercent(0); @@ -639,7 +639,7 @@ void Transfer::slotTotalSize(unsigned lo -void Transfer::slotProcessedSize(unsigned long bytes) +void Transfer::slotProcessedSize(KIO::filesize_t bytes) { //sDebug<< ">>>>Entering"<writeEntry("Mode", mode); config->writeEntry("Status", status); config->writeEntry("CanResume", canResume); - config->writeEntry("TotalSize", totalSize); - config->writeEntry("ProcessedSize", processedSize); + config->writeEntry("TotalSize", (QVariant &)totalSize); + config->writeEntry("ProcessedSize", (QVariant &)processedSize); config->writeEntry("ScheduledTime", startTime); sDebugOut << endl; } --- ../../kget/kget/transfer.cpp 2004-04-17 16:56:29.000000000 +1000 +++ transfer.cpp 2004-04-27 23:05:41.000000000 +1000 @@ -605,7 +605,7 @@ void Transfer::slotSpeed(unsigned long b -void Transfer::slotTotalSize(unsigned long bytes) +void Transfer::slotTotalSize(KIO::filesize_t bytes) { #ifdef _DEBUG sDebugIn<<" totalSize is = "<lv_total, KIO::convertSize(totalSize)); dlgIndividual->setTotalSize(totalSize); dlgIndividual->setPercent(0); @@ -639,7 +639,7 @@ void Transfer::slotTotalSize(unsigned lo -void Transfer::slotProcessedSize(unsigned long bytes) +void Transfer::slotProcessedSize(KIO::filesize_t bytes) { //sDebug<< ">>>>Entering"<writeEntry("Mode", mode); config->writeEntry("Status", status); config->writeEntry("CanResume", canResume); - config->writeEntry("TotalSize", totalSize); - config->writeEntry("ProcessedSize", processedSize); + config->writeEntry("TotalSize", (QVariant &)totalSize); + config->writeEntry("ProcessedSize", (QVariant &)processedSize); config->writeEntry("ScheduledTime", startTime); sDebugOut << endl; } --- ../../kget/kget/kmainwidget.cpp 2004-04-17 16:56:27.000000000 +1000 +++ kmainwidget.cpp 2004-04-18 15:33:19.000000000 +1000 @@ -2041,7 +2041,7 @@ void KMainWidget::updateStatusBar() QString tmpstr; int totalFiles = 0; - int totalSize = 0; + KIO::filesize_t totalSize = 0; int totalSpeed = 0; QTime remTime;