diff options
Diffstat (limited to 'kdejava/koala/org/kde/koala/KHTMLPart.java')
-rw-r--r-- | kdejava/koala/org/kde/koala/KHTMLPart.java | 100 |
1 files changed, 50 insertions, 50 deletions
diff --git a/kdejava/koala/org/kde/koala/KHTMLPart.java b/kdejava/koala/org/kde/koala/KHTMLPart.java index f5b3660c..3ee52003 100644 --- a/kdejava/koala/org/kde/koala/KHTMLPart.java +++ b/kdejava/koala/org/kde/koala/KHTMLPart.java @@ -2,18 +2,18 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QRect; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQRect; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QDataStream; -import org.kde.qt.QObject; -import org.kde.qt.QPoint; +import org.kde.qt.TQDataStream; +import org.kde.qt.TQObject; +import org.kde.qt.TQPoint; import java.util.ArrayList; -import org.kde.qt.QPainter; -import org.kde.qt.QCustomEvent; -import org.kde.qt.QCursor; -import org.kde.qt.QVariant; -import org.kde.qt.QWidget; +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; /** @@ -108,13 +108,13 @@ public class KHTMLPart extends ReadOnlyPart { public static final int Encrypted = 1; public static final int Mixed = 2; - public native QMetaObject metaObject(); + 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 QScrollView, in which the document content is + 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 <code>parent</code> argument is null, then @@ -122,51 +122,51 @@ public class KHTMLPart extends ReadOnlyPart { the view. @short Constructs a new KHTMLPart. */ - public KHTMLPart(QWidget parentWidget, String widgetname, QObject parent, String name, int prof) { + 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(QWidget parentWidget, String widgetname, QObject parent, String name, int prof); - public KHTMLPart(QWidget parentWidget, String widgetname, QObject parent, String name) { + 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(QWidget parentWidget, String widgetname, QObject parent, String name); - public KHTMLPart(QWidget parentWidget, String widgetname, QObject parent) { + 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(QWidget parentWidget, String widgetname, QObject parent); - public KHTMLPart(QWidget parentWidget, String widgetname) { + 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(QWidget parentWidget, String widgetname); - public KHTMLPart(QWidget parentWidget) { + private native void newKHTMLPart(TQWidget parentWidget, String widgetname); + public KHTMLPart(TQWidget parentWidget) { super((Class) null); newKHTMLPart(parentWidget); } - private native void newKHTMLPart(QWidget parentWidget); + private native void newKHTMLPart(TQWidget parentWidget); public KHTMLPart() { super((Class) null); newKHTMLPart(); } private native void newKHTMLPart(); - public KHTMLPart(KHTMLView view, QObject parent, String name, int prof) { + public KHTMLPart(KHTMLView view, TQObject parent, String name, int prof) { super((Class) null); newKHTMLPart(view,parent,name,prof); } - private native void newKHTMLPart(KHTMLView view, QObject parent, String name, int prof); - public KHTMLPart(KHTMLView view, QObject parent, String name) { + 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, QObject parent, String name); - public KHTMLPart(KHTMLView view, QObject parent) { + 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, QObject parent); + private native void newKHTMLPart(KHTMLView view, TQObject parent); public KHTMLPart(KHTMLView view) { super((Class) null); newKHTMLPart(view); @@ -261,8 +261,8 @@ public class KHTMLPart extends ReadOnlyPart { setStatusBarText(String text) If you want to catch this for your own statusbar, note that it returns back a rich text string, starting with "<qt>". This you need to - either pass this into your own QLabel or to strip out the tags - before passing it to QStatusBar.message(String message) + 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 @@ -289,7 +289,7 @@ public class KHTMLPart extends ReadOnlyPart { specifying the 'this' value. @short Same as executeScript( String ) except with the Node parameter specifying the 'this' value. */ - public native QVariant executeScript(Node n, String script); + 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. @@ -472,12 +472,12 @@ public class KHTMLPart extends ReadOnlyPart { */ public native void end(); /** - Paints the HTML page to a QPainter. See KHTMLView.paint for details - @short Paints the HTML page to a QPainter. + Paints the HTML page to a TQPainter. See KHTMLView.paint for details + @short Paints the HTML page to a TQPainter. */ - public native void paint(QPainter arg1, QRect arg2, int arg3, boolean[] arg4); - public native void paint(QPainter arg1, QRect arg2, int arg3); - public native void paint(QPainter arg1, QRect arg2); + 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 @@ -546,12 +546,12 @@ public class KHTMLPart extends ReadOnlyPart { 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(QCursor c); + 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 QCursor urlCursor(); + public native TQCursor urlCursor(); /** Starts a new search by popping up a dialog asking the user what he wants to search for. @@ -566,8 +566,8 @@ public class KHTMLPart extends ReadOnlyPart { @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, QWidget parent, KFindDialog findDialog); - public native void findText(String str, long options, QWidget parent); + 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. @@ -672,21 +672,21 @@ public class KHTMLPart extends ReadOnlyPart { public native PartManager partManager(); /** Saves the KHTMLPart's complete state (including child frame - objects) to the provided QDataStream. + 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 QDataStream. + @short Saves the KHTMLPart's complete state (including child frame objects) to the provided TQDataStream. */ - public native void saveState(QDataStream stream); + public native void saveState(TQDataStream stream); /** Restores the KHTMLPart's previously saved state (including - child frame objects) from the provided QDataStream. + 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 QDataStream. + @short Restores the KHTMLPart's previously saved state (including child frame objects) from the provided TQDataStream. @see #saveState */ - public native void restoreState(QDataStream stream); + public native void restoreState(TQDataStream stream); /** Returns the <code>Node</code> currently under the mouse. The returned node may be a shared node (e. g. an \<area> node if the @@ -720,7 +720,7 @@ public class KHTMLPart extends ReadOnlyPart { @short Returns a list of names of all frame (including iframe) objects of the current document. */ public native ArrayList frameNames(); - // QPtrList<KParts::ReadOnlyPart> frames(); >>>> NOT CONVERTED + // TQPtrList<KParts::ReadOnlyPart> frames(); >>>> NOT CONVERTED /** Finds a frame by name. Returns null if frame can't be found. @short Finds a frame by name. @@ -734,7 +734,7 @@ public class KHTMLPart extends ReadOnlyPart { frame info in <code>childFrame</code> @short Recursively finds the part containing the frame with name <code>f</code> and checks if it is accessible by <code>callingPart</code> Returns 0L if no suitable frame can't be found. */ - // KHTMLPart* findFrameParent(KParts::ReadOnlyPart* arg1,const QString& arg2,khtml::ChildFrame** arg3); >>>> NOT CONVERTED + // KHTMLPart* findFrameParent(KParts::ReadOnlyPart* arg1,const TQString& arg2,khtml::ChildFrame** arg3); >>>> NOT CONVERTED public native KHTMLPart findFrameParent(ReadOnlyPart callingPart, String f); /** Return the current frame (the one that has focus) @@ -929,7 +929,7 @@ public class KHTMLPart extends ReadOnlyPart { @short presents a detailed error message to the user. */ protected native void htmlError(int errorCode, String text, KURL reqUrl); - protected native void customEvent(QCustomEvent event); + protected native void customEvent(TQCustomEvent event); /** Eventhandler of the khtml.MousePressEvent. @short Eventhandler of the khtml.MousePressEvent. @@ -976,7 +976,7 @@ public class KHTMLPart extends ReadOnlyPart { 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(QWidget parentWidget, String widgetName, QObject parent, String name, String mimetype, StringBuffer serviceName, String[] serviceTypes, String[] params); + 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 |