#include <VP1HttpGetFile.h>
Definition at line 25 of file VP1HttpGetFile.h.
 
◆ VP1HttpGetFile()
      
        
          | VP1HttpGetFile::VP1HttpGetFile | ( | QObject * | parent = 0 | ) |  | 
      
 
 
◆ ~VP1HttpGetFile()
  
  | 
        
          | VP1HttpGetFile::~VP1HttpGetFile | ( |  | ) |  |  | virtual | 
 
Definition at line 38 of file VP1HttpGetFile.cxx.
   42     thread->blockSignals(
true);
 
   46     emit 
downloadFailed( 
"VP1HttpGetFile object deleted before download finished", urltofile, localtargetfile, 
data );
 
   49     thread->deleteLater();
 
 
 
 
◆ downloadFailed
  
  | 
        
          | void VP1HttpGetFile::downloadFailed | ( | const QString & | error, |  
          |  |  | const QString & | urltofile, |  
          |  |  | const QString & | localtargetfile, |  
          |  |  | const QString & | data |  
          |  | ) |  |  |  | signal | 
 
 
◆ downloadSuccessful
  
  | 
        
          | void VP1HttpGetFile::downloadSuccessful | ( | const QString & | urltofile, |  
          |  |  | const QString & | localtargetfile, |  
          |  |  | const QString & | data |  
          |  | ) |  |  |  | signal | 
 
 
◆ downloadThreadFinished
  
  | 
        
          | void VP1HttpGetFile::downloadThreadFinished | ( |  | ) |  |  | privateslot | 
 
 
◆ downloadThreadTerminated
  
  | 
        
          | void VP1HttpGetFile::downloadThreadTerminated | ( |  | ) |  |  | privateslot | 
 
 
◆ isDownloading()
      
        
          | bool VP1HttpGetFile::isDownloading | ( | const QString & | urltofile | ) | const | 
      
 
Definition at line 137 of file VP1HttpGetFile.cxx.
  141       QTimer::singleShot(0, thread, SLOT(checkForStall()));
 
 
 
 
◆ isDownloadingTo()
      
        
          | bool VP1HttpGetFile::isDownloadingTo | ( | const QString & | localtargetfile | ) | const | 
      
 
Definition at line 148 of file VP1HttpGetFile.cxx.
  152       QTimer::singleShot(0, thread, SLOT(checkForStall()));
 
 
 
 
◆ maxNumberOfPendingDownloads()
      
        
          | unsigned VP1HttpGetFile::maxNumberOfPendingDownloads | ( |  | ) | const | 
      
 
 
◆ numberOfPendingDownloads()
      
        
          | unsigned VP1HttpGetFile::numberOfPendingDownloads | ( |  | ) | const | 
      
 
 
◆ setMaxNumberOfPendingDownloads()
      
        
          | void VP1HttpGetFile::setMaxNumberOfPendingDownloads | ( | unsigned | n | ) |  | 
      
 
 
◆ startDownload()
      
        
          | QString VP1HttpGetFile::startDownload | ( | const QString & | urltofile, | 
        
          |  |  | const QString & | localtargetfile, | 
        
          |  |  | const QString & | md5sum = "", | 
        
          |  |  | const QString & | data = "" | 
        
          |  | ) |  |  | 
      
 
Definition at line 73 of file VP1HttpGetFile.cxx.
   79     return "Too many simultaneous downloads requested";
 
   82     return "Already downloading file to location: "+localtargetfile;
 
 
 
 
◆ m_d
The documentation for this class was generated from the following files: