[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: branches/KDE/3.5/kdelibs/khtml/dom
From: Maks Orlovich <maksim () kde ! org>
Date: 2007-03-15 19:56:56
Message-ID: 1173988616.686039.5247.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 642906 by orlovich:
This seems to be somewhat often asked-for, and we support it
internally, so bind it in the C++ API as well.
M +6 -0 html_inline.cpp
M +9 -1 html_inline.h
--- branches/KDE/3.5/kdelibs/khtml/dom/html_inline.cpp #642905:642906
@@ -207,6 +207,12 @@
impl->getDocument()->setFocusNode(static_cast<ElementImpl*>(impl));
}
+void HTMLAnchorElement::click( )
+{
+ if(impl) ((HTMLAnchorElement *)impl)->click();
+}
+
+
// --------------------------------------------------------------------------
HTMLBRElement::HTMLBRElement() : HTMLElement()
--- branches/KDE/3.5/kdelibs/khtml/dom/html_inline.h #642905:642906
@@ -21,7 +21,7 @@
* This file includes excerpts from the Document Object Model (DOM)
* Level 1 Specification (Recommendation)
* http://www.w3.org/TR/REC-DOM-Level-1/
- * Copyright © World Wide Web Consortium , (Massachusetts Institute of
+ * Copyright World Wide Web Consortium , (Massachusetts Institute of
* Technology , Institut National de Recherche en Informatique et en
* Automatique , Keio University ). All Rights Reserved.
*
@@ -236,6 +236,14 @@
*
*/
void focus ( );
+
+ /**
+ * Simulate a mouse-click.
+ * NOTE: this method is not part of the DOM
+ * @since 3.5.7
+ */
+ void click ( );
+
};
// --------------------------------------------------------------------------
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic