Changeset 35962 in webkit


Ignore:
Timestamp:
Aug 27, 2008 8:25:37 PM (16 years ago)
Author:
zecke@webkit.org
Message:

2008-08-27 Erik Bunce <elbunce@thehive.com>

Reviewed by Eric Seidel.

https://bugs.webkit.org/show_bug.cgi?id=20223

Add QWebPage::contentsChanged() signal to notify of content changes.

  • Api/qwebpage.cpp:
  • Api/qwebpage.h:
  • WebCoreSupport/EditorClientQt.cpp: (WebCore::EditorClientQt::respondToChangedContents):
Location:
trunk/WebKit/qt
Files:
4 edited

Legend:

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

    r35796 r35962  
    24122412
    24132413/*!
     2414    \fn void QWebPage::contentsChanged()
     2415
     2416    This signal is emitted whenever the content changes during editing.
     2417
     2418    \sa selectedText()
     2419*/
     2420
     2421/*!
    24142422    \fn void QWebPage::geometryChangeRequested(const QRect& geom)
    24152423
  • trunk/WebKit/qt/Api/qwebpage.h

    r35796 r35962  
    274274
    275275    void microFocusChanged();
     276    void contentsChanged();
    276277
    277278protected:
  • trunk/WebKit/qt/ChangeLog

    r35946 r35962  
     12008-08-27  Erik Bunce  <elbunce@thehive.com>
     2
     3        Reviewed by Eric Seidel.
     4
     5        https://bugs.webkit.org/show_bug.cgi?id=20223
     6
     7        Add QWebPage::contentsChanged() signal to notify of content changes.
     8
     9        * Api/qwebpage.cpp:
     10        * Api/qwebpage.h:
     11        * WebCoreSupport/EditorClientQt.cpp:
     12        (WebCore::EditorClientQt::respondToChangedContents):
     13
    1142008-08-27  Brady Eidson  <beidson@apple.com>
    215
  • trunk/WebKit/qt/WebCoreSupport/EditorClientQt.cpp

    r35796 r35962  
    206206        printf("EDITING DELEGATE: webViewDidChange:WebViewDidChangeNotification\n");
    207207    m_page->d->updateEditorActions();
     208
     209    emit m_page->contentsChanged();
    208210}
    209211
Note: See TracChangeset for help on using the changeset viewer.