Changeset 88167 in webkit
- Timestamp:
- Jun 6, 2011 7:52:19 AM (13 years ago)
- Location:
- trunk/Tools
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/ChangeLog
r88161 r88167 1 2011-06-06 Csaba Osztrogonác <ossy@webkit.org> 2 3 [Qt] Implement download feature for QtTestBrowser 4 https://bugs.webkit.org/show_bug.cgi?id=61865 5 6 Buildfix for --minimal and CONFIG+=qt_minimal build after r88161. 7 8 * QtTestBrowser/launcherwindow.cpp: 9 (LauncherWindow::LauncherWindow): 10 * QtTestBrowser/launcherwindow.h: 11 1 12 2011-06-06 Barát Tibor <Barat.Tibor@stud.u-szeged.hu> 2 13 -
trunk/Tools/QtTestBrowser/launcherwindow.cpp
r88161 r88167 35 35 #include "launcherwindow.h" 36 36 #include "urlloader.h" 37 38 #if !defined(QT_NO_FILEDIALOG) && !defined(QT_NO_MESSAGEBOX) 37 39 #include <QFileDialog> 38 40 #include <QFileInfo> 39 41 #include <QMessageBox> 40 42 #include <QNetworkReply> 43 #endif 41 44 42 45 const int gExitClickArea = 80; … … 51 54 , m_formatMenuAction(0) 52 55 , m_zoomAnimation(0) 56 #if !defined(QT_NO_FILEDIALOG) && !defined(QT_NO_MESSAGEBOX) 53 57 , m_reply(0) 58 #endif 54 59 #ifndef QT_NO_LINEEDIT 55 60 , m_findFlag(0) … … 64 69 65 70 createChrome(); 66 71 #if !defined(QT_NO_FILEDIALOG) && !defined(QT_NO_MESSAGEBOX) 67 72 connect(page(), SIGNAL(downloadRequested(const QNetworkRequest&)), this, SLOT(downloadRequest(const QNetworkRequest&))); 73 #endif 68 74 } 69 75 … … 976 982 } 977 983 984 #if !defined(QT_NO_FILEDIALOG) && !defined(QT_NO_MESSAGEBOX) 978 985 void LauncherWindow::downloadRequest(const QNetworkRequest &request) 979 986 { … … 1001 1008 } 1002 1009 } 1010 #endif 1003 1011 1004 1012 void LauncherWindow::updateFPS(int fps) -
trunk/Tools/QtTestBrowser/launcherwindow.h
r88161 r88167 207 207 208 208 void printURL(const QUrl&); 209 #if !defined(QT_NO_FILEDIALOG) && !defined(QT_NO_MESSAGEBOX) 209 210 void downloadRequest(const QNetworkRequest&); 210 211 void fileDownloadFinished(); 212 #endif 211 213 212 214 public slots: … … 241 243 242 244 QPropertyAnimation* m_zoomAnimation; 245 #if !defined(QT_NO_FILEDIALOG) && !defined(QT_NO_MESSAGEBOX) 243 246 QNetworkReply* m_reply; 247 #endif 244 248 QList<QTouchEvent::TouchPoint> m_touchPoints; 245 249 bool m_touchMocking;
Note: See TracChangeset
for help on using the changeset viewer.