Mercurial > hg > svcore
comparison data/fileio/RemoteFile.h @ 315:96ef9746c560
* Add content type to remote file
author | Chris Cannam |
---|---|
date | Thu, 18 Oct 2007 10:24:26 +0000 |
parents | 4fc6f49436b3 |
children | 3a6725f285d6 |
comparison
equal
deleted
inserted
replaced
314:70a232b1f12a | 315:96ef9746c560 |
---|---|
42 void wait(); | 42 void wait(); |
43 | 43 |
44 bool isOK() const; | 44 bool isOK() const; |
45 bool isDone() const; | 45 bool isDone() const; |
46 | 46 |
47 QString getContentType() const; | |
48 | |
47 QString getLocalFilename() const; | 49 QString getLocalFilename() const; |
48 QString getErrorString() const; | 50 QString getErrorString() const; |
49 | 51 |
50 void deleteLocalFile(); | 52 void deleteLocalFile(); |
51 | 53 |
70 QFtp *m_ftp; | 72 QFtp *m_ftp; |
71 QHttp *m_http; | 73 QHttp *m_http; |
72 QFile *m_localFile; | 74 QFile *m_localFile; |
73 QString m_localFilename; | 75 QString m_localFilename; |
74 QString m_errorString; | 76 QString m_errorString; |
77 QString m_contentType; | |
75 bool m_ok; | 78 bool m_ok; |
76 int m_lastStatus; | 79 int m_lastStatus; |
77 bool m_done; | 80 bool m_done; |
78 QProgressDialog *m_progressDialog; | 81 QProgressDialog *m_progressDialog; |
79 QTimer m_progressShowTimer; | 82 QTimer m_progressShowTimer; |