Commit 0b202e60 authored by hausmann@webkit.org's avatar hausmann@webkit.org

2009-07-27 Volker Hilsheimer <volker.hilsheimer@nokia.com>

        Reviewed by Simon Hausmann.

        QWebView's "enabled" parameter should default to true, as with QGraphicsView and
        QPainter.

        * Api/qwebview.cpp: Add reference to QPainter::renderHints().
        * Api/qwebview.h: Add default for enabled argument.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@46415 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 52f12021
......@@ -615,6 +615,8 @@ qreal QWebView::textSizeMultiplier() const
These hints are used to initialize QPainter before painting the web page.
QPainter::TextAntialiasing is enabled by default.
\sa QPainter::renderHints()
*/
QPainter::RenderHints QWebView::renderHints() const
{
......
......@@ -105,7 +105,7 @@ public:
QPainter::RenderHints renderHints() const;
void setRenderHints(QPainter::RenderHints hints);
void setRenderHint(QPainter::RenderHint hint, bool enabled);
void setRenderHint(QPainter::RenderHint hint, bool enabled = true);
bool findText(const QString& subString, QWebPage::FindFlags options = 0);
......
2009-07-27 Volker Hilsheimer <volker.hilsheimer@nokia.com>
Reviewed by Simon Hausmann.
QWebView's "enabled" parameter should default to true, as with QGraphicsView and
QPainter.
* Api/qwebview.cpp: Add reference to QPainter::renderHints().
* Api/qwebview.h: Add default for enabled argument.
2009-07-26 Kavindra Palaraja <kavindra.palaraja@nokia.com>
Reviewed by Simon Hausmann.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment