comparison data/fileio/RemoteFile.cpp @ 278:9a13687c078b

* Add SingleColourLayer to manage colours for layers that have a single predominant colour (i.e. most of them).
author Chris Cannam
date Thu, 12 Jul 2007 16:14:59 +0000
parents ce6f65ab3327
children 7802b0e2b0ff
comparison
equal deleted inserted replaced
277:3b8008d09541 278:9a13687c078b
62 connect(m_http, SIGNAL(done(bool)), this, SLOT(done(bool))); 62 connect(m_http, SIGNAL(done(bool)), this, SLOT(done(bool)));
63 connect(m_http, SIGNAL(dataReadProgress(int, int)), 63 connect(m_http, SIGNAL(dataReadProgress(int, int)),
64 this, SLOT(dataReadProgress(int, int))); 64 this, SLOT(dataReadProgress(int, int)));
65 connect(m_http, SIGNAL(responseHeaderReceived(const QHttpResponseHeader &)), 65 connect(m_http, SIGNAL(responseHeaderReceived(const QHttpResponseHeader &)),
66 this, SLOT(httpResponseHeaderReceived(const QHttpResponseHeader &))); 66 this, SLOT(httpResponseHeaderReceived(const QHttpResponseHeader &)));
67 m_http->get(url.path(), m_localFile); 67 QString path = url.path();
68 std::cerr << "RemoteFile: path is \"" << path.toStdString() << "\"" << std::endl;
69 m_http->get(path, m_localFile);
68 70
69 } else if (scheme == "ftp") { 71 } else if (scheme == "ftp") {
70 72
71 m_ok = true; 73 m_ok = true;
72 m_ftp = new QFtp; 74 m_ftp = new QFtp;