org.kde.koala
Interface KHTMLPartSignals


public interface KHTMLPartSignals


Method Summary
 void caretPositionChanged(Node node, long offset)
          void docCreated(); /* This signal is emitted whenever the caret position has been changed.
 void formSubmitNotification(java.lang.String action, java.lang.String url, byte[] formData, java.lang.String target, java.lang.String contentType, java.lang.String boundary)
          If form notification is on, this will be emitted either for a form submit or before the form submit according to the setting.
 void nodeActivated(Node arg1)
          This signal is emitted when an element retrieves the keyboard focus.
 void onURL(java.lang.String url)
          Emitted if the cursor is moved over an URL.
 void popupMenu(java.lang.String url, org.kde.qt.QPoint point)
          Emitted when the user clicks the right mouse button on the document.
 void selectionChanged()
          This signal is emitted when the selection changes.
 

Method Detail

onURL

void onURL(java.lang.String url)
Emitted if the cursor is moved over an URL.


popupMenu

void popupMenu(java.lang.String url,
               org.kde.qt.QPoint point)
Emitted when the user clicks the right mouse button on the document.


selectionChanged

void selectionChanged()
This signal is emitted when the selection changes.


nodeActivated

void nodeActivated(Node arg1)
This signal is emitted when an element retrieves the keyboard focus. Note that the signal argument can be a null node if no element is active, meaning a node has explicitly been deactivated without a new one becoming active.


caretPositionChanged

void caretPositionChanged(Node node,
                          long offset)
void docCreated(); /* This signal is emitted whenever the caret position has been changed. The signal transmits the position the DOM.Range way, the node and the zero-based offset within this node.

Parameters:
node - node which the caret is in. This can be null if the caret has been deactivated.
offset - offset within the node. If the node is null, the offset is meaningless.

formSubmitNotification

void formSubmitNotification(java.lang.String action,
                            java.lang.String url,
                            byte[] formData,
                            java.lang.String target,
                            java.lang.String contentType,
                            java.lang.String boundary)
If form notification is on, this will be emitted either for a form submit or before the form submit according to the setting.