Changeset 60609 in webkit


Ignore:
Timestamp:
Jun 3, 2010 12:03:05 AM (14 years ago)
Author:
eric@webkit.org
Message:

2010-06-02 Tasuku Suzuki <tasuku.suzuki@nokia.com>

Reviewed by Shinichiro Hamaji.

[Qt] Fix compilation with QT_NO_PROPERTIES
https://bugs.webkit.org/show_bug.cgi?id=38324

  • Api/qwebpage.cpp: (QWebPage::event):
  • Api/qwebpage_p.h:
  • WebCoreSupport/InspectorClientQt.cpp: (WebCore::InspectorClientQt::openInspectorFrontend):

2010-06-02 Tasuku Suzuki <tasuku.suzuki@nokia.com>

Reviewed by Shinichiro Hamaji.

[Qt] Fix compilation with QT_NO_PROPERTIES
https://bugs.webkit.org/show_bug.cgi?id=38324

  • QtTestBrowser/main.cpp: (LauncherWindow::init):
Location:
trunk
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebKit/qt/Api/qwebpage.cpp

    r60566 r60609  
    12041204}
    12051205
     1206#ifndef QT_NO_PROPERTIES
    12061207void QWebPagePrivate::dynamicPropertyChangeEvent(QDynamicPropertyChangeEvent* event)
    12071208{
     
    12581259#endif
    12591260}
     1261#endif
    12601262
    12611263void QWebPagePrivate::shortcutOverrideEvent(QKeyEvent* event)
     
    26422644        break;
    26432645#endif
     2646#ifndef QT_NO_PROPERTIES
    26442647    case QEvent::DynamicPropertyChange:
    26452648        d->dynamicPropertyChangeEvent(static_cast<QDynamicPropertyChangeEvent*>(ev));
    26462649        break;
     2650#endif
    26472651    default:
    26482652        return QObject::event(ev);
  • trunk/WebKit/qt/Api/qwebpage_p.h

    r60566 r60609  
    113113    void inputMethodEvent(QInputMethodEvent*);
    114114
     115#ifndef QT_NO_PROPERTIES
    115116    void dynamicPropertyChangeEvent(QDynamicPropertyChangeEvent*);
     117#endif
    116118
    117119    void shortcutOverrideEvent(QKeyEvent*);
  • trunk/WebKit/qt/ChangeLog

    r60593 r60609  
     12010-06-02  Tasuku Suzuki  <tasuku.suzuki@nokia.com>
     2
     3        Reviewed by Shinichiro Hamaji.
     4
     5        [Qt] Fix compilation with QT_NO_PROPERTIES
     6        https://bugs.webkit.org/show_bug.cgi?id=38324
     7
     8        * Api/qwebpage.cpp:
     9        (QWebPage::event):
     10        * Api/qwebpage_p.h:
     11        * WebCoreSupport/InspectorClientQt.cpp:
     12        (WebCore::InspectorClientQt::openInspectorFrontend):
     13
    1142010-06-02  Luiz Agostini  <luiz.agostini@openbossa.org>
    215
  • trunk/WebKit/qt/WebCoreSupport/InspectorClientQt.cpp

    r59231 r60609  
    9494    // around and don't remove it.
    9595    // https://bugs.webkit.org/show_bug.cgi?id=35340
    96     QUrl inspectorUrl = inspector->property("_q_inspectorUrl").toUrl();
     96    QUrl inspectorUrl;
     97#ifndef QT_NO_PROPERTIES
     98    inspectorUrl = inspector->property("_q_inspectorUrl").toUrl();
     99#endif
    97100    if (!inspectorUrl.isValid())
    98101        inspectorUrl = QUrl("qrc:/webkit/inspector/inspector.html");
  • trunk/WebKitTools/ChangeLog

    r60586 r60609  
     12010-06-02  Tasuku Suzuki  <tasuku.suzuki@nokia.com>
     2
     3        Reviewed by Shinichiro Hamaji.
     4
     5        [Qt] Fix compilation with QT_NO_PROPERTIES
     6        https://bugs.webkit.org/show_bug.cgi?id=38324
     7
     8        * QtTestBrowser/main.cpp:
     9        (LauncherWindow::init):
     10
    1112010-06-02  Diego Gonzalez  <diegohcg@webkit.org>
    212
  • trunk/WebKitTools/QtTestBrowser/main.cpp

    r60035 r60609  
    239239
    240240    m_inspector = new WebInspector(splitter);
     241#ifndef QT_NO_PROPERTIES
    241242    if (!gInspectorUrl.isEmpty())
    242243        m_inspector->setProperty("_q_inspectorUrl", gInspectorUrl);
     244#endif
    243245    m_inspector->setPage(page());
    244246    m_inspector->hide();
Note: See TracChangeset for help on using the changeset viewer.