[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdelibs/khtml/dom
From:       Peter Kelly <pmk () post ! com>
Date:       2003-05-30 7:14:24
[Download RAW message or body]

CVS commit by pmk: 

Added a public API to update the rendered document display after changes
to the DOM tree - Document::updateRendering()

CCMAIL: quanta-devel@kde.org


  M +7 -1      dom_doc.cpp   1.47
  M +9 -1      dom_doc.h   1.32


--- kdelibs/khtml/dom/dom_doc.cpp  #1.46:1.47
@@ -426,4 +426,10 @@ DOMString Document::completeURL(const DO
 }
 
+void Document::updateRendering()
+{
+    if ( !impl ) return;
+    static_cast<DocumentImpl*>( impl )->updateRendering(  );
+}
+
 CSSStyleDeclaration Document::getOverrideStyle(const Element &elt, const DOMString &pseudoElt)
 {

--- kdelibs/khtml/dom/dom_doc.h  #1.31:1.32
@@ -782,4 +782,12 @@ public:
     DOMString completeURL(const DOMString& url);
 
+    /**
+     * not part of the DOM
+     *
+     * Updates the rendered display after one or more changes to
+     * the DOM structure
+     */
+    void updateRendering();
+
 protected:
     Document( DocumentImpl *i);


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic