Exemplo n.º 1
0
void URLDownloader::timeout()
{
   pReply_->abort();

   downloadTimeout();

   deleteLater();
}
Exemplo n.º 2
0
/**
 * @brief DownloadManager::DownloadManager
 * @param parent
 */
DownloadManager::DownloadManager(QObject *parent) :
    QObject(parent)
{
    m_downloading = false;
    connect(&m_timer, SIGNAL(timeout()), this, SLOT(downloadTimeout()));
}