18 #define VP1HttpGetFile_cxx
20 #undef VP1HttpGetFile_cxx
42 thread->blockSignals(
true);
46 emit
downloadFailed(
"VP1HttpGetFile object deleted before download finished", urltofile, localtargetfile,
data );
49 thread->deleteLater();
74 const QString& localtargetfile,
75 const QString& md5sum,
79 return "Too many simultaneous downloads requested";
82 return "Already downloading file to location: "+localtargetfile;
102 const QString urltofile = thread->
urltofile();
104 const QString
data = thread->
data();
108 thread->deleteLater();
124 const QString urltofile = thread->
urltofile();
126 const QString
data = thread->
data();
128 thread->deleteLater();
129 emit
downloadFailed(
"Download thread terminated", urltofile, localtargetfile,
data );
141 QTimer::singleShot(0, thread, SLOT(checkForStall()));
152 QTimer::singleShot(0, thread, SLOT(checkForStall()));