From 87f718054d89323f6c32b0c6a15d8ee18cf572df Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sun, 27 Jan 2013 21:03:46 -0600 Subject: Rename kiobuffer and KHTML --- .../koala/org/kde/koala/BrowserHostExtension.java | 2 +- kdejava/koala/org/kde/koala/Document.java | 4 +- kdejava/koala/org/kde/koala/Element.java | 4 +- kdejava/koala/org/kde/koala/HTMLDocument.java | 4 +- kdejava/koala/org/kde/koala/KHTMLPart.java | 1004 -------------------- kdejava/koala/org/kde/koala/KHTMLPartSignals.java | 61 -- kdejava/koala/org/kde/koala/KHTMLSettings.java | 173 ---- kdejava/koala/org/kde/koala/KHTMLView.java | 139 --- kdejava/koala/org/kde/koala/KHTMLViewSignals.java | 30 - kdejava/koala/org/kde/koala/Makefile.am | 2 +- kdejava/koala/org/kde/koala/TDEHTMLPart.java | 1004 ++++++++++++++++++++ .../koala/org/kde/koala/TDEHTMLPartSignals.java | 61 ++ kdejava/koala/org/kde/koala/TDEHTMLSettings.java | 173 ++++ kdejava/koala/org/kde/koala/TDEHTMLView.java | 139 +++ .../koala/org/kde/koala/TDEHTMLViewSignals.java | 30 + kdejava/koala/org/kde/koala/URLArgs.java | 16 +- 16 files changed, 1423 insertions(+), 1423 deletions(-) delete mode 100644 kdejava/koala/org/kde/koala/KHTMLPart.java delete mode 100644 kdejava/koala/org/kde/koala/KHTMLPartSignals.java delete mode 100644 kdejava/koala/org/kde/koala/KHTMLSettings.java delete mode 100644 kdejava/koala/org/kde/koala/KHTMLView.java delete mode 100644 kdejava/koala/org/kde/koala/KHTMLViewSignals.java create mode 100644 kdejava/koala/org/kde/koala/TDEHTMLPart.java create mode 100644 kdejava/koala/org/kde/koala/TDEHTMLPartSignals.java create mode 100644 kdejava/koala/org/kde/koala/TDEHTMLSettings.java create mode 100644 kdejava/koala/org/kde/koala/TDEHTMLView.java create mode 100644 kdejava/koala/org/kde/koala/TDEHTMLViewSignals.java (limited to 'kdejava/koala/org') diff --git a/kdejava/koala/org/kde/koala/BrowserHostExtension.java b/kdejava/koala/org/kde/koala/BrowserHostExtension.java index 3ae1362f..60c07617 100644 --- a/kdejava/koala/org/kde/koala/BrowserHostExtension.java +++ b/kdejava/koala/org/kde/koala/BrowserHostExtension.java @@ -12,7 +12,7 @@ import org.kde.qt.TQObject; An extension class for container parts, i.e. parts that contain other parts. - For instance a KHTMLPart hosts one part per frame. + For instance a TDEHTMLPart hosts one part per frame. @short An extension class for container parts, i. */ diff --git a/kdejava/koala/org/kde/koala/Document.java b/kdejava/koala/org/kde/koala/Document.java index 08acab8d..1d290cd9 100644 --- a/kdejava/koala/org/kde/koala/Document.java +++ b/kdejava/koala/org/kde/koala/Document.java @@ -429,11 +429,11 @@ public class Document extends Node { */ public native void removeStyleSheet(StyleSheet sheet); /** - @return The KHTML view widget of this document. + @return The TDEHTML view widget of this document. @short */ - public native KHTMLView view(); + public native TDEHTMLView view(); /** Introduced in DOM Level 2 This method is from the DocumentCSS interface diff --git a/kdejava/koala/org/kde/koala/Element.java b/kdejava/koala/org/kde/koala/Element.java index 80c809b1..7a1980f1 100644 --- a/kdejava/koala/org/kde/koala/Element.java +++ b/kdejava/koala/org/kde/koala/Element.java @@ -310,11 +310,11 @@ public class Element extends Node { */ public native boolean isHTMLElement(); /** - KHTML extension to DOM + TDEHTML extension to DOM This method returns the associated form element. returns null if this element is not a form-like element or if this elment is not in the scope of a form element. - @short KHTML extension to DOM This method returns the associated form element. + @short TDEHTML extension to DOM This method returns the associated form element. */ public native Element form(); public static native boolean tdehtmlValidAttrName(String name); diff --git a/kdejava/koala/org/kde/koala/HTMLDocument.java b/kdejava/koala/org/kde/koala/HTMLDocument.java index be13ac14..b4ae5fd4 100644 --- a/kdejava/koala/org/kde/koala/HTMLDocument.java +++ b/kdejava/koala/org/kde/koala/HTMLDocument.java @@ -35,11 +35,11 @@ public class HTMLDocument extends Document { parent != 0 @short The parent is the widget the document should render itself in. */ - public HTMLDocument(KHTMLView parent) { + public HTMLDocument(TDEHTMLView parent) { super((Class) null); newHTMLDocument(parent); } - private native void newHTMLDocument(KHTMLView parent); + private native void newHTMLDocument(TDEHTMLView parent); public HTMLDocument(HTMLDocument other) { super((Class) null); newHTMLDocument(other); diff --git a/kdejava/koala/org/kde/koala/KHTMLPart.java b/kdejava/koala/org/kde/koala/KHTMLPart.java deleted file mode 100644 index 9b20aa31..00000000 --- a/kdejava/koala/org/kde/koala/KHTMLPart.java +++ /dev/null @@ -1,1004 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQRect; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQDataStream; -import org.kde.qt.TQObject; -import org.kde.qt.TQPoint; -import java.util.ArrayList; -import org.kde.qt.TQPainter; -import org.kde.qt.TQCustomEvent; -import org.kde.qt.TQCursor; -import org.kde.qt.TQVariant; -import org.kde.qt.TQWidget; - -/** - - This class is tdehtml's main class. It features an almost complete - web browser, and html renderer. - The easiest way to use this class (if you just want to display an HTML - page at some URL) is the following: -
- KURL url = "http://www.kde.org";
- KHTMLPart w = new KHTMLPart();
- w.openURL(url);
- w.view().resize(500, 400);
- w.show();
- 
- Java and JavaScript are enabled by default depending on the user's - settings. If you do not need them, and especially if you display - unfiltered data from untrusted sources, it is strongly recommended to - turn them off. In that case, you should also turn off the automatic - redirect and plugins: -
- w.setJScriptEnabled(false);
- w.setJavaEnabled(false);
- w.setMetaRefreshEnabled(false);
- w.setPluginsEnabled(false);
- 
- You may also wish to disable external references. This will prevent KHTML - from loading images, frames, etc, or redirecting to external sites. -
- w.setOnlyLocalReferences(true);
- 
- Some apps want to write their HTML code directly into the widget instead of - opening an url. You can do this in the following way: -
- String myHTMLCode = ...;
- KHTMLPart w = new KHTMLPart();
- w.begin();
- w.write(myHTMLCode);
- ...
- w.end();
- 
- You can do as many calls to write() as you wish. There are two - write() methods, one accepting a String and one accepting a - char argument. You should use one or the other - (but not both) since the method using - the char argument does an additional decoding step to convert the - written data to Unicode. - It is also possible to write content to the HTML part using the - standard streaming API from KParts.ReadOnlyPart. The usage of - the API is similar to that of the begin(), write(), end() process - described above as the following example shows: -
- KHTMLPart doc = new KHTMLPart();
- doc.openStream( "text/html", KURL() );
- doc.writeStream( String( "

KHTML Rocks!

" ) ); - doc.closeStream(); -
- See {@link KHTMLPartSignals} for signals emitted by KHTMLPart - @author Lars Knoll (knoll@kde.org) - - @short HTML Browser Widget. - -*/ -public class KHTMLPart extends ReadOnlyPart { - protected KHTMLPart(Class dummy){super((Class) null);} - public static final int DefaultGUI = 0; - public static final int BrowserViewGUI = 1; - - /** - Enumeration for displaying the caret. - @param Visible caret is displayed - @param Invisible caret is not displayed - @param Blink caret toggles between visible and invisible - @short Enumeration for displaying the caret. - */ - public static final int CaretVisible = 0; - public static final int CaretInvisible = 1; - public static final int CaretBlink = 2; - - /** - Extra Find options that can be used when calling the extended findText(). - @short Extra Find options that can be used when calling the extended findText(). - */ - public static final int FindLinksOnly = 1*KFindDialog.MinimumUserOption; - public static final int FindNoPopups = 2*KFindDialog.MinimumUserOption; - - public static final int NoNotification = 0; - public static final int Before = 1; - public static final int Only = 2; - public static final int Unused = 255; - - public static final int NotCrypted = 0; - public static final int Encrypted = 1; - public static final int Mixed = 2; - - public native TQMetaObject metaObject(); - public native String className(); - /** - Constructs a new KHTMLPart. - KHTML basically consists of two objects: The KHTMLPart itself, - holding the document data (DOM document), and the KHTMLView, - derived from TQScrollView, in which the document content is - rendered in. You can specify two different parent objects for a - KHTMLPart, one parent for the KHTMLPart document and on parent - for the KHTMLView. If the second parent argument is null, then - parentWidget is used as parent for both objects, the part and - the view. - @short Constructs a new KHTMLPart. - */ - public KHTMLPart(TQWidget parentWidget, String widgetname, TQObject parent, String name, int prof) { - super((Class) null); - newKHTMLPart(parentWidget,widgetname,parent,name,prof); - } - private native void newKHTMLPart(TQWidget parentWidget, String widgetname, TQObject parent, String name, int prof); - public KHTMLPart(TQWidget parentWidget, String widgetname, TQObject parent, String name) { - super((Class) null); - newKHTMLPart(parentWidget,widgetname,parent,name); - } - private native void newKHTMLPart(TQWidget parentWidget, String widgetname, TQObject parent, String name); - public KHTMLPart(TQWidget parentWidget, String widgetname, TQObject parent) { - super((Class) null); - newKHTMLPart(parentWidget,widgetname,parent); - } - private native void newKHTMLPart(TQWidget parentWidget, String widgetname, TQObject parent); - public KHTMLPart(TQWidget parentWidget, String widgetname) { - super((Class) null); - newKHTMLPart(parentWidget,widgetname); - } - private native void newKHTMLPart(TQWidget parentWidget, String widgetname); - public KHTMLPart(TQWidget parentWidget) { - super((Class) null); - newKHTMLPart(parentWidget); - } - private native void newKHTMLPart(TQWidget parentWidget); - public KHTMLPart() { - super((Class) null); - newKHTMLPart(); - } - private native void newKHTMLPart(); - public KHTMLPart(KHTMLView view, TQObject parent, String name, int prof) { - super((Class) null); - newKHTMLPart(view,parent,name,prof); - } - private native void newKHTMLPart(KHTMLView view, TQObject parent, String name, int prof); - public KHTMLPart(KHTMLView view, TQObject parent, String name) { - super((Class) null); - newKHTMLPart(view,parent,name); - } - private native void newKHTMLPart(KHTMLView view, TQObject parent, String name); - public KHTMLPart(KHTMLView view, TQObject parent) { - super((Class) null); - newKHTMLPart(view,parent); - } - private native void newKHTMLPart(KHTMLView view, TQObject parent); - public KHTMLPart(KHTMLView view) { - super((Class) null); - newKHTMLPart(view); - } - private native void newKHTMLPart(KHTMLView view); - /** - Opens the specified URL url. - Reimplemented from KParts.ReadOnlyPart.openURL . - @short Opens the specified URL url. - */ - public native boolean openURL(KURL url); - /** - Stops loading the document and kills all data requests (for images, etc.) - @short Stops loading the document and kills all data requests (for images, etc. - */ - public native boolean closeURL(); - /** - Called when a certain error situation (i.e. connection timed out) occurred. - The default implementation either shows a KIO error dialog or loads a more - verbose error description a as page, depending on the users configuration. - job is the job that signaled the error situation - @short Called when a certain error situation (i. - */ - public native void showError(Job job); - /** - Returns a reference to the DOM HTML document (for non-HTML documents, returns null) - @short Returns a reference to the DOM HTML document (for non-HTML documents, returns null) - */ - public native HTMLDocument htmlDocument(); - /** - Returns a reference to the DOM document. - @short Returns a reference to the DOM document. - */ - public native Document document(); - /** - Returns the content of the source document. - @short Returns the content of the source document. - */ - public native String documentSource(); - /** - Returns the node that has the keyboard focus. - @short Returns the node that has the keyboard focus. - */ - public native Node activeNode(); - /** - Returns a pointer to the KParts.BrowserExtension. - @short Returns a pointer to the KParts.BrowserExtension. - */ - public native BrowserExtension browserExtension(); - // KParts::LiveConnectExtension* liveConnectExtension(const tdehtml::RenderPart* arg1); >>>> NOT CONVERTED - public native BrowserHostExtension browserHostExtension(); - /** - Returns a pointer to the HTML document's view. - @short Returns a pointer to the HTML document's view. - */ - public native KHTMLView view(); - /** - Enable/disable Javascript support. Note that this will - in either case permanently override the default usersetting. - If you want to have the default UserSettings, don't call this - method. - @short Enable/disable Javascript support. - */ - public native void setJScriptEnabled(boolean enable); - /** - Returns true if Javascript support is enabled or false - otherwise. - @short Returns true if Javascript support is enabled or false otherwise. - */ - public native boolean jScriptEnabled(); - /** - Returns the JavaScript interpreter the part is using. This method is - mainly intended for applications which embed and extend the part and - provides a mechanism for adding additional native objects to the - interpreter (or removing the built-ins). - One thing people using this method to add things to the interpreter must - consider, is that when you start writing new content to the part, the - interpreter is cleared. This includes both use of the - begin( KURL, int, int ) method, and the openURL( KURL ) - method. If you want your objects to have a longer lifespan, then you must - retain a KJS.Object yourself to ensure that the reference count of your - custom objects never reaches 0. You will also need to re-add your - bindings everytime this happens - one way to detect the need for this is - to connect to the docCreated() signal, another is to reimplement the - begin() method. - @short Returns the JavaScript interpreter the part is using. - */ - // KJS::Interpreter* jScriptInterpreter(); >>>> NOT CONVERTED - /** - Enable/disable statusbar messages. - When this class wants to set the statusbar text, it emits - setStatusBarText(String text) - If you want to catch this for your own statusbar, note that it returns - back a rich text string, starting with "". This you need to - either pass this into your own TQLabel or to strip out the tags - before passing it to TQStatusBar.message(String message) - @short Enable/disable statusbar messages. - @see Part#setStatusBarText( - @see #const - @see #text - */ - public native void setStatusMessagesEnabled(boolean enable); - /** - Returns true if status messages are enabled. - @short Returns true if status messages are enabled. - */ - public native boolean statusMessagesEnabled(); - /** - Enable/disable automatic forwarding by <meta http-equiv="refresh" ....> - @short Enable/disable automatic forwarding by <meta http-equiv="refresh" . - */ - public native void setMetaRefreshEnabled(boolean enable); - /** - Returns true if automatic forwarding is enabled. - @short Returns true if automatic forwarding is enabled. - */ - public native boolean metaRefreshEnabled(); - /** - Same as executeScript( String ) except with the Node parameter - specifying the 'this' value. - @short Same as executeScript( String ) except with the Node parameter specifying the 'this' value. - */ - public native TQVariant executeScript(Node n, String script); - /** - Enables or disables Drag'n'Drop support. A drag operation is started if - the users drags a link. - @short Enables or disables Drag'n'Drop support. - */ - public native void setDNDEnabled(boolean b); - /** - Returns whether Dragn'n'Drop support is enabled or not. - @short Returns whether Dragn'n'Drop support is enabled or not. - */ - public native boolean dndEnabled(); - /** - Enables/disables Java applet support. Note that calling this function - will permanently override the User settings about Java applet support. - Not calling this function is the only way to let the default settings - apply. - @short Enables/disables Java applet support. - */ - public native void setJavaEnabled(boolean enable); - /** - Return true if Java applet support is enabled, false if disabled - @short Return true if Java applet support is enabled, false if disabled - */ - public native boolean javaEnabled(); - /** - Returns the java context of the applets. If no applet exists, 0 is returned. - @short Returns the java context of the applets. - */ - // KJavaAppletContext* javaContext(); >>>> NOT CONVERTED - /** - Returns the java context of the applets. If no context exists yet, a - new one is created. - @short Returns the java context of the applets. - */ - // KJavaAppletContext* createJavaContext(); >>>> NOT CONVERTED - /** - Enables or disables plugins, default is enabled - @short Enables or disables plugins, default is enabled - */ - public native void setPluginsEnabled(boolean enable); - /** - Returns true if plugins are enabled/disabled. - @short Returns true if plugins are enabled/disabled. - */ - public native boolean pluginsEnabled(); - /** - Specifies whether images contained in the document should be loaded - automatically or not. - @note Request will be ignored if called before begin(). - @short Specifies whether images contained in the document should be loaded automatically or not. - */ - public native void setAutoloadImages(boolean enable); - /** - Returns whether images contained in the document are loaded automatically - or not. - @note that the returned information is unrelieable as long as no begin() - was called. - @short Returns whether images contained in the document are loaded automatically or not. - */ - public native boolean autoloadImages(); - /** - Security option. - Specify whether only file:/ or data:/ urls are allowed to be loaded without - user confirmation by KHTML. - ( for example referenced by stylesheets, images, scripts, subdocuments, embedded elements ). - This option is mainly intended for enabling the "mail reader mode", where you load untrusted - content with a file:/ url. - Please note that enabling this option currently automatically disables Javascript, - Java and Plugins support. This might change in the future if the security model - is becoming more sophisticated, so don't rely on this behaviour. - ( default false - everything is loaded unless forbidden by TDEApplication.authorizeURLAction). - @short Security option. - */ - public native void setOnlyLocalReferences(boolean enable); - /** - Returns whether only file:/ or data:/ references are allowed - to be loaded ( default false ). See setOnlyLocalReferences. - @short Returns whether only file:/ or data:/ references are allowed to be loaded ( default false ). - */ - public native boolean onlyLocalReferences(); - /** Returns whether caret mode is on/off. - @short Returns whether caret mode is on/off. - */ - public native boolean isCaretMode(); - /** - Returns true if the document is editable, false otherwise. - @short Returns true if the document is editable, false otherwise. - */ - public native boolean isEditable(); - /** - Sets the caret to the given position. - If the given location is invalid, it will snap to the nearest valid - location. Immediately afterwards a caretPositionChanged signal - containing the effective position is emitted - @param node node to set to - @param offset zero-based offset within the node - @param extendSelection If true, a selection will be spanned from the - last caret position to the given one. Otherwise, any existing selection - will be deselected. - @short Sets the caret to the given position. - */ - public native void setCaretPosition(Node node, long offset, boolean extendSelection); - public native void setCaretPosition(Node node, long offset); - /** - Returns the current caret policy when the view is not focused. - @short Returns the current caret policy when the view is not focused. - */ - public native int caretDisplayPolicyNonFocused(); - /** - Sets the caret display policy when the view is not focused. - Whenever the caret is in use, this property determines how the - caret should be displayed when the document view is not focused. - The default policy is CaretInvisible. - @param policy new display policy - @short Sets the caret display policy when the view is not focused. - */ - public native void setCaretDisplayPolicyNonFocused(int policy); - public native void enableJScript(boolean e); - public native void enableJava(boolean e); - public native void enablePlugins(boolean e); - public native void autoloadImages(boolean e); - public native void enableMetaRefresh(boolean e); - public native boolean setCharset(String arg1, boolean arg2); - public native KURL baseURL(); - public native String baseTarget(); - /** - Returns the URL for the background Image (used by save background) - @short Returns the URL for the background Image (used by save background) - */ - public native KURL backgroundURL(); - /** - Schedules a redirection after delay seconds. - @short Schedules a redirection after delay seconds. - */ - public native void scheduleRedirection(int delay, String url, boolean lockHistory); - public native void scheduleRedirection(int delay, String url); - /** - Clears the widget and prepares it for new content. - If you want url() to return - for example "file:/tmp/test.html", you can use the following code: -
-		 view.begin( KURL("file:/tmp/test.html" ) );
-		 
- @param url is the url of the document to be displayed. Even if you - are generating the HTML on the fly, it may be useful to specify - a directory so that any pixmaps are found. - @param xOffset is the initial horizontal scrollbar value. Usually - you don't want to use this. - @param yOffset is the initial vertical scrollbar value. Usually - you don't want to use this. - All child frames and the old document are removed if you call - this method. - @short Clears the widget and prepares it for new content. - */ - public native void begin(KURL url, int xOffset, int yOffset); - public native void begin(KURL url, int xOffset); - public native void begin(KURL url); - public native void begin(); - /** - Writes another part of the HTML code to the widget. - You may call - this function many times in sequence. But remember: The fewer calls - you make, the faster the widget will be. - The HTML code is send through a decoder which decodes the stream to - Unicode. - The len parameter is needed for streams encoded in utf-16, - since these can have \\0 chars in them. In case the encoding - you're using isn't utf-16, you can safely leave out the length - parameter. - Attention: Don't mix calls to write( String ) with calls - to write( String ). - The result might not be what you want. - @short Writes another part of the HTML code to the widget. - */ - public native void write(String str, int len); - public native void write(String str); - /** - Call this after your last call to write(). - @short Call this after your last call to write(). - */ - public native void end(); - /** - Paints the HTML page to a TQPainter. See KHTMLView.paint for details - @short Paints the HTML page to a TQPainter. - */ - public native void paint(TQPainter arg1, TQRect arg2, int arg3, boolean[] arg4); - public native void paint(TQPainter arg1, TQRect arg2, int arg3); - public native void paint(TQPainter arg1, TQRect arg2); - /** - Sets the encoding the page uses. - This can be different from the charset. The widget will try to reload the current page in the new - encoding, if url() is not empty. - @short Sets the encoding the page uses. - */ - public native boolean setEncoding(String name, boolean override); - public native boolean setEncoding(String name); - /** - Returns the encoding the page currently uses. - Note that the encoding might be different from the charset. - @short Returns the encoding the page currently uses. - */ - public native String encoding(); - /** - Sets a user defined style sheet to be used on top of the HTML 4 - default style sheet. - This gives a wide range of possibilities to - change the layout of the page. - To have an effect this function has to be called after calling begin(). - @short Sets a user defined style sheet to be used on top of the HTML 4 default style sheet. - */ - public native void setUserStyleSheet(KURL url); - /** - Sets a user defined style sheet to be used on top of the HTML 4 - default style sheet. - This gives a wide range of possibilities to - change the layout of the page. - To have an effect this function has to be called after calling begin(). - @short Sets a user defined style sheet to be used on top of the HTML 4 default style sheet. - */ - public native void setUserStyleSheet(String styleSheet); - /** - Sets the standard font style. - @param name The font name to use for standard text. - @short Sets the standard font style. - */ - public native void setStandardFont(String name); - /** - Sets the fixed font style. - @param name The font name to use for fixed text, e.g. - the <pre> tag. - @short Sets the fixed font style. - */ - public native void setFixedFont(String name); - /** - Finds the anchor named name. - If the anchor is found, the widget - scrolls to the closest position. Returns if the anchor has - been found. - @short Finds the anchor named name. - */ - public native boolean gotoAnchor(String name); - /** - Go to the next anchor - This is useful to navigate from outside the navigator - @short Go to the next anchor - */ - public native boolean nextAnchor(); - /** - Go to previous anchor - @short Go to previous anchor - */ - public native boolean prevAnchor(); - /** - Sets the cursor to use when the cursor is on a link. - @short Sets the cursor to use when the cursor is on a link. - */ - public native void setURLCursor(TQCursor c); - /** - Returns the cursor which is used when the cursor is on a link. - @short Returns the cursor which is used when the cursor is on a link. - */ - public native TQCursor urlCursor(); - /** - Starts a new search by popping up a dialog asking the user what he wants to - search for. - @short Starts a new search by popping up a dialog asking the user what he wants to search for. - */ - public native void findText(); - /** - Starts a new search, but bypasses the user dialog. - @param str The string to search for. - @param options Find options. - @param parent Parent used for centering popups like "string not found". - @param findDialog Optionally, you can supply your own dialog. - @short Starts a new search, but bypasses the user dialog. - */ - public native void findText(String str, long options, TQWidget parent, KFindDialog findDialog); - public native void findText(String str, long options, TQWidget parent); - public native void findText(String str, long options); - /** - Initiates a text search. - @short Initiates a text search. - */ - public native void findTextBegin(); - /** - Finds the next occurence of a string set by {@link #findText} - @return true if a new match was found. - - @short Finds the next occurence of a string set by @ref findText() - */ - public native boolean findTextNext(); - /** - Finds the next occurence of a string set by {@link #findText} - @param reverse if true, revert seach direction (only if no find dialog is used) - @return true if a new match was found. - - @short Finds the next occurence of a string set by @ref findText() - */ - public native boolean findTextNext(boolean reverse); - /** - Sets the Zoom factor. The value is given in percent, larger values mean a - generally larger font and larger page contents. It is not guaranteed that - all parts of the page are scaled with the same factor though. - The given value should be in the range of 20..300, values outside that - range are not guaranteed to work. A value of 100 will disable all zooming - and show the page with the sizes determined via the given lengths in the - stylesheets. - @short Sets the Zoom factor. - */ - public native void setZoomFactor(int percent); - /** - Returns the current zoom factor. - @short Returns the current zoom factor. - */ - public native int zoomFactor(); - /** - Returns the text the user has marked. - @short Returns the text the user has marked. - */ - public native String selectedText(); - /** - Return the text the user has marked. This is guaranteed to be valid xml, - and to contain the \ and \ tags. - FIXME probably should make for 4.0 ? - @short Return the text the user has marked. - */ - public native String selectedTextAsHTML(); - /** - Returns the selected part of the HTML. - @short Returns the selected part of the HTML. - */ - public native Range selection(); - /** - Returns the selected part of the HTML by returning the starting and end - position. - If there is no selection, both nodes and offsets are equal. - @param startNode returns node selection starts in - @param startOffset returns offset within starting node - @param endNode returns node selection ends in - @param endOffset returns offset within end node. - @short Returns the selected part of the HTML by returning the starting and end position. - */ - public native void selection(Node startNode, long startOffset, Node endNode, long endOffset); - /** - Sets the current selection. - @short Sets the current selection. - */ - public native void setSelection(Range arg1); - /** - Has the user selected anything? - Call selectedText() to - retrieve the selected text. - @return true if there is text selected. - - @short Has the user selected anything? - */ - public native boolean hasSelection(); - /** - Marks all text in the document as selected. - @short Marks all text in the document as selected. - */ - public native void selectAll(); - /** - Convenience method to show the document's view. - Equivalent to widget().show() or view().show() . - @short Convenience method to show the document's view. - */ - public native void show(); - /** - Convenience method to hide the document's view. - Equivalent to widget().hide() or view().hide(). - @short Convenience method to hide the document's view. - */ - public native void hide(); - /** - Returns a reference to the partmanager instance which - manages html frame objects. - @short Returns a reference to the partmanager instance which manages html frame objects. - */ - public native PartManager partManager(); - /** - Saves the KHTMLPart's complete state (including child frame - objects) to the provided TQDataStream. - This is called from the saveState() method of the - browserExtension(). - @short Saves the KHTMLPart's complete state (including child frame objects) to the provided TQDataStream. - */ - public native void saveState(TQDataStream stream); - /** - Restores the KHTMLPart's previously saved state (including - child frame objects) from the provided TQDataStream. - This is called from the restoreState() method of the - browserExtension() . - @short Restores the KHTMLPart's previously saved state (including child frame objects) from the provided TQDataStream. - @see #saveState - */ - public native void restoreState(TQDataStream stream); - /** - Returns the Node currently under the mouse. - The returned node may be a shared node (e. g. an \ node if the - mouse is hovering over an image map). - @short Returns the Node currently under the mouse. - */ - public native Node nodeUnderMouse(); - /** - Returns the Node currently under the mouse that is not shared. - The returned node is always the node that is physically under the mouse - pointer (irrespective of logically overlying elements like, e. g., - \ on image maps). - @short Returns the Node currently under the mouse that is not shared. - */ - public native Node nonSharedNodeUnderMouse(); - /** - @short - */ - public native KHTMLSettings settings(); - /** - Returns a pointer to the parent KHTMLPart if the part is a frame - in an HTML frameset. - Returns null otherwise. - @short Returns a pointer to the parent KHTMLPart if the part is a frame in an HTML frameset. - */ - public native KHTMLPart parentPart(); - /** - Returns a list of names of all frame (including iframe) objects of - the current document. Note that this method is not working recursively - for sub-frames. - @short Returns a list of names of all frame (including iframe) objects of the current document. - */ - public native ArrayList frameNames(); - // TQPtrList frames(); >>>> NOT CONVERTED - /** - Finds a frame by name. Returns null if frame can't be found. - @short Finds a frame by name. - */ - public native KHTMLPart findFrame(String f); - /** - Recursively finds the part containing the frame with name f - and checks if it is accessible by callingPart - Returns null if no suitable frame can't be found. - Returns parent part if a suitable frame was found and - frame info in childFrame - @short Recursively finds the part containing the frame with name f and checks if it is accessible by callingPart Returns 0L if no suitable frame can't be found. - */ - // KHTMLPart* findFrameParent(KParts::ReadOnlyPart* arg1,const TQString& arg2,tdehtml::ChildFrame** arg3); >>>> NOT CONVERTED - public native KHTMLPart findFrameParent(ReadOnlyPart callingPart, String f); - /** - Return the current frame (the one that has focus) - Not necessarily a direct child of ours, framesets can be nested. - Returns "this" if this part isn't a frameset. - @short Return the current frame (the one that has focus) Not necessarily a direct child of ours, framesets can be nested. - */ - public native ReadOnlyPart currentFrame(); - /** - Returns whether a frame with the specified name is exists or not. - In contrary to the findFrame method this one also returns true - if the frame is defined but no displaying component has been - found/loaded, yet. - @short Returns whether a frame with the specified name is exists or not. - */ - public native boolean frameExists(String frameName); - /** - Returns child frame framePart its script interpreter - @short Returns child frame framePart its script interpreter - */ - // KJSProxy* framejScript(KParts::ReadOnlyPart* arg1); >>>> NOT CONVERTED - /** - Finds a frame by name. Returns null if frame can't be found. - @short Finds a frame by name. - */ - public native ReadOnlyPart findFramePart(String f); - /** - Called by KJS. - Sets the StatusBarText assigned - via window.status - @short Called by KJS. - */ - public native void setJSStatusBarText(String text); - /** - Called by KJS. - Sets the DefaultStatusBarText assigned - via window.defaultStatus - @short Called by KJS. - */ - public native void setJSDefaultStatusBarText(String text); - /** - Called by KJS. - Returns the StatusBarText assigned - via window.status - @short Called by KJS. - */ - public native String jsStatusBarText(); - /** - Called by KJS. - Returns the DefaultStatusBarText assigned - via window.defaultStatus - @short Called by KJS. - */ - public native String jsDefaultStatusBarText(); - /** - Referrer used for links in this page. - @short Referrer used for links in this page. - */ - public native String referrer(); - /** - Referrer used to obtain this page. - @short Referrer used to obtain this page. - */ - public native String pageReferrer(); - /** - Last-modified date (in raw string format), if received in the [HTTP] headers. - @short Last-modified date (in raw string format), if received in the [HTTP] headers. - */ - public native String lastModified(); - /** - Loads a style sheet into the stylesheet cache. - @short Loads a style sheet into the stylesheet cache. - */ - public native void preloadStyleSheet(String url, String stylesheet); - /** - Loads a script into the script cache. - @short Loads a script into the script cache. - */ - public native void preloadScript(String url, String script); - /** - @short - */ - public native boolean restored(); - /** - Determine if signal should be emitted before, instead or never when a - submitForm() happens. - @short Determine if signal should be emitted before, instead or never when a submitForm() happens. - */ - public native void setFormNotification(int fn); - /** - Determine if signal should be emitted before, instead or never when a - submitForm() happens. - ### KDE4 remove me - @short Determine if signal should be emitted before, instead or never when a submitForm() happens. - */ - public native int formNotification(); - /** - Returns the toplevel (origin) URL of this document, even if this - part is a frame or an iframe. - @return the actual original url. - - @short Returns the toplevel (origin) URL of this document, even if this part is a frame or an iframe. - */ - public native KURL toplevelURL(); - /** - Checks whether the page contains unsubmitted form changes. - @return true if form changes exist - - @short Checks whether the page contains unsubmitted form changes. - */ - public native boolean isModified(); - /** - Shows or hides the suppressed popup indicator - @short Shows or hides the suppressed popup indicator - */ - public native void setSuppressedPopupIndicator(boolean enable, KHTMLPart originPart); - /** - @short - */ - public native boolean inProgress(); - /** - Sets the focused node of the document to the specified node. If the node is a form control, the control will - receive focus in the same way that it would if the user had clicked on it or tabbed to it with the keyboard. For - most other types of elements, there is no visual indication of whether or not they are focused. - See activeNode - @param node The node to focus - @short Sets the focused node of the document to the specified node. - */ - public native void setActiveNode(Node node); - /** - Stops all animated images on the current and child pages - @short Stops all animated images on the current and child pages - */ - public native void stopAnimations(); - public native String dcopObjectId(); - /** - Enables/disables caret mode. - Enabling caret mode displays a caret which can be used to navigate - the document using the keyboard only. Caret mode is switched off by - default. - @param enable true to enable, false to disable caret mode. - @short Enables/disables caret mode. - */ - public native void setCaretMode(boolean enable); - /** - Makes the document editable. - Setting this property to true makes the document, and its - subdocuments (such as frames, iframes, objects) editable as a whole. - FIXME: insert more information about navigation, features etc. as seen fit - @param enable true to set document editable, false to set it - read-only. - @short Makes the document editable. - */ - public native void setEditable(boolean enable); - /** - Sets the visibility of the caret. - This methods displays or hides the caret regardless of the current - caret display policy (see setCaretDisplayNonFocused), and regardless - of focus. - The caret will be shown/hidden only under at least one of - the following conditions: - -
  • - the document is editable -
  • - -
  • - the document is in caret mode -
  • - -
  • - the document's currently focused element is editable -
  • - @param show true to make visible, false to hide. - @short Sets the visibility of the caret. - */ - public native void setCaretVisible(boolean show); - public native void submitFormProxy(String action, String url, byte[] formData, String target, String contentType, String boundary); - public native void submitFormProxy(String action, String url, byte[] formData, String target, String contentType); - public native void submitFormProxy(String action, String url, byte[] formData, String target); - /** - returns a KURL object for the given url. Use when - you know what you're doing. - @short returns a KURL object for the given url. - */ - protected native KURL completeURL(String url); - /** - presents a detailed error message to the user. - errorCode tdeio error code, eg KIO.ERR_SERVER_TIMEOUT. - text tdeio additional information text. - url the url that triggered the error. - @short presents a detailed error message to the user. - */ - protected native void htmlError(int errorCode, String text, KURL reqUrl); - protected native void customEvent(TQCustomEvent event); - /** - Eventhandler of the tdehtml.MousePressEvent. - @short Eventhandler of the tdehtml.MousePressEvent. - */ - // void tdehtmlMousePressEvent(tdehtml::MousePressEvent* arg1); >>>> NOT CONVERTED - /** - Eventhandler for the tdehtml.MouseDoubleClickEvent. - @short Eventhandler for the tdehtml.MouseDoubleClickEvent. - */ - // void tdehtmlMouseDoubleClickEvent(tdehtml::MouseDoubleClickEvent* arg1); >>>> NOT CONVERTED - /** - Eventhandler for the tdehtml.MouseMouseMoveEvent. - @short Eventhandler for the tdehtml.MouseMouseMoveEvent. - */ - // void tdehtmlMouseMoveEvent(tdehtml::MouseMoveEvent* arg1); >>>> NOT CONVERTED - /** - Eventhandler for the tdehtml.MouseMouseReleaseEvent. - @short Eventhandler for the tdehtml.MouseMouseReleaseEvent. - */ - // void tdehtmlMouseReleaseEvent(tdehtml::MouseReleaseEvent* arg1); >>>> NOT CONVERTED - /** - Eventhandler for the tdehtml.DrawContentsEvent. - @short Eventhandler for the tdehtml.DrawContentsEvent. - */ - // void tdehtmlDrawContentsEvent(tdehtml::DrawContentsEvent* arg1); >>>> NOT CONVERTED - /** - Internal reimplementation of KParts.Part.guiActivateEvent . - @short Internal reimplementation of KParts.Part.guiActivateEvent . - */ - protected native void guiActivateEvent(GUIActivateEvent event); - /** - Internal empty reimplementation of KParts.ReadOnlyPart.openFile . - @short Internal empty reimplementation of KParts.ReadOnlyPart.openFile . - */ - protected native boolean openFile(); - protected native void urlSelected(String url, int button, int state, String _target, URLArgs args); - protected native void urlSelected(String url, int button, int state, String _target); - /** - This method is called when a new embedded object (include html frames) is to be created. - Reimplement it if you want to add support for certain embeddable objects without registering - them in the KDE wide registry system (KSyCoCa) . Another reason for re-implementing this - method could be if you want to derive from KTHMLPart and also want all html frame objects - to be a object of your derived type, in which case you should return a new instance for - the mimetype 'text/html' . - @short This method is called when a new embedded object (include html frames) is to be created. - */ - protected native ReadOnlyPart createPart(TQWidget parentWidget, String widgetName, TQObject parent, String name, String mimetype, StringBuffer serviceName, String[] serviceTypes, String[] params); - protected native boolean pluginPageQuestionAsked(String mimetype); - protected native void setPluginPageQuestionAsked(String mimetype); - // void setPageSecurity(KHTMLPart::PageSecurity arg1); >>>> NOT CONVERTED - /** - Implements the streaming API of KParts.ReadOnlyPart. - @short Implements the streaming API of KParts.ReadOnlyPart. - */ - protected native boolean doOpenStream(String mimeType); - /** - Implements the streaming API of KParts.ReadOnlyPart. - @short Implements the streaming API of KParts.ReadOnlyPart. - */ - protected native boolean doWriteStream(byte[] data); - /** - Implements the streaming API of KParts.ReadOnlyPart. - @short Implements the streaming API of KParts.ReadOnlyPart. - */ - protected native boolean doCloseStream(); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KHTMLPartSignals.java b/kdejava/koala/org/kde/koala/KHTMLPartSignals.java deleted file mode 100644 index efeebe2f..00000000 --- a/kdejava/koala/org/kde/koala/KHTMLPartSignals.java +++ /dev/null @@ -1,61 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.TQRect; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQDataStream; -import org.kde.qt.TQObject; -import org.kde.qt.TQPoint; -import java.util.ArrayList; -import org.kde.qt.TQPainter; -import org.kde.qt.TQCustomEvent; -import org.kde.qt.TQCursor; -import org.kde.qt.TQVariant; -import org.kde.qt.TQWidget; - -public interface KHTMLPartSignals { - /** - Emitted if the cursor is moved over an URL. - @short Emitted if the cursor is moved over an URL. - */ - void onURL(String url); - /** - Emitted when the user clicks the right mouse button on the document. - @short Emitted when the user clicks the right mouse button on the document. - */ - void popupMenu(String url, TQPoint point); - /** - This signal is emitted when the selection changes. - @short This signal is emitted when the selection changes. - */ - void selectionChanged(); - /** - 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. - @short This signal is emitted when an element retrieves the keyboard focus. - */ - void nodeActivated(Node arg1); - /** - 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. - @param node node which the caret is in. This can be null if the caret - has been deactivated. - @param offset offset within the node. If the node is null, the offset - is meaningless. - @short - */ - void caretPositionChanged(Node node, long offset); - /** - If form notification is on, this will be emitted either for a form - submit or before the form submit according to the setting. - @short If form notification is on, this will be emitted either for a form submit or before the form submit according to the setting. - */ - void formSubmitNotification(String action, String url, byte[] formData, String target, String contentType, String boundary); -} diff --git a/kdejava/koala/org/kde/koala/KHTMLSettings.java b/kdejava/koala/org/kde/koala/KHTMLSettings.java deleted file mode 100644 index 32bddf68..00000000 --- a/kdejava/koala/org/kde/koala/KHTMLSettings.java +++ /dev/null @@ -1,173 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQColor; -import org.kde.qt.QtSupport; - -/** - - Settings for the HTML view. - @short Settings for the HTML view. - -*/ -public class KHTMLSettings implements QtSupport { - private long _qt; - private boolean _allocatedInJavaWorld = true; - protected KHTMLSettings(Class dummy){} - - /** - This enum specifies whether Java/JavaScript execution is allowed. - @short This enum specifies whether Java/JavaScript execution is allowed. - */ - public static final int KJavaScriptDunno = 0; - public static final int KJavaScriptAccept = 1; - public static final int KJavaScriptReject = 2; - - public static final int KAnimationDisabled = 0; - public static final int KAnimationLoopOnce = 1; - public static final int KAnimationEnabled = 2; - - /** - This enum specifies the policy for window.open - @short This enum specifies the policy for window. - */ - public static final int KJSWindowOpenAllow = 0; - public static final int KJSWindowOpenAsk = 1; - public static final int KJSWindowOpenDeny = 2; - public static final int KJSWindowOpenSmart = 3; - - /** - This enum specifies the policy for window.status and .defaultStatus - @short This enum specifies the policy for window. - */ - public static final int KJSWindowStatusAllow = 0; - public static final int KJSWindowStatusIgnore = 1; - - /** - This enum specifies the policy for window.moveBy and .moveTo - @short This enum specifies the policy for window. - */ - public static final int KJSWindowMoveAllow = 0; - public static final int KJSWindowMoveIgnore = 1; - - /** - This enum specifies the policy for window.resizeBy and .resizeTo - @short This enum specifies the policy for window. - */ - public static final int KJSWindowResizeAllow = 0; - public static final int KJSWindowResizeIgnore = 1; - - /** - This enum specifies the policy for window.focus - @short This enum specifies the policy for window. - */ - public static final int KJSWindowFocusAllow = 0; - public static final int KJSWindowFocusIgnore = 1; - - /** - @short - */ - public KHTMLSettings() { - newKHTMLSettings(); - } - private native void newKHTMLSettings(); - public KHTMLSettings(KHTMLSettings other) { - newKHTMLSettings(other); - } - private native void newKHTMLSettings(KHTMLSettings other); - /** - Called by constructor and reparseConfiguration - @short Called by constructor and reparseConfiguration - */ - public native void init(); - /** Read settings from config. - @param config is a pointer to TDEConfig object. - @param reset if true, settings are always set; if false, - settings are only set if the config file has a corresponding key. - @short Read settings from config. - */ - public native void init(TDEConfig config, boolean reset); - public native void init(TDEConfig config); - public native boolean changeCursor(); - public native boolean underlineLink(); - public native boolean hoverLink(); - public native boolean allowTabulation(); - public native boolean autoSpellCheck(); - public native int showAnimations(); - public native String stdFontName(); - public native String fixedFontName(); - public native String serifFontName(); - public native String sansSerifFontName(); - public native String cursiveFontName(); - public native String fantasyFontName(); - public native void setStdFontName(String n); - public native void setFixedFontName(String n); - public native int minFontSize(); - public native int mediumFontSize(); - public native boolean jsErrorsEnabled(); - public native void setJSErrorsEnabled(boolean enabled); - public native String encoding(); - public native boolean followSystemColors(); - public native TQColor textColor(); - public native TQColor baseColor(); - public native TQColor linkColor(); - public native TQColor vLinkColor(); - public native boolean autoLoadImages(); - public native boolean unfinishedImageFrame(); - public native boolean isOpenMiddleClickEnabled(); - public native boolean isBackRightClickEnabled(); - public native boolean isJavaEnabled(String hostname); - public native boolean isJavaEnabled(); - public native boolean isJavaScriptEnabled(String hostname); - public native boolean isJavaScriptEnabled(); - public native boolean isJavaScriptDebugEnabled(String hostname); - public native boolean isJavaScriptDebugEnabled(); - public native boolean isJavaScriptErrorReportingEnabled(String hostname); - public native boolean isJavaScriptErrorReportingEnabled(); - public native boolean isPluginsEnabled(String hostname); - public native boolean isPluginsEnabled(); - public native boolean isAdFiltered(String url); - public native boolean isAdFilterEnabled(); - public native boolean isHideAdsEnabled(); - public native void addAdFilter(String url); - public native boolean accessKeysEnabled(); - public native int windowOpenPolicy(String hostname); - public native int windowOpenPolicy(); - public native int windowMovePolicy(String hostname); - public native int windowMovePolicy(); - public native int windowResizePolicy(String hostname); - public native int windowResizePolicy(); - public native int windowStatusPolicy(String hostname); - public native int windowStatusPolicy(); - public native int windowFocusPolicy(String hostname); - public native int windowFocusPolicy(); - /** reads from config's current group, forcing initialization - if reset is true. - @param config is a pointer to TDEConfig object. - @param reset true if initialization is to be forced. - @param global true if the global domain is to be read. - @param pd_settings will be initialised with the computed (inherited) - settings. - @short reads from config's current group, forcing initialization if reset is true. - */ - // void readDomainSettings(TDEConfig* arg1,bool arg2,bool arg3,KPerDomainSettings& arg4); >>>> NOT CONVERTED - public native String settingsToCSS(); - public native String userStyleSheet(); - public native boolean isFormCompletionEnabled(); - public native int maxFormCompletionItems(); - public native boolean isAutoDelayedActionsEnabled(); - public native String fallbackAccessKeysAssignments(); - public native void setJSPopupBlockerPassivePopup(boolean enabled); - public native boolean jsPopupBlockerPassivePopup(); - public static native int strToAdvice(String _str); - public static native void splitDomainAdvice(String configStr, StringBuffer domain, int javaAdvice, int javaScriptAdvice); - public static native String adviceToStr(int _advice); - public static native String availableFamilies(); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KHTMLView.java b/kdejava/koala/org/kde/koala/KHTMLView.java deleted file mode 100644 index e82dad57..00000000 --- a/kdejava/koala/org/kde/koala/KHTMLView.java +++ /dev/null @@ -1,139 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.Qt; -import org.kde.qt.TQHideEvent; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQObject; -import org.kde.qt.TQCloseEvent; -import org.kde.qt.TQDragEnterEvent; -import org.kde.qt.TQContextMenuEvent; -import org.kde.qt.TQPainter; -import org.kde.qt.TQFocusEvent; -import org.kde.qt.TQKeyEvent; -import org.kde.qt.TQMouseEvent; -import org.kde.qt.TQShowEvent; -import org.kde.qt.TQDropEvent; -import org.kde.qt.TQEvent; -import org.kde.qt.TQTimerEvent; -import org.kde.qt.TQWidget; -import org.kde.qt.TQResizeEvent; -import org.kde.qt.TQWheelEvent; -import org.kde.qt.TQScrollView; - -/** - - Renders and displays HTML in a TQScrollView. - Suitable for use as an application's main view. - See {@link KHTMLViewSignals} for signals emitted by KHTMLView - @short Renders and displays HTML in a TQScrollView. - -*/ -public class KHTMLView extends TQScrollView { - protected KHTMLView(Class dummy){super((Class) null);} - public native TQMetaObject metaObject(); - public native String className(); - /** - Constructs a KHTMLView. - @short Constructs a KHTMLView. - */ - public KHTMLView(KHTMLPart part, TQWidget parent, String name) { - super((Class) null); - newKHTMLView(part,parent,name); - } - private native void newKHTMLView(KHTMLPart part, TQWidget parent, String name); - public KHTMLView(KHTMLPart part, TQWidget parent) { - super((Class) null); - newKHTMLView(part,parent); - } - private native void newKHTMLView(KHTMLPart part, TQWidget parent); - /** - Returns a pointer to the KHTMLPart that is - rendering the page. - @short Returns a pointer to the KHTMLPart that is rendering the page. - */ - public native KHTMLPart part(); - public native int frameWidth(); - /** - Sets a margin in x direction. - @short Sets a margin in x direction. - */ - public native void setMarginWidth(int x); - /** - Returns the margin width. - A return value of -1 means the default value will be used. - @short Returns the margin width. - */ - public native int marginWidth(); - public native void setMarginHeight(int y); - /** - Returns the margin height. - A return value of -1 means the default value will be used. - @short Returns the margin height. - */ - public native int marginHeight(); - /** - Sets verticals scrollbar mode. Reimplemented for internal reasons. - @short Sets verticals scrollbar mode. - */ - public native void setVScrollBarMode(int mode); - /** - Sets horizontal scrollbar mode. Reimplemented for internal reasons. - @short Sets horizontal scrollbar mode. - */ - public native void setHScrollBarMode(int mode); - /** - Prints the HTML document. - @short Prints the HTML document. - */ - public native void print(); - /** - Prints the HTML document. - @param tquick if true, fully automated printing, without print dialog - @short Prints the HTML document. - */ - public native void print(boolean tquick); - /** - ensure the display is up to date - @short ensure the display is up to date - */ - public native void updateLayout(); - /** - Display all accesskeys in small tooltips - @short Display all accesskeys in small tooltips - */ - public native void displayAccessKeys(); - protected native void clear(); - protected native void resizeEvent(TQResizeEvent event); - public native void showEvent(TQShowEvent arg1); - protected native void hideEvent(TQHideEvent arg1); - protected native boolean focusNextPrevChild(boolean next); - protected native void drawContents(TQPainter p, int clipx, int clipy, int clipw, int cliph); - protected native void drawContents(TQPainter arg1); - protected native void viewportMousePressEvent(TQMouseEvent arg1); - protected native void focusInEvent(TQFocusEvent arg1); - protected native void focusOutEvent(TQFocusEvent arg1); - protected native void viewportMouseDoubleClickEvent(TQMouseEvent arg1); - protected native void viewportMouseMoveEvent(TQMouseEvent arg1); - protected native void viewportMouseReleaseEvent(TQMouseEvent arg1); - protected native void viewportResizeEvent(TQResizeEvent arg1); - protected native void viewportWheelEvent(TQWheelEvent arg1); - protected native void dragEnterEvent(TQDragEnterEvent arg1); - protected native void dropEvent(TQDropEvent arg1); - protected native void closeEvent(TQCloseEvent arg1); - public native boolean eventFilter(TQObject arg1, TQEvent arg2); - protected native void keyPressEvent(TQKeyEvent _ke); - protected native void keyReleaseEvent(TQKeyEvent _ke); - protected native void contentsContextMenuEvent(TQContextMenuEvent _ce); - protected native void doAutoScroll(); - protected native void timerEvent(TQTimerEvent arg1); - protected native void slotPaletteChanged(); - protected native void slotScrollBarMoved(); - /** Deletes the wrapped C++ instance */ - protected native void finalize() throws InternalError; - /** Delete the wrapped C++ instance ahead of finalize() */ - public native void dispose(); - /** Has the wrapped C++ instance been deleted? */ - public native boolean isDisposed(); -} diff --git a/kdejava/koala/org/kde/koala/KHTMLViewSignals.java b/kdejava/koala/org/kde/koala/KHTMLViewSignals.java deleted file mode 100644 index 71034fee..00000000 --- a/kdejava/koala/org/kde/koala/KHTMLViewSignals.java +++ /dev/null @@ -1,30 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -package org.kde.koala; - -import org.kde.qt.TQHideEvent; -import org.kde.qt.TQMetaObject; -import org.kde.qt.QtSupport; -import org.kde.qt.TQObject; -import org.kde.qt.TQCloseEvent; -import org.kde.qt.TQDragEnterEvent; -import org.kde.qt.TQContextMenuEvent; -import org.kde.qt.TQPainter; -import org.kde.qt.TQFocusEvent; -import org.kde.qt.TQKeyEvent; -import org.kde.qt.TQMouseEvent; -import org.kde.qt.TQShowEvent; -import org.kde.qt.TQDropEvent; -import org.kde.qt.TQEvent; -import org.kde.qt.TQTimerEvent; -import org.kde.qt.TQWidget; -import org.kde.qt.TQResizeEvent; -import org.kde.qt.TQWheelEvent; - -public interface KHTMLViewSignals { - void finishedLayout(); - void cleared(); - void zoomView(int arg1); - void hideAccessKeys(); - void repaintAccessKeys(); - void findAheadActive(boolean arg1); -} diff --git a/kdejava/koala/org/kde/koala/Makefile.am b/kdejava/koala/org/kde/koala/Makefile.am index e2dc5b96..51bc584f 100644 --- a/kdejava/koala/org/kde/koala/Makefile.am +++ b/kdejava/koala/org/kde/koala/Makefile.am @@ -1,7 +1,7 @@ ####### tdevelop will overwrite this part!!! (begin)########## -EXTRA_DIST = TDEGlobal.java KMdiToolViewAccessor.java BrowserExtension.java DCOPClient.java DCOPObject.java DCOPObjectInterface.java DCOPObjectProxy.java KAboutApplication.java KAboutContainer.java TDEAboutData.java KAboutDialog.java KAboutKDE.java KAboutPerson.java KAboutWidget.java KAccel.java KAction.java KActionCollection.java KActionMenu.java KActionSeparator.java KAnimWidget.java TDEApplication.java KAudioPlayer.java KAuthIcon.java KBugReport.java KButtonBox.java TDECModule.java KCharSelect.java KCharSelectTable.java KCharsets.java TDECmdLineArgs.java KColorButton.java KColorCombo.java KColorDrag.java KCombiView.java KComboBox.java KCompletion.java KCompletionBase.java KCompletionBaseInterface.java TDEConfig.java TDEConfigBackEnd.java TDEConfigBase.java TDEConfigGroupSaver.java TDEConfigINIBackEnd.java KContextMenuManager.java KCursor.java KDCOPActionProxy.java KDCOPPropertyProxy.java KDEDesktopMimeType.java KDatePicker.java KDateTable.java KDateValidator.java KDesktopFile.java KDialog.java KDialogBase.java KDirOperator.java KDirWatch.java KDockWidgetAbstractHeader.java KDockWidgetAbstractHeaderDrag.java KDockWidgetHeader.java KDockWidgetHeaderDrag.java KDoubleNumInput.java KDualColorButton.java KEdFind.java KEdGotoLine.java KEdReplace.java KEditToolbar.java KEditToolbarWidget.java KEntry.java KEntryKey.java KExecMimeType.java KFile.java KFileDetailView.java KFileDialog.java KFileFilter.java KFileIconView.java KFileIconViewItem.java KFileItem.java KFileListViewItem.java KFilePreview.java KFileView.java KFileViewInterface.java KFileViewSignaler.java KFolderType.java KFontAction.java KFontChooser.java KFontDialog.java KFontSizeAction.java TDEGlobalAccel.java TDEGlobalSettings.java KGradientSelector.java KHTMLPart.java KHTMLSettings.java KHTMLView.java KHelpMenu.java KHistoryCombo.java KIPC.java KIconButton.java KIconCanvas.java KIconDialog.java KIconEffect.java KIconLoader.java KIconView.java KImageEffect.java KImageIO.java TDEInstance.java TDEInstanceInterface.java KIntNumInput.java KIntSpinBox.java KIntValidator.java KJanusWidget.java KKeyChooser.java KLed.java KLibFactory.java KLibLoader.java KLineEdit.java KListBox.java KListView.java KLocale.java KMainWindow.java KMenuBar.java KMessageBox.java KMimeType.java KNotifyClient.java KNumInput.java KOpenWithDlg.java KPalette.java KPanelApplet.java KPanelMenu.java KPasswordDialog.java KPasswordEdit.java KPixmap.java KPixmapEffect.java KPixmapIO.java KPixmapProvider.java KPopupFrame.java KPopupMenu.java KPopupTitle.java KProcIO.java TDEProcess.java TDEProcessController.java TDEProcessRunner.java KProgress.java KProtocolInfo.java KProtocolManager.java KRFCDate.java KRadioAction.java KRandomSequence.java KRecentDocument.java KRestrictedLine.java KRootPermsIcon.java KRootPixmap.java KRootProp.java KRuler.java KRun.java KSSL.java KSSLCertificate.java KSSLCertificateHome.java KSSLConnectionInfo.java KSSLInfoDlg.java KSSLPeerInfo.java KSSLSettings.java KSSLX509Map.java KSaveFile.java KSelectAction.java KSelector.java KSeparator.java KService.java KServiceGroup.java KServiceOffer.java KServiceType.java KServiceTypeProfile.java KSessionManaged.java KShared.java KShellCompletion.java KShred.java KSimpleConfig.java KSpell.java KSpellConfig.java KSpellDlg.java KStandardDirs.java KStaticDeleterBase.java KStatusBar.java KStatusBarLabel.java KStdAccel.java KStdAction.java KStringHandler.java KSycoca.java KSycocaEntry.java KSystemTray.java KTabCtl.java KTempFile.java KTextBrowser.java KToggleAction.java KToolBar.java KToolBarButton.java KToolBarRadioGroup.java KToolBarSeparator.java KTrader.java KURIFilter.java KURIFilterData.java KURIFilterPlugin.java KURL.java KURLComboBox.java KURLCompletion.java KURLDrag.java KURLLabel.java KURLRequester.java KURLRequesterDlg.java KUniqueApplication.java KWizard.java KWritePermsIcon.java KXMLGUIBuilder.java KXMLGUIBuilderInterface.java KXMLGUIClient.java KXMLGUIClientInterface.java KXMLGUIFactory.java KXYSelector.java Part.java PartBaseInterface.java ReadOnlyPart.java NetAccess.java kdejava.java Event.java GUIActivateEvent.java MouseEvent.java OpenURLEvent.java PartActivateEvent.java PartSelectEvent.java ReadWritePart.java DocumentFragment.java DocumentStyle.java DocumentType.java HTMLDocument.java NamedNodeMap.java CSSStyleSheet.java StyleSheet.java CSSException.java CSSPrimitiveValue.java CSSStyleDeclaration.java CSSValue.java Counter.java RGBColor.java Rect.java Element.java HTMLAnchorElement.java HTMLAppletElement.java HTMLAreaElement.java HTMLBRElement.java HTMLBaseElement.java HTMLBaseFontElement.java HTMLBlockquoteElement.java HTMLBodyElement.java HTMLButtonElement.java HTMLCollection.java HTMLDListElement.java HTMLDirectoryElement.java HTMLDivElement.java HTMLElement.java HTMLFieldSetElement.java HTMLFontElement.java HTMLFormElement.java HTMLFrameElement.java HTMLFrameSetElement.java HTMLHRElement.java HTMLHeadElement.java HTMLHeadingElement.java HTMLHtmlElement.java HTMLIFrameElement.java HTMLImageElement.java HTMLInputElement.java HTMLIsIndexElement.java HTMLLIElement.java HTMLLabelElement.java HTMLLegendElement.java HTMLLinkElement.java HTMLMapElement.java HTMLMenuElement.java HTMLMetaElement.java HTMLModElement.java HTMLOListElement.java HTMLObjectElement.java HTMLOptGroupElement.java HTMLOptionElement.java HTMLParagraphElement.java HTMLParamElement.java HTMLPreElement.java HTMLQuoteElement.java HTMLScriptElement.java HTMLSelectElement.java HTMLStyleElement.java HTMLTableCaptionElement.java HTMLTableCellElement.java HTMLTableColElement.java HTMLTableElement.java HTMLTableRowElement.java HTMLTableSectionElement.java HTMLTextAreaElement.java HTMLTitleElement.java HTMLUListElement.java Attr.java DockMainWindow.java MainWindow.java CDATASection.java Comment.java EntityReference.java NodeFilter.java NodeIterator.java ProcessingInstruction.java Range.java Text.java TreeWalker.java CharacterData.java CopyJob.java DeleteJob.java FileCopyJob.java Job.java KDirNotify.java KDirNotifyInterface.java KDirSize.java ListJob.java MimetypeJob.java SimpleJob.java StatJob.java TransferJob.java Connection.java Slave.java KAboutContributor.java KAboutTranslator.java KCodecs.java KCommand.java KCommandHistory.java KCompletionBox.java KDialogQueue.java KEditListBox.java KFilterBase.java KFilterDev.java KFontCombo.java KMacroCommand.java KPanelExtension.java KPixmapSplitter.java KPreviewWidgetBase.java KPushButton.java KScanDialog.java KSqueezedTextLabel.java KToolBarPopupAction.java KTipDatabase.java KTipDialog.java BrowserExtensionSignals.java CopyJobSignals.java DCOPClientSignals.java DeleteJobSignals.java JobSignals.java KAboutContainerSignals.java KAboutContributorSignals.java KAboutDialogSignals.java KAboutWidgetSignals.java KAccelSignals.java KActionCollectionSignals.java KActionSignals.java KAnimWidgetSignals.java TDEApplicationSignals.java TDECModuleSignals.java KCharSelectSignals.java KCharSelectTableSignals.java KColorButtonSignals.java KColorComboSignals.java KComboBoxSignals.java KCommandHistorySignals.java KCompletionBoxSignals.java KCompletionSignals.java KDatePickerSignals.java KDateTableSignals.java KDialogBaseSignals.java KDialogSignals.java KDirListerSignals.java KDirOperatorSignals.java KDirWatchSignals.java KDoubleNumInputSignals.java KDualColorButtonSignals.java KEdFindSignals.java KEdReplaceSignals.java KEditListBoxSignals.java KEditSignals.java KEditToolbarSignals.java KEditToolbarWidgetSignals.java KFileDetailViewSignals.java KFileDialogSignals.java KFileIconViewSignals.java KFilePreviewSignals.java KFontChooserSignals.java KFontDialogSignals.java KFontSizeActionSignals.java KHTMLPartSignals.java KHTMLViewSignals.java KHelpMenuSignals.java KHistoryComboSignals.java KIconButtonSignals.java KIconCanvasSignals.java KIconDialogSignals.java KIconViewSignals.java KIntNumInputSignals.java KJanusWidgetSignals.java KKeyChooserSignals.java KLineEditSignals.java KListBoxSignals.java KListViewSignals.java KPanelAppletSignals.java KPanelExtensionSignals.java KPopupMenuSignals.java KProcIOSignals.java TDEProcessSignals.java KProgressSignals.java KRecentFilesActionSignals.java KRestrictedLineSignals.java KRootPixmapSignals.java KRunSignals.java KScanDialogSignals.java KSelectActionSignals.java KSelectorSignals.java KShredSignals.java KSpellConfigSignals.java KSpellDlgSignals.java KSpellSignals.java KStatusBarLabelSignals.java KStatusBarSignals.java KSycocaSignals.java KSystemTraySignals.java KTabCtlSignals.java KTextBrowserSignals.java KToggleActionSignals.java KToolBarButtonSignals.java KToolBarSignals.java KURLComboBoxSignals.java KURLLabelSignals.java KURLRequesterSignals.java KXMLGUIFactorySignals.java KXYSelectorSignals.java ListJobSignals.java SlaveSignals.java StatJobSignals.java TransferJobSignals.java KListViewItem.java KTar.java KArchive.java KArchiveDirectory.java KSSLPKCS12.java KArchiveEntry.java KArchiveFile.java KFileMetaInfo.java KFileMetaInfoItem.java KGuiItem.java KIconViewItem.java KStdGuiItem.java KDataTool.java KDataToolAction.java KDataToolInfo.java KDateWidget.java KDirSelectDialog.java KEMailSettings.java KFileFilterCombo.java KFileTreeBranch.java KFileTreeView.java KFileTreeViewItem.java KFileTreeViewToolTip.java KMultipleDrag.java KWordWrap.java KDataToolActionSignals.java KDateWidgetSignals.java KFileFilterComboSignals.java KFileTreeBranchSignals.java KFileTreeViewSignals.java KShortcut.java KKey.java KKeyDialog.java KIO.java Scheduler.java SchedulerSignals.java StatusbarProgress.java ProgressBase.java ProgressBaseSignals.java KKeySequence.java KDockMainWindow.java KDockManager.java KDockManagerSignals.java KDockTabGroup.java KDockWidget.java KDockWidgetSignals.java KURLPixmapProvider.java KAccelAction.java KColor.java KColorCells.java KColorCellsSignals.java KColorDialog.java KColorDialogSignals.java KColorPatch.java KColorPatchSignals.java KHSSelector.java KPaletteTable.java KPaletteTableSignals.java KValueSelector.java DCOPAnswer.java KDE.java KSSLCertDlgRet.java KListAction.java KRecentFilesAction.java KArrowButton.java KDateTimeWidget.java KDateTimeWidgetSignals.java KFindDialog.java KFind.java KFindSignals.java KMultiTabBarButton.java KMultiTabBarButtonSignals.java KMultiTabBarTab.java KPrintAction.java KPrintActionSignals.java KProgressDialog.java KReplaceDialog.java KReplace.java KReplaceSignals.java KURLBarSignals.java KMultiTabBar.java KCatalogue.java KDoubleValidator.java KKeyButton.java KMdiChildArea.java KMdiChildFrmCaption.java KMdiChildFrmDragBeginEvent.java KMdiChildFrmDragEndEvent.java KMdiChildFrm.java KMdiChildFrmMoveEvent.java KMdiChildFrmResizeBeginEvent.java KMdiChildFrmResizeEndEvent.java KMdiChildView.java KMdi.java KMdiMainFrm.java KMdiTaskBarButton.java KMdiTaskBar.java KMdiViewCloseEvent.java KMdiWin32IconButton.java KPasteTextAction.java KStringListValidator.java KTabBar.java KTabWidget.java KTextEdit.java KTimeWidget.java KToggleToolBarAction.java KURLComboRequester.java KMdiChildAreaSignals.java KMdiChildViewSignals.java KMdiMainFrmSignals.java KMdiTaskBarButtonSignals.java KMdiWin32IconButtonSignals.java KTabBarSignals.java KTabWidgetSignals.java KTimeWidgetSignals.java DefaultProgress.java SlaveBase.java KEdit.java KFloatValidator.java KMimeMagic.java KMimeMagicResult.java BrowserInterface.java CSSRule.java CSSRuleList.java CustomNodeFilter.java DavJob.java Document.java DomShared.java EventListener.java Invocation.java KCalendarSystem.java KDirLister.java KFileMetaInfoGroup.java KMimeSourceFactory.java KSharedConfig.java KShellProcess.java KShortcutList.java KSSLCertBox.java KSSLCertChain.java KSSLSession.java KSSLX509V3.java KToggleFullScreenAction.java KURLBarItem.java KURLBar.java KURLBarListBox.java Marchaller.java MetaInfoJob.java Node.java Observer.java PreviewJob.java SlaveInterface.java UIEvent.java KAsyncIO.java KAsyncIOSignals.java TDEBufferedIO.java TDEBufferedIOSignals.java AuthInfo.java RenameDlg.java AbstractView.java KInputDialog.java KAuthIconSignals.java KFileViewSignalerSignals.java KKeyButtonSignals.java KLibFactorySignals.java KURLBarListBoxSignals.java MetaInfoJobSignals.java PartSignals.java PreviewJobSignals.java ReadOnlyPartSignals.java ReadWritePartSignals.java SlaveInterfaceSignals.java CSSCharsetRule.java CSSFontFaceRule.java CSSImportRule.java CSSMediaRule.java CSSPageRule.java CSSStyleRule.java CSSUnknownRule.java CSSValueList.java DOMException.java DOMImplementation.java Entity.java EventException.java Factory.java HistoryProvider.java HistoryProviderSignals.java HTMLFormCollection.java KAccelShortcutList.java KActionShortcutList.java KActiveLabel.java KAr.java KCalendarSystemFactory.java TDECModuleInfo.java TDECModuleLoader.java KCMultiDialog.java KCMultiDialogSignals.java TDEConfigGroup.java KCPUInfo.java KCustomMenuEditor.java KDCOPServiceStarter.java KDiskFreeSp.java KDiskFreeSpSignals.java KDockArea.java KDockAreaSignals.java KFilePlugin.java KFileShare.java KFontRequester.java KFontRequesterSignals.java KIDNA.java KKeyNative.java KMD5.java KMimeTypeResolverBase.java KMimeTypeResolverHelper.java KMimeTypeValidator.java KMountPoint.java KOCRDialog.java KOCRDialogSignals.java KPanelAppMenu.java KPanelAppMenuSignals.java KPassivePopup.java KPassivePopupSignals.java KPluginSelector.java KPluginSelectorSignals.java KRegExpEditorInterface.java KServiceSeparator.java KShell.java KSimpleFileFilter.java KSMIMECrypto.java KSpellingHighlighter.java KSSLCertDlg.java KSSLCertificateCache.java KSSLCertificateFactory.java KSSLKeyGen.java KSSLPKCS7.java KSSLSigners.java KSyntaxHighlighter.java KTempDir.java KURLBarItemDialog.java KWidgetAction.java KWindowInfo.java KXMLGUI.java KZipFileEntry.java KZip.java LinkStyle.java LiveConnectExtension.java LiveConnectExtensionSignals.java MultiGetJob.java MultiGetJobSignals.java MutationEvent.java Notation.java PartBase.java PasswordDialog.java Plugin.java RangeException.java SessionData.java SkipDlg.java SkipDlgSignals.java SlaveConfigSignals.java StatusBarExtension.java TextEvent.java KNamedCommand.java PartManager.java PartManagerSignals.java URLArgs.java WindowArgs.java BrowserHostExtension.java BrowserRun.java KAccelActions.java KDockMainWindowSignals.java StoredTransferJob.java +EXTRA_DIST = TDEGlobal.java KMdiToolViewAccessor.java BrowserExtension.java DCOPClient.java DCOPObject.java DCOPObjectInterface.java DCOPObjectProxy.java KAboutApplication.java KAboutContainer.java TDEAboutData.java KAboutDialog.java KAboutKDE.java KAboutPerson.java KAboutWidget.java KAccel.java KAction.java KActionCollection.java KActionMenu.java KActionSeparator.java KAnimWidget.java TDEApplication.java KAudioPlayer.java KAuthIcon.java KBugReport.java KButtonBox.java TDECModule.java KCharSelect.java KCharSelectTable.java KCharsets.java TDECmdLineArgs.java KColorButton.java KColorCombo.java KColorDrag.java KCombiView.java KComboBox.java KCompletion.java KCompletionBase.java KCompletionBaseInterface.java TDEConfig.java TDEConfigBackEnd.java TDEConfigBase.java TDEConfigGroupSaver.java TDEConfigINIBackEnd.java KContextMenuManager.java KCursor.java KDCOPActionProxy.java KDCOPPropertyProxy.java KDEDesktopMimeType.java KDatePicker.java KDateTable.java KDateValidator.java KDesktopFile.java KDialog.java KDialogBase.java KDirOperator.java KDirWatch.java KDockWidgetAbstractHeader.java KDockWidgetAbstractHeaderDrag.java KDockWidgetHeader.java KDockWidgetHeaderDrag.java KDoubleNumInput.java KDualColorButton.java KEdFind.java KEdGotoLine.java KEdReplace.java KEditToolbar.java KEditToolbarWidget.java KEntry.java KEntryKey.java KExecMimeType.java KFile.java KFileDetailView.java KFileDialog.java KFileFilter.java KFileIconView.java KFileIconViewItem.java KFileItem.java KFileListViewItem.java KFilePreview.java KFileView.java KFileViewInterface.java KFileViewSignaler.java KFolderType.java KFontAction.java KFontChooser.java KFontDialog.java KFontSizeAction.java TDEGlobalAccel.java TDEGlobalSettings.java KGradientSelector.java TDEHTMLPart.java TDEHTMLSettings.java TDEHTMLView.java KHelpMenu.java KHistoryCombo.java KIPC.java KIconButton.java KIconCanvas.java KIconDialog.java KIconEffect.java KIconLoader.java KIconView.java KImageEffect.java KImageIO.java TDEInstance.java TDEInstanceInterface.java KIntNumInput.java KIntSpinBox.java KIntValidator.java KJanusWidget.java KKeyChooser.java KLed.java KLibFactory.java KLibLoader.java KLineEdit.java KListBox.java KListView.java KLocale.java KMainWindow.java KMenuBar.java KMessageBox.java KMimeType.java KNotifyClient.java KNumInput.java KOpenWithDlg.java KPalette.java KPanelApplet.java KPanelMenu.java KPasswordDialog.java KPasswordEdit.java KPixmap.java KPixmapEffect.java KPixmapIO.java KPixmapProvider.java KPopupFrame.java KPopupMenu.java KPopupTitle.java KProcIO.java TDEProcess.java TDEProcessController.java TDEProcessRunner.java KProgress.java KProtocolInfo.java KProtocolManager.java KRFCDate.java KRadioAction.java KRandomSequence.java KRecentDocument.java KRestrictedLine.java KRootPermsIcon.java KRootPixmap.java KRootProp.java KRuler.java KRun.java KSSL.java KSSLCertificate.java KSSLCertificateHome.java KSSLConnectionInfo.java KSSLInfoDlg.java KSSLPeerInfo.java KSSLSettings.java KSSLX509Map.java KSaveFile.java KSelectAction.java KSelector.java KSeparator.java KService.java KServiceGroup.java KServiceOffer.java KServiceType.java KServiceTypeProfile.java KSessionManaged.java KShared.java KShellCompletion.java KShred.java KSimpleConfig.java KSpell.java KSpellConfig.java KSpellDlg.java KStandardDirs.java KStaticDeleterBase.java KStatusBar.java KStatusBarLabel.java KStdAccel.java KStdAction.java KStringHandler.java KSycoca.java KSycocaEntry.java KSystemTray.java KTabCtl.java KTempFile.java KTextBrowser.java KToggleAction.java KToolBar.java KToolBarButton.java KToolBarRadioGroup.java KToolBarSeparator.java KTrader.java KURIFilter.java KURIFilterData.java KURIFilterPlugin.java KURL.java KURLComboBox.java KURLCompletion.java KURLDrag.java KURLLabel.java KURLRequester.java KURLRequesterDlg.java KUniqueApplication.java KWizard.java KWritePermsIcon.java KXMLGUIBuilder.java KXMLGUIBuilderInterface.java KXMLGUIClient.java KXMLGUIClientInterface.java KXMLGUIFactory.java KXYSelector.java Part.java PartBaseInterface.java ReadOnlyPart.java NetAccess.java kdejava.java Event.java GUIActivateEvent.java MouseEvent.java OpenURLEvent.java PartActivateEvent.java PartSelectEvent.java ReadWritePart.java DocumentFragment.java DocumentStyle.java DocumentType.java HTMLDocument.java NamedNodeMap.java CSSStyleSheet.java StyleSheet.java CSSException.java CSSPrimitiveValue.java CSSStyleDeclaration.java CSSValue.java Counter.java RGBColor.java Rect.java Element.java HTMLAnchorElement.java HTMLAppletElement.java HTMLAreaElement.java HTMLBRElement.java HTMLBaseElement.java HTMLBaseFontElement.java HTMLBlockquoteElement.java HTMLBodyElement.java HTMLButtonElement.java HTMLCollection.java HTMLDListElement.java HTMLDirectoryElement.java HTMLDivElement.java HTMLElement.java HTMLFieldSetElement.java HTMLFontElement.java HTMLFormElement.java HTMLFrameElement.java HTMLFrameSetElement.java HTMLHRElement.java HTMLHeadElement.java HTMLHeadingElement.java HTMLHtmlElement.java HTMLIFrameElement.java HTMLImageElement.java HTMLInputElement.java HTMLIsIndexElement.java HTMLLIElement.java HTMLLabelElement.java HTMLLegendElement.java HTMLLinkElement.java HTMLMapElement.java HTMLMenuElement.java HTMLMetaElement.java HTMLModElement.java HTMLOListElement.java HTMLObjectElement.java HTMLOptGroupElement.java HTMLOptionElement.java HTMLParagraphElement.java HTMLParamElement.java HTMLPreElement.java HTMLQuoteElement.java HTMLScriptElement.java HTMLSelectElement.java HTMLStyleElement.java HTMLTableCaptionElement.java HTMLTableCellElement.java HTMLTableColElement.java HTMLTableElement.java HTMLTableRowElement.java HTMLTableSectionElement.java HTMLTextAreaElement.java HTMLTitleElement.java HTMLUListElement.java Attr.java DockMainWindow.java MainWindow.java CDATASection.java Comment.java EntityReference.java NodeFilter.java NodeIterator.java ProcessingInstruction.java Range.java Text.java TreeWalker.java CharacterData.java CopyJob.java DeleteJob.java FileCopyJob.java Job.java KDirNotify.java KDirNotifyInterface.java KDirSize.java ListJob.java MimetypeJob.java SimpleJob.java StatJob.java TransferJob.java Connection.java Slave.java KAboutContributor.java KAboutTranslator.java KCodecs.java KCommand.java KCommandHistory.java KCompletionBox.java KDialogQueue.java KEditListBox.java KFilterBase.java KFilterDev.java KFontCombo.java KMacroCommand.java KPanelExtension.java KPixmapSplitter.java KPreviewWidgetBase.java KPushButton.java KScanDialog.java KSqueezedTextLabel.java KToolBarPopupAction.java KTipDatabase.java KTipDialog.java BrowserExtensionSignals.java CopyJobSignals.java DCOPClientSignals.java DeleteJobSignals.java JobSignals.java KAboutContainerSignals.java KAboutContributorSignals.java KAboutDialogSignals.java KAboutWidgetSignals.java KAccelSignals.java KActionCollectionSignals.java KActionSignals.java KAnimWidgetSignals.java TDEApplicationSignals.java TDECModuleSignals.java KCharSelectSignals.java KCharSelectTableSignals.java KColorButtonSignals.java KColorComboSignals.java KComboBoxSignals.java KCommandHistorySignals.java KCompletionBoxSignals.java KCompletionSignals.java KDatePickerSignals.java KDateTableSignals.java KDialogBaseSignals.java KDialogSignals.java KDirListerSignals.java KDirOperatorSignals.java KDirWatchSignals.java KDoubleNumInputSignals.java KDualColorButtonSignals.java KEdFindSignals.java KEdReplaceSignals.java KEditListBoxSignals.java KEditSignals.java KEditToolbarSignals.java KEditToolbarWidgetSignals.java KFileDetailViewSignals.java KFileDialogSignals.java KFileIconViewSignals.java KFilePreviewSignals.java KFontChooserSignals.java KFontDialogSignals.java KFontSizeActionSignals.java TDEHTMLPartSignals.java TDEHTMLViewSignals.java KHelpMenuSignals.java KHistoryComboSignals.java KIconButtonSignals.java KIconCanvasSignals.java KIconDialogSignals.java KIconViewSignals.java KIntNumInputSignals.java KJanusWidgetSignals.java KKeyChooserSignals.java KLineEditSignals.java KListBoxSignals.java KListViewSignals.java KPanelAppletSignals.java KPanelExtensionSignals.java KPopupMenuSignals.java KProcIOSignals.java TDEProcessSignals.java KProgressSignals.java KRecentFilesActionSignals.java KRestrictedLineSignals.java KRootPixmapSignals.java KRunSignals.java KScanDialogSignals.java KSelectActionSignals.java KSelectorSignals.java KShredSignals.java KSpellConfigSignals.java KSpellDlgSignals.java KSpellSignals.java KStatusBarLabelSignals.java KStatusBarSignals.java KSycocaSignals.java KSystemTraySignals.java KTabCtlSignals.java KTextBrowserSignals.java KToggleActionSignals.java KToolBarButtonSignals.java KToolBarSignals.java KURLComboBoxSignals.java KURLLabelSignals.java KURLRequesterSignals.java KXMLGUIFactorySignals.java KXYSelectorSignals.java ListJobSignals.java SlaveSignals.java StatJobSignals.java TransferJobSignals.java KListViewItem.java KTar.java KArchive.java KArchiveDirectory.java KSSLPKCS12.java KArchiveEntry.java KArchiveFile.java KFileMetaInfo.java KFileMetaInfoItem.java KGuiItem.java KIconViewItem.java KStdGuiItem.java KDataTool.java KDataToolAction.java KDataToolInfo.java KDateWidget.java KDirSelectDialog.java KEMailSettings.java KFileFilterCombo.java KFileTreeBranch.java KFileTreeView.java KFileTreeViewItem.java KFileTreeViewToolTip.java KMultipleDrag.java KWordWrap.java KDataToolActionSignals.java KDateWidgetSignals.java KFileFilterComboSignals.java KFileTreeBranchSignals.java KFileTreeViewSignals.java KShortcut.java KKey.java KKeyDialog.java KIO.java Scheduler.java SchedulerSignals.java StatusbarProgress.java ProgressBase.java ProgressBaseSignals.java KKeySequence.java KDockMainWindow.java KDockManager.java KDockManagerSignals.java KDockTabGroup.java KDockWidget.java KDockWidgetSignals.java KURLPixmapProvider.java KAccelAction.java KColor.java KColorCells.java KColorCellsSignals.java KColorDialog.java KColorDialogSignals.java KColorPatch.java KColorPatchSignals.java KHSSelector.java KPaletteTable.java KPaletteTableSignals.java KValueSelector.java DCOPAnswer.java KDE.java KSSLCertDlgRet.java KListAction.java KRecentFilesAction.java KArrowButton.java KDateTimeWidget.java KDateTimeWidgetSignals.java KFindDialog.java KFind.java KFindSignals.java KMultiTabBarButton.java KMultiTabBarButtonSignals.java KMultiTabBarTab.java KPrintAction.java KPrintActionSignals.java KProgressDialog.java KReplaceDialog.java KReplace.java KReplaceSignals.java KURLBarSignals.java KMultiTabBar.java KCatalogue.java KDoubleValidator.java KKeyButton.java KMdiChildArea.java KMdiChildFrmCaption.java KMdiChildFrmDragBeginEvent.java KMdiChildFrmDragEndEvent.java KMdiChildFrm.java KMdiChildFrmMoveEvent.java KMdiChildFrmResizeBeginEvent.java KMdiChildFrmResizeEndEvent.java KMdiChildView.java KMdi.java KMdiMainFrm.java KMdiTaskBarButton.java KMdiTaskBar.java KMdiViewCloseEvent.java KMdiWin32IconButton.java KPasteTextAction.java KStringListValidator.java KTabBar.java KTabWidget.java KTextEdit.java KTimeWidget.java KToggleToolBarAction.java KURLComboRequester.java KMdiChildAreaSignals.java KMdiChildViewSignals.java KMdiMainFrmSignals.java KMdiTaskBarButtonSignals.java KMdiWin32IconButtonSignals.java KTabBarSignals.java KTabWidgetSignals.java KTimeWidgetSignals.java DefaultProgress.java SlaveBase.java KEdit.java KFloatValidator.java KMimeMagic.java KMimeMagicResult.java BrowserInterface.java CSSRule.java CSSRuleList.java CustomNodeFilter.java DavJob.java Document.java DomShared.java EventListener.java Invocation.java KCalendarSystem.java KDirLister.java KFileMetaInfoGroup.java KMimeSourceFactory.java KSharedConfig.java KShellProcess.java KShortcutList.java KSSLCertBox.java KSSLCertChain.java KSSLSession.java KSSLX509V3.java KToggleFullScreenAction.java KURLBarItem.java KURLBar.java KURLBarListBox.java Marchaller.java MetaInfoJob.java Node.java Observer.java PreviewJob.java SlaveInterface.java UIEvent.java KAsyncIO.java KAsyncIOSignals.java TDEBufferedIO.java TDEBufferedIOSignals.java AuthInfo.java RenameDlg.java AbstractView.java KInputDialog.java KAuthIconSignals.java KFileViewSignalerSignals.java KKeyButtonSignals.java KLibFactorySignals.java KURLBarListBoxSignals.java MetaInfoJobSignals.java PartSignals.java PreviewJobSignals.java ReadOnlyPartSignals.java ReadWritePartSignals.java SlaveInterfaceSignals.java CSSCharsetRule.java CSSFontFaceRule.java CSSImportRule.java CSSMediaRule.java CSSPageRule.java CSSStyleRule.java CSSUnknownRule.java CSSValueList.java DOMException.java DOMImplementation.java Entity.java EventException.java Factory.java HistoryProvider.java HistoryProviderSignals.java HTMLFormCollection.java KAccelShortcutList.java KActionShortcutList.java KActiveLabel.java KAr.java KCalendarSystemFactory.java TDECModuleInfo.java TDECModuleLoader.java KCMultiDialog.java KCMultiDialogSignals.java TDEConfigGroup.java KCPUInfo.java KCustomMenuEditor.java KDCOPServiceStarter.java KDiskFreeSp.java KDiskFreeSpSignals.java KDockArea.java KDockAreaSignals.java KFilePlugin.java KFileShare.java KFontRequester.java KFontRequesterSignals.java KIDNA.java KKeyNative.java KMD5.java KMimeTypeResolverBase.java KMimeTypeResolverHelper.java KMimeTypeValidator.java KMountPoint.java KOCRDialog.java KOCRDialogSignals.java KPanelAppMenu.java KPanelAppMenuSignals.java KPassivePopup.java KPassivePopupSignals.java KPluginSelector.java KPluginSelectorSignals.java KRegExpEditorInterface.java KServiceSeparator.java KShell.java KSimpleFileFilter.java KSMIMECrypto.java KSpellingHighlighter.java KSSLCertDlg.java KSSLCertificateCache.java KSSLCertificateFactory.java KSSLKeyGen.java KSSLPKCS7.java KSSLSigners.java KSyntaxHighlighter.java KTempDir.java KURLBarItemDialog.java KWidgetAction.java KWindowInfo.java KXMLGUI.java KZipFileEntry.java KZip.java LinkStyle.java LiveConnectExtension.java LiveConnectExtensionSignals.java MultiGetJob.java MultiGetJobSignals.java MutationEvent.java Notation.java PartBase.java PasswordDialog.java Plugin.java RangeException.java SessionData.java SkipDlg.java SkipDlgSignals.java SlaveConfigSignals.java StatusBarExtension.java TextEvent.java KNamedCommand.java PartManager.java PartManagerSignals.java URLArgs.java WindowArgs.java BrowserHostExtension.java BrowserRun.java KAccelActions.java KDockMainWindowSignals.java StoredTransferJob.java ####### tdevelop will overwrite this part!!! (end)############ diff --git a/kdejava/koala/org/kde/koala/TDEHTMLPart.java b/kdejava/koala/org/kde/koala/TDEHTMLPart.java new file mode 100644 index 00000000..da363978 --- /dev/null +++ b/kdejava/koala/org/kde/koala/TDEHTMLPart.java @@ -0,0 +1,1004 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.koala; + +import org.kde.qt.Qt; +import org.kde.qt.TQRect; +import org.kde.qt.TQMetaObject; +import org.kde.qt.QtSupport; +import org.kde.qt.TQDataStream; +import org.kde.qt.TQObject; +import org.kde.qt.TQPoint; +import java.util.ArrayList; +import org.kde.qt.TQPainter; +import org.kde.qt.TQCustomEvent; +import org.kde.qt.TQCursor; +import org.kde.qt.TQVariant; +import org.kde.qt.TQWidget; + +/** + + This class is tdehtml's main class. It features an almost complete + web browser, and html renderer. + The easiest way to use this class (if you just want to display an HTML + page at some URL) is the following: +
    + KURL url = "http://www.kde.org";
    + TDEHTMLPart w = new TDEHTMLPart();
    + w.openURL(url);
    + w.view().resize(500, 400);
    + w.show();
    + 
    + Java and JavaScript are enabled by default depending on the user's + settings. If you do not need them, and especially if you display + unfiltered data from untrusted sources, it is strongly recommended to + turn them off. In that case, you should also turn off the automatic + redirect and plugins: +
    + w.setJScriptEnabled(false);
    + w.setJavaEnabled(false);
    + w.setMetaRefreshEnabled(false);
    + w.setPluginsEnabled(false);
    + 
    + You may also wish to disable external references. This will prevent TDEHTML + from loading images, frames, etc, or redirecting to external sites. +
    + w.setOnlyLocalReferences(true);
    + 
    + Some apps want to write their HTML code directly into the widget instead of + opening an url. You can do this in the following way: +
    + String myHTMLCode = ...;
    + TDEHTMLPart w = new TDEHTMLPart();
    + w.begin();
    + w.write(myHTMLCode);
    + ...
    + w.end();
    + 
    + You can do as many calls to write() as you wish. There are two + write() methods, one accepting a String and one accepting a + char argument. You should use one or the other + (but not both) since the method using + the char argument does an additional decoding step to convert the + written data to Unicode. + It is also possible to write content to the HTML part using the + standard streaming API from KParts.ReadOnlyPart. The usage of + the API is similar to that of the begin(), write(), end() process + described above as the following example shows: +
    + TDEHTMLPart doc = new TDEHTMLPart();
    + doc.openStream( "text/html", KURL() );
    + doc.writeStream( String( "

    TDEHTML Rocks!

    " ) ); + doc.closeStream(); +
    + See {@link TDEHTMLPartSignals} for signals emitted by TDEHTMLPart + @author Lars Knoll (knoll@kde.org) + + @short HTML Browser Widget. + +*/ +public class TDEHTMLPart extends ReadOnlyPart { + protected TDEHTMLPart(Class dummy){super((Class) null);} + public static final int DefaultGUI = 0; + public static final int BrowserViewGUI = 1; + + /** + Enumeration for displaying the caret. + @param Visible caret is displayed + @param Invisible caret is not displayed + @param Blink caret toggles between visible and invisible + @short Enumeration for displaying the caret. + */ + public static final int CaretVisible = 0; + public static final int CaretInvisible = 1; + public static final int CaretBlink = 2; + + /** + Extra Find options that can be used when calling the extended findText(). + @short Extra Find options that can be used when calling the extended findText(). + */ + public static final int FindLinksOnly = 1*KFindDialog.MinimumUserOption; + public static final int FindNoPopups = 2*KFindDialog.MinimumUserOption; + + public static final int NoNotification = 0; + public static final int Before = 1; + public static final int Only = 2; + public static final int Unused = 255; + + public static final int NotCrypted = 0; + public static final int Encrypted = 1; + public static final int Mixed = 2; + + public native TQMetaObject metaObject(); + public native String className(); + /** + Constructs a new TDEHTMLPart. + TDEHTML basically consists of two objects: The TDEHTMLPart itself, + holding the document data (DOM document), and the TDEHTMLView, + derived from TQScrollView, in which the document content is + rendered in. You can specify two different parent objects for a + TDEHTMLPart, one parent for the TDEHTMLPart document and on parent + for the TDEHTMLView. If the second parent argument is null, then + parentWidget is used as parent for both objects, the part and + the view. + @short Constructs a new TDEHTMLPart. + */ + public TDEHTMLPart(TQWidget parentWidget, String widgetname, TQObject parent, String name, int prof) { + super((Class) null); + newTDEHTMLPart(parentWidget,widgetname,parent,name,prof); + } + private native void newTDEHTMLPart(TQWidget parentWidget, String widgetname, TQObject parent, String name, int prof); + public TDEHTMLPart(TQWidget parentWidget, String widgetname, TQObject parent, String name) { + super((Class) null); + newTDEHTMLPart(parentWidget,widgetname,parent,name); + } + private native void newTDEHTMLPart(TQWidget parentWidget, String widgetname, TQObject parent, String name); + public TDEHTMLPart(TQWidget parentWidget, String widgetname, TQObject parent) { + super((Class) null); + newTDEHTMLPart(parentWidget,widgetname,parent); + } + private native void newTDEHTMLPart(TQWidget parentWidget, String widgetname, TQObject parent); + public TDEHTMLPart(TQWidget parentWidget, String widgetname) { + super((Class) null); + newTDEHTMLPart(parentWidget,widgetname); + } + private native void newTDEHTMLPart(TQWidget parentWidget, String widgetname); + public TDEHTMLPart(TQWidget parentWidget) { + super((Class) null); + newTDEHTMLPart(parentWidget); + } + private native void newTDEHTMLPart(TQWidget parentWidget); + public TDEHTMLPart() { + super((Class) null); + newTDEHTMLPart(); + } + private native void newTDEHTMLPart(); + public TDEHTMLPart(TDEHTMLView view, TQObject parent, String name, int prof) { + super((Class) null); + newTDEHTMLPart(view,parent,name,prof); + } + private native void newTDEHTMLPart(TDEHTMLView view, TQObject parent, String name, int prof); + public TDEHTMLPart(TDEHTMLView view, TQObject parent, String name) { + super((Class) null); + newTDEHTMLPart(view,parent,name); + } + private native void newTDEHTMLPart(TDEHTMLView view, TQObject parent, String name); + public TDEHTMLPart(TDEHTMLView view, TQObject parent) { + super((Class) null); + newTDEHTMLPart(view,parent); + } + private native void newTDEHTMLPart(TDEHTMLView view, TQObject parent); + public TDEHTMLPart(TDEHTMLView view) { + super((Class) null); + newTDEHTMLPart(view); + } + private native void newTDEHTMLPart(TDEHTMLView view); + /** + Opens the specified URL url. + Reimplemented from KParts.ReadOnlyPart.openURL . + @short Opens the specified URL url. + */ + public native boolean openURL(KURL url); + /** + Stops loading the document and kills all data requests (for images, etc.) + @short Stops loading the document and kills all data requests (for images, etc. + */ + public native boolean closeURL(); + /** + Called when a certain error situation (i.e. connection timed out) occurred. + The default implementation either shows a KIO error dialog or loads a more + verbose error description a as page, depending on the users configuration. + job is the job that signaled the error situation + @short Called when a certain error situation (i. + */ + public native void showError(Job job); + /** + Returns a reference to the DOM HTML document (for non-HTML documents, returns null) + @short Returns a reference to the DOM HTML document (for non-HTML documents, returns null) + */ + public native HTMLDocument htmlDocument(); + /** + Returns a reference to the DOM document. + @short Returns a reference to the DOM document. + */ + public native Document document(); + /** + Returns the content of the source document. + @short Returns the content of the source document. + */ + public native String documentSource(); + /** + Returns the node that has the keyboard focus. + @short Returns the node that has the keyboard focus. + */ + public native Node activeNode(); + /** + Returns a pointer to the KParts.BrowserExtension. + @short Returns a pointer to the KParts.BrowserExtension. + */ + public native BrowserExtension browserExtension(); + // KParts::LiveConnectExtension* liveConnectExtension(const tdehtml::RenderPart* arg1); >>>> NOT CONVERTED + public native BrowserHostExtension browserHostExtension(); + /** + Returns a pointer to the HTML document's view. + @short Returns a pointer to the HTML document's view. + */ + public native TDEHTMLView view(); + /** + Enable/disable Javascript support. Note that this will + in either case permanently override the default usersetting. + If you want to have the default UserSettings, don't call this + method. + @short Enable/disable Javascript support. + */ + public native void setJScriptEnabled(boolean enable); + /** + Returns true if Javascript support is enabled or false + otherwise. + @short Returns true if Javascript support is enabled or false otherwise. + */ + public native boolean jScriptEnabled(); + /** + Returns the JavaScript interpreter the part is using. This method is + mainly intended for applications which embed and extend the part and + provides a mechanism for adding additional native objects to the + interpreter (or removing the built-ins). + One thing people using this method to add things to the interpreter must + consider, is that when you start writing new content to the part, the + interpreter is cleared. This includes both use of the + begin( KURL, int, int ) method, and the openURL( KURL ) + method. If you want your objects to have a longer lifespan, then you must + retain a KJS.Object yourself to ensure that the reference count of your + custom objects never reaches 0. You will also need to re-add your + bindings everytime this happens - one way to detect the need for this is + to connect to the docCreated() signal, another is to reimplement the + begin() method. + @short Returns the JavaScript interpreter the part is using. + */ + // KJS::Interpreter* jScriptInterpreter(); >>>> NOT CONVERTED + /** + Enable/disable statusbar messages. + When this class wants to set the statusbar text, it emits + setStatusBarText(String text) + If you want to catch this for your own statusbar, note that it returns + back a rich text string, starting with "". This you need to + either pass this into your own TQLabel or to strip out the tags + before passing it to TQStatusBar.message(String message) + @short Enable/disable statusbar messages. + @see Part#setStatusBarText( + @see #const + @see #text + */ + public native void setStatusMessagesEnabled(boolean enable); + /** + Returns true if status messages are enabled. + @short Returns true if status messages are enabled. + */ + public native boolean statusMessagesEnabled(); + /** + Enable/disable automatic forwarding by <meta http-equiv="refresh" ....> + @short Enable/disable automatic forwarding by <meta http-equiv="refresh" . + */ + public native void setMetaRefreshEnabled(boolean enable); + /** + Returns true if automatic forwarding is enabled. + @short Returns true if automatic forwarding is enabled. + */ + public native boolean metaRefreshEnabled(); + /** + Same as executeScript( String ) except with the Node parameter + specifying the 'this' value. + @short Same as executeScript( String ) except with the Node parameter specifying the 'this' value. + */ + public native TQVariant executeScript(Node n, String script); + /** + Enables or disables Drag'n'Drop support. A drag operation is started if + the users drags a link. + @short Enables or disables Drag'n'Drop support. + */ + public native void setDNDEnabled(boolean b); + /** + Returns whether Dragn'n'Drop support is enabled or not. + @short Returns whether Dragn'n'Drop support is enabled or not. + */ + public native boolean dndEnabled(); + /** + Enables/disables Java applet support. Note that calling this function + will permanently override the User settings about Java applet support. + Not calling this function is the only way to let the default settings + apply. + @short Enables/disables Java applet support. + */ + public native void setJavaEnabled(boolean enable); + /** + Return true if Java applet support is enabled, false if disabled + @short Return true if Java applet support is enabled, false if disabled + */ + public native boolean javaEnabled(); + /** + Returns the java context of the applets. If no applet exists, 0 is returned. + @short Returns the java context of the applets. + */ + // KJavaAppletContext* javaContext(); >>>> NOT CONVERTED + /** + Returns the java context of the applets. If no context exists yet, a + new one is created. + @short Returns the java context of the applets. + */ + // KJavaAppletContext* createJavaContext(); >>>> NOT CONVERTED + /** + Enables or disables plugins, default is enabled + @short Enables or disables plugins, default is enabled + */ + public native void setPluginsEnabled(boolean enable); + /** + Returns true if plugins are enabled/disabled. + @short Returns true if plugins are enabled/disabled. + */ + public native boolean pluginsEnabled(); + /** + Specifies whether images contained in the document should be loaded + automatically or not. + @note Request will be ignored if called before begin(). + @short Specifies whether images contained in the document should be loaded automatically or not. + */ + public native void setAutoloadImages(boolean enable); + /** + Returns whether images contained in the document are loaded automatically + or not. + @note that the returned information is unrelieable as long as no begin() + was called. + @short Returns whether images contained in the document are loaded automatically or not. + */ + public native boolean autoloadImages(); + /** + Security option. + Specify whether only file:/ or data:/ urls are allowed to be loaded without + user confirmation by TDEHTML. + ( for example referenced by stylesheets, images, scripts, subdocuments, embedded elements ). + This option is mainly intended for enabling the "mail reader mode", where you load untrusted + content with a file:/ url. + Please note that enabling this option currently automatically disables Javascript, + Java and Plugins support. This might change in the future if the security model + is becoming more sophisticated, so don't rely on this behaviour. + ( default false - everything is loaded unless forbidden by TDEApplication.authorizeURLAction). + @short Security option. + */ + public native void setOnlyLocalReferences(boolean enable); + /** + Returns whether only file:/ or data:/ references are allowed + to be loaded ( default false ). See setOnlyLocalReferences. + @short Returns whether only file:/ or data:/ references are allowed to be loaded ( default false ). + */ + public native boolean onlyLocalReferences(); + /** Returns whether caret mode is on/off. + @short Returns whether caret mode is on/off. + */ + public native boolean isCaretMode(); + /** + Returns true if the document is editable, false otherwise. + @short Returns true if the document is editable, false otherwise. + */ + public native boolean isEditable(); + /** + Sets the caret to the given position. + If the given location is invalid, it will snap to the nearest valid + location. Immediately afterwards a caretPositionChanged signal + containing the effective position is emitted + @param node node to set to + @param offset zero-based offset within the node + @param extendSelection If true, a selection will be spanned from the + last caret position to the given one. Otherwise, any existing selection + will be deselected. + @short Sets the caret to the given position. + */ + public native void setCaretPosition(Node node, long offset, boolean extendSelection); + public native void setCaretPosition(Node node, long offset); + /** + Returns the current caret policy when the view is not focused. + @short Returns the current caret policy when the view is not focused. + */ + public native int caretDisplayPolicyNonFocused(); + /** + Sets the caret display policy when the view is not focused. + Whenever the caret is in use, this property determines how the + caret should be displayed when the document view is not focused. + The default policy is CaretInvisible. + @param policy new display policy + @short Sets the caret display policy when the view is not focused. + */ + public native void setCaretDisplayPolicyNonFocused(int policy); + public native void enableJScript(boolean e); + public native void enableJava(boolean e); + public native void enablePlugins(boolean e); + public native void autoloadImages(boolean e); + public native void enableMetaRefresh(boolean e); + public native boolean setCharset(String arg1, boolean arg2); + public native KURL baseURL(); + public native String baseTarget(); + /** + Returns the URL for the background Image (used by save background) + @short Returns the URL for the background Image (used by save background) + */ + public native KURL backgroundURL(); + /** + Schedules a redirection after delay seconds. + @short Schedules a redirection after delay seconds. + */ + public native void scheduleRedirection(int delay, String url, boolean lockHistory); + public native void scheduleRedirection(int delay, String url); + /** + Clears the widget and prepares it for new content. + If you want url() to return + for example "file:/tmp/test.html", you can use the following code: +
    +		 view.begin( KURL("file:/tmp/test.html" ) );
    +		 
    + @param url is the url of the document to be displayed. Even if you + are generating the HTML on the fly, it may be useful to specify + a directory so that any pixmaps are found. + @param xOffset is the initial horizontal scrollbar value. Usually + you don't want to use this. + @param yOffset is the initial vertical scrollbar value. Usually + you don't want to use this. + All child frames and the old document are removed if you call + this method. + @short Clears the widget and prepares it for new content. + */ + public native void begin(KURL url, int xOffset, int yOffset); + public native void begin(KURL url, int xOffset); + public native void begin(KURL url); + public native void begin(); + /** + Writes another part of the HTML code to the widget. + You may call + this function many times in sequence. But remember: The fewer calls + you make, the faster the widget will be. + The HTML code is send through a decoder which decodes the stream to + Unicode. + The len parameter is needed for streams encoded in utf-16, + since these can have \\0 chars in them. In case the encoding + you're using isn't utf-16, you can safely leave out the length + parameter. + Attention: Don't mix calls to write( String ) with calls + to write( String ). + The result might not be what you want. + @short Writes another part of the HTML code to the widget. + */ + public native void write(String str, int len); + public native void write(String str); + /** + Call this after your last call to write(). + @short Call this after your last call to write(). + */ + public native void end(); + /** + Paints the HTML page to a TQPainter. See TDEHTMLView.paint for details + @short Paints the HTML page to a TQPainter. + */ + public native void paint(TQPainter arg1, TQRect arg2, int arg3, boolean[] arg4); + public native void paint(TQPainter arg1, TQRect arg2, int arg3); + public native void paint(TQPainter arg1, TQRect arg2); + /** + Sets the encoding the page uses. + This can be different from the charset. The widget will try to reload the current page in the new + encoding, if url() is not empty. + @short Sets the encoding the page uses. + */ + public native boolean setEncoding(String name, boolean override); + public native boolean setEncoding(String name); + /** + Returns the encoding the page currently uses. + Note that the encoding might be different from the charset. + @short Returns the encoding the page currently uses. + */ + public native String encoding(); + /** + Sets a user defined style sheet to be used on top of the HTML 4 + default style sheet. + This gives a wide range of possibilities to + change the layout of the page. + To have an effect this function has to be called after calling begin(). + @short Sets a user defined style sheet to be used on top of the HTML 4 default style sheet. + */ + public native void setUserStyleSheet(KURL url); + /** + Sets a user defined style sheet to be used on top of the HTML 4 + default style sheet. + This gives a wide range of possibilities to + change the layout of the page. + To have an effect this function has to be called after calling begin(). + @short Sets a user defined style sheet to be used on top of the HTML 4 default style sheet. + */ + public native void setUserStyleSheet(String styleSheet); + /** + Sets the standard font style. + @param name The font name to use for standard text. + @short Sets the standard font style. + */ + public native void setStandardFont(String name); + /** + Sets the fixed font style. + @param name The font name to use for fixed text, e.g. + the <pre> tag. + @short Sets the fixed font style. + */ + public native void setFixedFont(String name); + /** + Finds the anchor named name. + If the anchor is found, the widget + scrolls to the closest position. Returns if the anchor has + been found. + @short Finds the anchor named name. + */ + public native boolean gotoAnchor(String name); + /** + Go to the next anchor + This is useful to navigate from outside the navigator + @short Go to the next anchor + */ + public native boolean nextAnchor(); + /** + Go to previous anchor + @short Go to previous anchor + */ + public native boolean prevAnchor(); + /** + Sets the cursor to use when the cursor is on a link. + @short Sets the cursor to use when the cursor is on a link. + */ + public native void setURLCursor(TQCursor c); + /** + Returns the cursor which is used when the cursor is on a link. + @short Returns the cursor which is used when the cursor is on a link. + */ + public native TQCursor urlCursor(); + /** + Starts a new search by popping up a dialog asking the user what he wants to + search for. + @short Starts a new search by popping up a dialog asking the user what he wants to search for. + */ + public native void findText(); + /** + Starts a new search, but bypasses the user dialog. + @param str The string to search for. + @param options Find options. + @param parent Parent used for centering popups like "string not found". + @param findDialog Optionally, you can supply your own dialog. + @short Starts a new search, but bypasses the user dialog. + */ + public native void findText(String str, long options, TQWidget parent, KFindDialog findDialog); + public native void findText(String str, long options, TQWidget parent); + public native void findText(String str, long options); + /** + Initiates a text search. + @short Initiates a text search. + */ + public native void findTextBegin(); + /** + Finds the next occurence of a string set by {@link #findText} + @return true if a new match was found. + + @short Finds the next occurence of a string set by @ref findText() + */ + public native boolean findTextNext(); + /** + Finds the next occurence of a string set by {@link #findText} + @param reverse if true, revert seach direction (only if no find dialog is used) + @return true if a new match was found. + + @short Finds the next occurence of a string set by @ref findText() + */ + public native boolean findTextNext(boolean reverse); + /** + Sets the Zoom factor. The value is given in percent, larger values mean a + generally larger font and larger page contents. It is not guaranteed that + all parts of the page are scaled with the same factor though. + The given value should be in the range of 20..300, values outside that + range are not guaranteed to work. A value of 100 will disable all zooming + and show the page with the sizes determined via the given lengths in the + stylesheets. + @short Sets the Zoom factor. + */ + public native void setZoomFactor(int percent); + /** + Returns the current zoom factor. + @short Returns the current zoom factor. + */ + public native int zoomFactor(); + /** + Returns the text the user has marked. + @short Returns the text the user has marked. + */ + public native String selectedText(); + /** + Return the text the user has marked. This is guaranteed to be valid xml, + and to contain the \ and \ tags. + FIXME probably should make for 4.0 ? + @short Return the text the user has marked. + */ + public native String selectedTextAsHTML(); + /** + Returns the selected part of the HTML. + @short Returns the selected part of the HTML. + */ + public native Range selection(); + /** + Returns the selected part of the HTML by returning the starting and end + position. + If there is no selection, both nodes and offsets are equal. + @param startNode returns node selection starts in + @param startOffset returns offset within starting node + @param endNode returns node selection ends in + @param endOffset returns offset within end node. + @short Returns the selected part of the HTML by returning the starting and end position. + */ + public native void selection(Node startNode, long startOffset, Node endNode, long endOffset); + /** + Sets the current selection. + @short Sets the current selection. + */ + public native void setSelection(Range arg1); + /** + Has the user selected anything? + Call selectedText() to + retrieve the selected text. + @return true if there is text selected. + + @short Has the user selected anything? + */ + public native boolean hasSelection(); + /** + Marks all text in the document as selected. + @short Marks all text in the document as selected. + */ + public native void selectAll(); + /** + Convenience method to show the document's view. + Equivalent to widget().show() or view().show() . + @short Convenience method to show the document's view. + */ + public native void show(); + /** + Convenience method to hide the document's view. + Equivalent to widget().hide() or view().hide(). + @short Convenience method to hide the document's view. + */ + public native void hide(); + /** + Returns a reference to the partmanager instance which + manages html frame objects. + @short Returns a reference to the partmanager instance which manages html frame objects. + */ + public native PartManager partManager(); + /** + Saves the TDEHTMLPart's complete state (including child frame + objects) to the provided TQDataStream. + This is called from the saveState() method of the + browserExtension(). + @short Saves the TDEHTMLPart's complete state (including child frame objects) to the provided TQDataStream. + */ + public native void saveState(TQDataStream stream); + /** + Restores the TDEHTMLPart's previously saved state (including + child frame objects) from the provided TQDataStream. + This is called from the restoreState() method of the + browserExtension() . + @short Restores the TDEHTMLPart's previously saved state (including child frame objects) from the provided TQDataStream. + @see #saveState + */ + public native void restoreState(TQDataStream stream); + /** + Returns the Node currently under the mouse. + The returned node may be a shared node (e. g. an \ node if the + mouse is hovering over an image map). + @short Returns the Node currently under the mouse. + */ + public native Node nodeUnderMouse(); + /** + Returns the Node currently under the mouse that is not shared. + The returned node is always the node that is physically under the mouse + pointer (irrespective of logically overlying elements like, e. g., + \ on image maps). + @short Returns the Node currently under the mouse that is not shared. + */ + public native Node nonSharedNodeUnderMouse(); + /** + @short + */ + public native TDEHTMLSettings settings(); + /** + Returns a pointer to the parent TDEHTMLPart if the part is a frame + in an HTML frameset. + Returns null otherwise. + @short Returns a pointer to the parent TDEHTMLPart if the part is a frame in an HTML frameset. + */ + public native TDEHTMLPart parentPart(); + /** + Returns a list of names of all frame (including iframe) objects of + the current document. Note that this method is not working recursively + for sub-frames. + @short Returns a list of names of all frame (including iframe) objects of the current document. + */ + public native ArrayList frameNames(); + // TQPtrList frames(); >>>> NOT CONVERTED + /** + Finds a frame by name. Returns null if frame can't be found. + @short Finds a frame by name. + */ + public native TDEHTMLPart findFrame(String f); + /** + Recursively finds the part containing the frame with name f + and checks if it is accessible by callingPart + Returns null if no suitable frame can't be found. + Returns parent part if a suitable frame was found and + frame info in childFrame + @short Recursively finds the part containing the frame with name f and checks if it is accessible by callingPart Returns 0L if no suitable frame can't be found. + */ + // TDEHTMLPart* findFrameParent(KParts::ReadOnlyPart* arg1,const TQString& arg2,tdehtml::ChildFrame** arg3); >>>> NOT CONVERTED + public native TDEHTMLPart findFrameParent(ReadOnlyPart callingPart, String f); + /** + Return the current frame (the one that has focus) + Not necessarily a direct child of ours, framesets can be nested. + Returns "this" if this part isn't a frameset. + @short Return the current frame (the one that has focus) Not necessarily a direct child of ours, framesets can be nested. + */ + public native ReadOnlyPart currentFrame(); + /** + Returns whether a frame with the specified name is exists or not. + In contrary to the findFrame method this one also returns true + if the frame is defined but no displaying component has been + found/loaded, yet. + @short Returns whether a frame with the specified name is exists or not. + */ + public native boolean frameExists(String frameName); + /** + Returns child frame framePart its script interpreter + @short Returns child frame framePart its script interpreter + */ + // KJSProxy* framejScript(KParts::ReadOnlyPart* arg1); >>>> NOT CONVERTED + /** + Finds a frame by name. Returns null if frame can't be found. + @short Finds a frame by name. + */ + public native ReadOnlyPart findFramePart(String f); + /** + Called by KJS. + Sets the StatusBarText assigned + via window.status + @short Called by KJS. + */ + public native void setJSStatusBarText(String text); + /** + Called by KJS. + Sets the DefaultStatusBarText assigned + via window.defaultStatus + @short Called by KJS. + */ + public native void setJSDefaultStatusBarText(String text); + /** + Called by KJS. + Returns the StatusBarText assigned + via window.status + @short Called by KJS. + */ + public native String jsStatusBarText(); + /** + Called by KJS. + Returns the DefaultStatusBarText assigned + via window.defaultStatus + @short Called by KJS. + */ + public native String jsDefaultStatusBarText(); + /** + Referrer used for links in this page. + @short Referrer used for links in this page. + */ + public native String referrer(); + /** + Referrer used to obtain this page. + @short Referrer used to obtain this page. + */ + public native String pageReferrer(); + /** + Last-modified date (in raw string format), if received in the [HTTP] headers. + @short Last-modified date (in raw string format), if received in the [HTTP] headers. + */ + public native String lastModified(); + /** + Loads a style sheet into the stylesheet cache. + @short Loads a style sheet into the stylesheet cache. + */ + public native void preloadStyleSheet(String url, String stylesheet); + /** + Loads a script into the script cache. + @short Loads a script into the script cache. + */ + public native void preloadScript(String url, String script); + /** + @short + */ + public native boolean restored(); + /** + Determine if signal should be emitted before, instead or never when a + submitForm() happens. + @short Determine if signal should be emitted before, instead or never when a submitForm() happens. + */ + public native void setFormNotification(int fn); + /** + Determine if signal should be emitted before, instead or never when a + submitForm() happens. + ### KDE4 remove me + @short Determine if signal should be emitted before, instead or never when a submitForm() happens. + */ + public native int formNotification(); + /** + Returns the toplevel (origin) URL of this document, even if this + part is a frame or an iframe. + @return the actual original url. + + @short Returns the toplevel (origin) URL of this document, even if this part is a frame or an iframe. + */ + public native KURL toplevelURL(); + /** + Checks whether the page contains unsubmitted form changes. + @return true if form changes exist + + @short Checks whether the page contains unsubmitted form changes. + */ + public native boolean isModified(); + /** + Shows or hides the suppressed popup indicator + @short Shows or hides the suppressed popup indicator + */ + public native void setSuppressedPopupIndicator(boolean enable, TDEHTMLPart originPart); + /** + @short + */ + public native boolean inProgress(); + /** + Sets the focused node of the document to the specified node. If the node is a form control, the control will + receive focus in the same way that it would if the user had clicked on it or tabbed to it with the keyboard. For + most other types of elements, there is no visual indication of whether or not they are focused. + See activeNode + @param node The node to focus + @short Sets the focused node of the document to the specified node. + */ + public native void setActiveNode(Node node); + /** + Stops all animated images on the current and child pages + @short Stops all animated images on the current and child pages + */ + public native void stopAnimations(); + public native String dcopObjectId(); + /** + Enables/disables caret mode. + Enabling caret mode displays a caret which can be used to navigate + the document using the keyboard only. Caret mode is switched off by + default. + @param enable true to enable, false to disable caret mode. + @short Enables/disables caret mode. + */ + public native void setCaretMode(boolean enable); + /** + Makes the document editable. + Setting this property to true makes the document, and its + subdocuments (such as frames, iframes, objects) editable as a whole. + FIXME: insert more information about navigation, features etc. as seen fit + @param enable true to set document editable, false to set it + read-only. + @short Makes the document editable. + */ + public native void setEditable(boolean enable); + /** + Sets the visibility of the caret. + This methods displays or hides the caret regardless of the current + caret display policy (see setCaretDisplayNonFocused), and regardless + of focus. + The caret will be shown/hidden only under at least one of + the following conditions: + +
  • + the document is editable +
  • + +
  • + the document is in caret mode +
  • + +
  • + the document's currently focused element is editable +
  • + @param show true to make visible, false to hide. + @short Sets the visibility of the caret. + */ + public native void setCaretVisible(boolean show); + public native void submitFormProxy(String action, String url, byte[] formData, String target, String contentType, String boundary); + public native void submitFormProxy(String action, String url, byte[] formData, String target, String contentType); + public native void submitFormProxy(String action, String url, byte[] formData, String target); + /** + returns a KURL object for the given url. Use when + you know what you're doing. + @short returns a KURL object for the given url. + */ + protected native KURL completeURL(String url); + /** + presents a detailed error message to the user. + errorCode tdeio error code, eg KIO.ERR_SERVER_TIMEOUT. + text tdeio additional information text. + url the url that triggered the error. + @short presents a detailed error message to the user. + */ + protected native void htmlError(int errorCode, String text, KURL reqUrl); + protected native void customEvent(TQCustomEvent event); + /** + Eventhandler of the tdehtml.MousePressEvent. + @short Eventhandler of the tdehtml.MousePressEvent. + */ + // void tdehtmlMousePressEvent(tdehtml::MousePressEvent* arg1); >>>> NOT CONVERTED + /** + Eventhandler for the tdehtml.MouseDoubleClickEvent. + @short Eventhandler for the tdehtml.MouseDoubleClickEvent. + */ + // void tdehtmlMouseDoubleClickEvent(tdehtml::MouseDoubleClickEvent* arg1); >>>> NOT CONVERTED + /** + Eventhandler for the tdehtml.MouseMouseMoveEvent. + @short Eventhandler for the tdehtml.MouseMouseMoveEvent. + */ + // void tdehtmlMouseMoveEvent(tdehtml::MouseMoveEvent* arg1); >>>> NOT CONVERTED + /** + Eventhandler for the tdehtml.MouseMouseReleaseEvent. + @short Eventhandler for the tdehtml.MouseMouseReleaseEvent. + */ + // void tdehtmlMouseReleaseEvent(tdehtml::MouseReleaseEvent* arg1); >>>> NOT CONVERTED + /** + Eventhandler for the tdehtml.DrawContentsEvent. + @short Eventhandler for the tdehtml.DrawContentsEvent. + */ + // void tdehtmlDrawContentsEvent(tdehtml::DrawContentsEvent* arg1); >>>> NOT CONVERTED + /** + Internal reimplementation of KParts.Part.guiActivateEvent . + @short Internal reimplementation of KParts.Part.guiActivateEvent . + */ + protected native void guiActivateEvent(GUIActivateEvent event); + /** + Internal empty reimplementation of KParts.ReadOnlyPart.openFile . + @short Internal empty reimplementation of KParts.ReadOnlyPart.openFile . + */ + protected native boolean openFile(); + protected native void urlSelected(String url, int button, int state, String _target, URLArgs args); + protected native void urlSelected(String url, int button, int state, String _target); + /** + This method is called when a new embedded object (include html frames) is to be created. + Reimplement it if you want to add support for certain embeddable objects without registering + them in the KDE wide registry system (KSyCoCa) . Another reason for re-implementing this + method could be if you want to derive from KTHMLPart and also want all html frame objects + to be a object of your derived type, in which case you should return a new instance for + the mimetype 'text/html' . + @short This method is called when a new embedded object (include html frames) is to be created. + */ + protected native ReadOnlyPart createPart(TQWidget parentWidget, String widgetName, TQObject parent, String name, String mimetype, StringBuffer serviceName, String[] serviceTypes, String[] params); + protected native boolean pluginPageQuestionAsked(String mimetype); + protected native void setPluginPageQuestionAsked(String mimetype); + // void setPageSecurity(TDEHTMLPart::PageSecurity arg1); >>>> NOT CONVERTED + /** + Implements the streaming API of KParts.ReadOnlyPart. + @short Implements the streaming API of KParts.ReadOnlyPart. + */ + protected native boolean doOpenStream(String mimeType); + /** + Implements the streaming API of KParts.ReadOnlyPart. + @short Implements the streaming API of KParts.ReadOnlyPart. + */ + protected native boolean doWriteStream(byte[] data); + /** + Implements the streaming API of KParts.ReadOnlyPart. + @short Implements the streaming API of KParts.ReadOnlyPart. + */ + protected native boolean doCloseStream(); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/kdejava/koala/org/kde/koala/TDEHTMLPartSignals.java b/kdejava/koala/org/kde/koala/TDEHTMLPartSignals.java new file mode 100644 index 00000000..3e19f5ef --- /dev/null +++ b/kdejava/koala/org/kde/koala/TDEHTMLPartSignals.java @@ -0,0 +1,61 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.koala; + +import org.kde.qt.TQRect; +import org.kde.qt.TQMetaObject; +import org.kde.qt.QtSupport; +import org.kde.qt.TQDataStream; +import org.kde.qt.TQObject; +import org.kde.qt.TQPoint; +import java.util.ArrayList; +import org.kde.qt.TQPainter; +import org.kde.qt.TQCustomEvent; +import org.kde.qt.TQCursor; +import org.kde.qt.TQVariant; +import org.kde.qt.TQWidget; + +public interface TDEHTMLPartSignals { + /** + Emitted if the cursor is moved over an URL. + @short Emitted if the cursor is moved over an URL. + */ + void onURL(String url); + /** + Emitted when the user clicks the right mouse button on the document. + @short Emitted when the user clicks the right mouse button on the document. + */ + void popupMenu(String url, TQPoint point); + /** + This signal is emitted when the selection changes. + @short This signal is emitted when the selection changes. + */ + void selectionChanged(); + /** + 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. + @short This signal is emitted when an element retrieves the keyboard focus. + */ + void nodeActivated(Node arg1); + /** + 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. + @param node node which the caret is in. This can be null if the caret + has been deactivated. + @param offset offset within the node. If the node is null, the offset + is meaningless. + @short + */ + void caretPositionChanged(Node node, long offset); + /** + If form notification is on, this will be emitted either for a form + submit or before the form submit according to the setting. + @short If form notification is on, this will be emitted either for a form submit or before the form submit according to the setting. + */ + void formSubmitNotification(String action, String url, byte[] formData, String target, String contentType, String boundary); +} diff --git a/kdejava/koala/org/kde/koala/TDEHTMLSettings.java b/kdejava/koala/org/kde/koala/TDEHTMLSettings.java new file mode 100644 index 00000000..9493e58c --- /dev/null +++ b/kdejava/koala/org/kde/koala/TDEHTMLSettings.java @@ -0,0 +1,173 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.koala; + +import org.kde.qt.Qt; +import org.kde.qt.TQColor; +import org.kde.qt.QtSupport; + +/** + + Settings for the HTML view. + @short Settings for the HTML view. + +*/ +public class TDEHTMLSettings implements QtSupport { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected TDEHTMLSettings(Class dummy){} + + /** + This enum specifies whether Java/JavaScript execution is allowed. + @short This enum specifies whether Java/JavaScript execution is allowed. + */ + public static final int KJavaScriptDunno = 0; + public static final int KJavaScriptAccept = 1; + public static final int KJavaScriptReject = 2; + + public static final int KAnimationDisabled = 0; + public static final int KAnimationLoopOnce = 1; + public static final int KAnimationEnabled = 2; + + /** + This enum specifies the policy for window.open + @short This enum specifies the policy for window. + */ + public static final int KJSWindowOpenAllow = 0; + public static final int KJSWindowOpenAsk = 1; + public static final int KJSWindowOpenDeny = 2; + public static final int KJSWindowOpenSmart = 3; + + /** + This enum specifies the policy for window.status and .defaultStatus + @short This enum specifies the policy for window. + */ + public static final int KJSWindowStatusAllow = 0; + public static final int KJSWindowStatusIgnore = 1; + + /** + This enum specifies the policy for window.moveBy and .moveTo + @short This enum specifies the policy for window. + */ + public static final int KJSWindowMoveAllow = 0; + public static final int KJSWindowMoveIgnore = 1; + + /** + This enum specifies the policy for window.resizeBy and .resizeTo + @short This enum specifies the policy for window. + */ + public static final int KJSWindowResizeAllow = 0; + public static final int KJSWindowResizeIgnore = 1; + + /** + This enum specifies the policy for window.focus + @short This enum specifies the policy for window. + */ + public static final int KJSWindowFocusAllow = 0; + public static final int KJSWindowFocusIgnore = 1; + + /** + @short + */ + public TDEHTMLSettings() { + newTDEHTMLSettings(); + } + private native void newTDEHTMLSettings(); + public TDEHTMLSettings(TDEHTMLSettings other) { + newTDEHTMLSettings(other); + } + private native void newTDEHTMLSettings(TDEHTMLSettings other); + /** + Called by constructor and reparseConfiguration + @short Called by constructor and reparseConfiguration + */ + public native void init(); + /** Read settings from config. + @param config is a pointer to TDEConfig object. + @param reset if true, settings are always set; if false, + settings are only set if the config file has a corresponding key. + @short Read settings from config. + */ + public native void init(TDEConfig config, boolean reset); + public native void init(TDEConfig config); + public native boolean changeCursor(); + public native boolean underlineLink(); + public native boolean hoverLink(); + public native boolean allowTabulation(); + public native boolean autoSpellCheck(); + public native int showAnimations(); + public native String stdFontName(); + public native String fixedFontName(); + public native String serifFontName(); + public native String sansSerifFontName(); + public native String cursiveFontName(); + public native String fantasyFontName(); + public native void setStdFontName(String n); + public native void setFixedFontName(String n); + public native int minFontSize(); + public native int mediumFontSize(); + public native boolean jsErrorsEnabled(); + public native void setJSErrorsEnabled(boolean enabled); + public native String encoding(); + public native boolean followSystemColors(); + public native TQColor textColor(); + public native TQColor baseColor(); + public native TQColor linkColor(); + public native TQColor vLinkColor(); + public native boolean autoLoadImages(); + public native boolean unfinishedImageFrame(); + public native boolean isOpenMiddleClickEnabled(); + public native boolean isBackRightClickEnabled(); + public native boolean isJavaEnabled(String hostname); + public native boolean isJavaEnabled(); + public native boolean isJavaScriptEnabled(String hostname); + public native boolean isJavaScriptEnabled(); + public native boolean isJavaScriptDebugEnabled(String hostname); + public native boolean isJavaScriptDebugEnabled(); + public native boolean isJavaScriptErrorReportingEnabled(String hostname); + public native boolean isJavaScriptErrorReportingEnabled(); + public native boolean isPluginsEnabled(String hostname); + public native boolean isPluginsEnabled(); + public native boolean isAdFiltered(String url); + public native boolean isAdFilterEnabled(); + public native boolean isHideAdsEnabled(); + public native void addAdFilter(String url); + public native boolean accessKeysEnabled(); + public native int windowOpenPolicy(String hostname); + public native int windowOpenPolicy(); + public native int windowMovePolicy(String hostname); + public native int windowMovePolicy(); + public native int windowResizePolicy(String hostname); + public native int windowResizePolicy(); + public native int windowStatusPolicy(String hostname); + public native int windowStatusPolicy(); + public native int windowFocusPolicy(String hostname); + public native int windowFocusPolicy(); + /** reads from config's current group, forcing initialization + if reset is true. + @param config is a pointer to TDEConfig object. + @param reset true if initialization is to be forced. + @param global true if the global domain is to be read. + @param pd_settings will be initialised with the computed (inherited) + settings. + @short reads from config's current group, forcing initialization if reset is true. + */ + // void readDomainSettings(TDEConfig* arg1,bool arg2,bool arg3,KPerDomainSettings& arg4); >>>> NOT CONVERTED + public native String settingsToCSS(); + public native String userStyleSheet(); + public native boolean isFormCompletionEnabled(); + public native int maxFormCompletionItems(); + public native boolean isAutoDelayedActionsEnabled(); + public native String fallbackAccessKeysAssignments(); + public native void setJSPopupBlockerPassivePopup(boolean enabled); + public native boolean jsPopupBlockerPassivePopup(); + public static native int strToAdvice(String _str); + public static native void splitDomainAdvice(String configStr, StringBuffer domain, int javaAdvice, int javaScriptAdvice); + public static native String adviceToStr(int _advice); + public static native String availableFamilies(); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/kdejava/koala/org/kde/koala/TDEHTMLView.java b/kdejava/koala/org/kde/koala/TDEHTMLView.java new file mode 100644 index 00000000..f3f84a2c --- /dev/null +++ b/kdejava/koala/org/kde/koala/TDEHTMLView.java @@ -0,0 +1,139 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.koala; + +import org.kde.qt.Qt; +import org.kde.qt.TQHideEvent; +import org.kde.qt.TQMetaObject; +import org.kde.qt.QtSupport; +import org.kde.qt.TQObject; +import org.kde.qt.TQCloseEvent; +import org.kde.qt.TQDragEnterEvent; +import org.kde.qt.TQContextMenuEvent; +import org.kde.qt.TQPainter; +import org.kde.qt.TQFocusEvent; +import org.kde.qt.TQKeyEvent; +import org.kde.qt.TQMouseEvent; +import org.kde.qt.TQShowEvent; +import org.kde.qt.TQDropEvent; +import org.kde.qt.TQEvent; +import org.kde.qt.TQTimerEvent; +import org.kde.qt.TQWidget; +import org.kde.qt.TQResizeEvent; +import org.kde.qt.TQWheelEvent; +import org.kde.qt.TQScrollView; + +/** + + Renders and displays HTML in a TQScrollView. + Suitable for use as an application's main view. + See {@link TDEHTMLViewSignals} for signals emitted by TDEHTMLView + @short Renders and displays HTML in a TQScrollView. + +*/ +public class TDEHTMLView extends TQScrollView { + protected TDEHTMLView(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); + public native String className(); + /** + Constructs a TDEHTMLView. + @short Constructs a TDEHTMLView. + */ + public TDEHTMLView(TDEHTMLPart part, TQWidget parent, String name) { + super((Class) null); + newTDEHTMLView(part,parent,name); + } + private native void newTDEHTMLView(TDEHTMLPart part, TQWidget parent, String name); + public TDEHTMLView(TDEHTMLPart part, TQWidget parent) { + super((Class) null); + newTDEHTMLView(part,parent); + } + private native void newTDEHTMLView(TDEHTMLPart part, TQWidget parent); + /** + Returns a pointer to the TDEHTMLPart that is + rendering the page. + @short Returns a pointer to the TDEHTMLPart that is rendering the page. + */ + public native TDEHTMLPart part(); + public native int frameWidth(); + /** + Sets a margin in x direction. + @short Sets a margin in x direction. + */ + public native void setMarginWidth(int x); + /** + Returns the margin width. + A return value of -1 means the default value will be used. + @short Returns the margin width. + */ + public native int marginWidth(); + public native void setMarginHeight(int y); + /** + Returns the margin height. + A return value of -1 means the default value will be used. + @short Returns the margin height. + */ + public native int marginHeight(); + /** + Sets verticals scrollbar mode. Reimplemented for internal reasons. + @short Sets verticals scrollbar mode. + */ + public native void setVScrollBarMode(int mode); + /** + Sets horizontal scrollbar mode. Reimplemented for internal reasons. + @short Sets horizontal scrollbar mode. + */ + public native void setHScrollBarMode(int mode); + /** + Prints the HTML document. + @short Prints the HTML document. + */ + public native void print(); + /** + Prints the HTML document. + @param tquick if true, fully automated printing, without print dialog + @short Prints the HTML document. + */ + public native void print(boolean tquick); + /** + ensure the display is up to date + @short ensure the display is up to date + */ + public native void updateLayout(); + /** + Display all accesskeys in small tooltips + @short Display all accesskeys in small tooltips + */ + public native void displayAccessKeys(); + protected native void clear(); + protected native void resizeEvent(TQResizeEvent event); + public native void showEvent(TQShowEvent arg1); + protected native void hideEvent(TQHideEvent arg1); + protected native boolean focusNextPrevChild(boolean next); + protected native void drawContents(TQPainter p, int clipx, int clipy, int clipw, int cliph); + protected native void drawContents(TQPainter arg1); + protected native void viewportMousePressEvent(TQMouseEvent arg1); + protected native void focusInEvent(TQFocusEvent arg1); + protected native void focusOutEvent(TQFocusEvent arg1); + protected native void viewportMouseDoubleClickEvent(TQMouseEvent arg1); + protected native void viewportMouseMoveEvent(TQMouseEvent arg1); + protected native void viewportMouseReleaseEvent(TQMouseEvent arg1); + protected native void viewportResizeEvent(TQResizeEvent arg1); + protected native void viewportWheelEvent(TQWheelEvent arg1); + protected native void dragEnterEvent(TQDragEnterEvent arg1); + protected native void dropEvent(TQDropEvent arg1); + protected native void closeEvent(TQCloseEvent arg1); + public native boolean eventFilter(TQObject arg1, TQEvent arg2); + protected native void keyPressEvent(TQKeyEvent _ke); + protected native void keyReleaseEvent(TQKeyEvent _ke); + protected native void contentsContextMenuEvent(TQContextMenuEvent _ce); + protected native void doAutoScroll(); + protected native void timerEvent(TQTimerEvent arg1); + protected native void slotPaletteChanged(); + protected native void slotScrollBarMoved(); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} diff --git a/kdejava/koala/org/kde/koala/TDEHTMLViewSignals.java b/kdejava/koala/org/kde/koala/TDEHTMLViewSignals.java new file mode 100644 index 00000000..468d3760 --- /dev/null +++ b/kdejava/koala/org/kde/koala/TDEHTMLViewSignals.java @@ -0,0 +1,30 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.koala; + +import org.kde.qt.TQHideEvent; +import org.kde.qt.TQMetaObject; +import org.kde.qt.QtSupport; +import org.kde.qt.TQObject; +import org.kde.qt.TQCloseEvent; +import org.kde.qt.TQDragEnterEvent; +import org.kde.qt.TQContextMenuEvent; +import org.kde.qt.TQPainter; +import org.kde.qt.TQFocusEvent; +import org.kde.qt.TQKeyEvent; +import org.kde.qt.TQMouseEvent; +import org.kde.qt.TQShowEvent; +import org.kde.qt.TQDropEvent; +import org.kde.qt.TQEvent; +import org.kde.qt.TQTimerEvent; +import org.kde.qt.TQWidget; +import org.kde.qt.TQResizeEvent; +import org.kde.qt.TQWheelEvent; + +public interface TDEHTMLViewSignals { + void finishedLayout(); + void cleared(); + void zoomView(int arg1); + void hideAccessKeys(); + void repaintAccessKeys(); + void findAheadActive(boolean arg1); +} diff --git a/kdejava/koala/org/kde/koala/URLArgs.java b/kdejava/koala/org/kde/koala/URLArgs.java index 76e8b367..0a4d639c 100644 --- a/kdejava/koala/org/kde/koala/URLArgs.java +++ b/kdejava/koala/org/kde/koala/URLArgs.java @@ -40,25 +40,25 @@ public class URLArgs implements QtSupport { } private native void newURLArgs(boolean reload, int xOffset, int yOffset); /** - KHTML-specific field, header defining the type of the POST data. - @short KHTML-specific field, header defining the type of the POST data. + TDEHTML-specific field, header defining the type of the POST data. + @short TDEHTML-specific field, header defining the type of the POST data. */ public native void setContentType(String contentType); /** - KHTML-specific field, header defining the type of the POST data. - @short KHTML-specific field, header defining the type of the POST data. + TDEHTML-specific field, header defining the type of the POST data. + @short TDEHTML-specific field, header defining the type of the POST data. */ public native String contentType(); /** - KHTML-specific field, whether to do a POST instead of a GET, + TDEHTML-specific field, whether to do a POST instead of a GET, for the next openURL. - @short KHTML-specific field, whether to do a POST instead of a GET, for the next openURL. + @short TDEHTML-specific field, whether to do a POST instead of a GET, for the next openURL. */ public native void setDoPost(boolean enable); /** - KHTML-specific field, whether to do a POST instead of a GET, + TDEHTML-specific field, whether to do a POST instead of a GET, for the next openURL. - @short KHTML-specific field, whether to do a POST instead of a GET, for the next openURL. + @short TDEHTML-specific field, whether to do a POST instead of a GET, for the next openURL. */ public native boolean doPost(); /** -- cgit v1.2.3