demos/browser/downloadmanager.cpp
changeset 3 41300fa6a67c
parent 0 1918ee327afb
child 4 3b1da2848fc7
equal deleted inserted replaced
2:56cd8111b7f7 3:41300fa6a67c
    92     m_url = m_reply->url();
    92     m_url = m_reply->url();
    93     m_reply->setParent(this);
    93     m_reply->setParent(this);
    94     connect(m_reply, SIGNAL(readyRead()), this, SLOT(downloadReadyRead()));
    94     connect(m_reply, SIGNAL(readyRead()), this, SLOT(downloadReadyRead()));
    95     connect(m_reply, SIGNAL(error(QNetworkReply::NetworkError)),
    95     connect(m_reply, SIGNAL(error(QNetworkReply::NetworkError)),
    96             this, SLOT(error(QNetworkReply::NetworkError)));
    96             this, SLOT(error(QNetworkReply::NetworkError)));
    97     connect(m_reply, SIGNAL(downloadProgress(qint64, qint64)),
    97     connect(m_reply, SIGNAL(downloadProgress(qint64,qint64)),
    98             this, SLOT(downloadProgress(qint64, qint64)));
    98             this, SLOT(downloadProgress(qint64,qint64)));
    99     connect(m_reply, SIGNAL(metaDataChanged()),
    99     connect(m_reply, SIGNAL(metaDataChanged()),
   100             this, SLOT(metaDataChanged()));
   100             this, SLOT(metaDataChanged()));
   101     connect(m_reply, SIGNAL(finished()),
   101     connect(m_reply, SIGNAL(finished()),
   102             this, SLOT(finished()));
   102             this, SLOT(finished()));
   103 
   103