Changeset 84928 in webkit
- Timestamp:
- Apr 26, 2011 10:33:14 AM (13 years ago)
- Location:
- trunk/Source/WebKit/qt
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/qt/ChangeLog
r84906 r84928 1 2011-04-26 Siddharth Mathur <siddharth.mathur@nokia.com> 2 3 Reviewed by Andreas Kling. 4 5 [Qt] Build fix: QtDeclarative Webview element has a fixed white background 6 https://bugs.webkit.org/show_bug.cgi?id=40918 7 8 Macro Q_REVISION and associated qdeclarativeitem.h signals are not available in 4.7.3 headers in Nokia Qt SDK. 9 10 * declarative/plugin.cpp: Bump up required version to 4.7.4+ 11 (WebKitQmlPlugin::registerTypes): 12 * declarative/qdeclarativewebview.cpp: ditto 13 * declarative/qdeclarativewebview_p.h: ditto 14 * tests/qdeclarativewebview/tst_qdeclarativewebview.cpp: ditto 15 1 16 2011-04-26 Kristóf Kosztyó <Kosztyo.Kristof@stud.u-szeged.hu> 2 17 -
trunk/Source/WebKit/qt/declarative/plugin.cpp
r80781 r84928 33 33 qmlRegisterType<QDeclarativeWebSettings>(); 34 34 qmlRegisterType<QDeclarativeWebView>(uri, 1, 0, "WebView"); 35 #if QT_VERSION >= 0x04070 335 #if QT_VERSION >= 0x040704 36 36 qmlRegisterType<QDeclarativeWebView>(uri, 1, 1, "WebView"); 37 37 qmlRegisterRevision<QDeclarativeWebView, 0>("QtWebKit", 1, 0); -
trunk/Source/WebKit/qt/declarative/qdeclarativewebview.cpp
r81471 r84928 982 982 } 983 983 984 #if QT_VERSION >= 0x04070 3984 #if QT_VERSION >= 0x040704 985 985 /*! 986 986 \qmlproperty color WebView::backgroundColor -
trunk/Source/WebKit/qt/declarative/qdeclarativewebview_p.h
r80781 r84928 124 124 Q_PROPERTY(QSize contentsSize READ contentsSize NOTIFY contentsSizeChanged) 125 125 Q_PROPERTY(qreal contentsScale READ contentsScale WRITE setContentsScale NOTIFY contentsScaleChanged) 126 #if QT_VERSION >= 0x04070 3126 #if QT_VERSION >= 0x040704 127 127 Q_PROPERTY(QColor backgroundColor READ backgroundColor WRITE setBackgroundColor NOTIFY backgroundColorChanged REVISION 1) 128 128 #endif … … 197 197 qreal contentsScale() const; 198 198 199 #if QT_VERSION >= 0x04070 3199 #if QT_VERSION >= 0x040704 200 200 Q_REVISION(1) QColor backgroundColor() const; 201 201 Q_REVISION(1) void setBackgroundColor(const QColor&); … … 218 218 void contentsSizeChanged(const QSize&); 219 219 void contentsScaleChanged(); 220 #if QT_VERSION >= 0x04070 3220 #if QT_VERSION >= 0x040704 221 221 void backgroundColorChanged(); 222 222 #endif -
trunk/Source/WebKit/qt/tests/qdeclarativewebview/tst_qdeclarativewebview.cpp
r84100 r84928 42 42 void setHtml(); 43 43 void settings(); 44 #if QT_VERSION >= 0x04070 344 #if QT_VERSION >= 0x040704 45 45 void backgroundColor(); 46 46 #endif … … 492 492 } 493 493 494 #if QT_VERSION >= 0x04070 3494 #if QT_VERSION >= 0x040704 495 495 void tst_QDeclarativeWebView::backgroundColor() 496 496 {
Note: See TracChangeset
for help on using the changeset viewer.