Changeset 769 for trunk/examples/network/http/httpwindow.h
- Timestamp:
- Aug 2, 2010, 9:27:30 PM (15 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:mergeinfo changed
/branches/vendor/nokia/qt/4.6.3 (added) merged: 768 /branches/vendor/nokia/qt/current merged: 767 /branches/vendor/nokia/qt/4.6.2 removed
- Property svn:mergeinfo changed
-
trunk/examples/network/http/httpwindow.h
r651 r769 44 44 45 45 #include <QDialog> 46 47 46 48 47 49 QT_BEGIN_NAMESPACE 48 50 class QDialogButtonBox; 49 51 class QFile; 50 class QHttp;51 class QHttpResponseHeader;52 52 class QLabel; 53 53 class QLineEdit; … … 56 56 class QSslError; 57 57 class QAuthenticator; 58 59 60 58 61 QT_END_NAMESPACE 59 62 … … 65 68 HttpWindow(QWidget *parent = 0); 66 69 70 71 67 72 private slots: 68 73 void downloadFile(); 69 74 void cancelDownload(); 70 void http RequestFinished(int requestId, bool error);71 void readResponseHeader(const QHttpResponseHeader &responseHeader);72 void updateDataReadProgress( int bytesRead, inttotalBytes);75 void http); 76 void ); 77 void updateDataReadProgress( totalBytes); 73 78 void enableDownloadButton(); 74 void slotAuthenticationRequired( const QString &, quint16,QAuthenticator *);79 void slotAuthenticationRequired(QAuthenticator *); 75 80 #ifndef QT_NO_OPENSSL 76 void sslErrors( const QList<QSslError> &errors);81 void sslErrors(const QList<QSslError> &errors); 77 82 #endif 78 83 … … 86 91 QDialogButtonBox *buttonBox; 87 92 88 QHttp *http; 93 QUrl url; 94 QNetworkAccessManager qnam; 95 QNetworkReply *reply; 89 96 QFile *file; 90 97 int httpGetId;
Note:
See TracChangeset
for help on using the changeset viewer.