tdehtml_part.h
251 TDEHTMLPart( TDEHTMLView *view, TQObject *parent = 0, const char *name = 0, GUIProfile prof = DefaultGUI );
918 TDEHTMLPart *findFrameParent( KParts::ReadOnlyPart *callingPart, const TQString &f, tdehtml::ChildFrame **childFrame=0 );
1564 bool processObjectRequest( tdehtml::ChildFrame *child, const KURL &url, const TQString &mimetype );
1612 bool requestObject( tdehtml::RenderPart *frame, const TQString &url, const TQString &serviceType,
1615 bool requestObject( tdehtml::ChildFrame *child, const KURL &url, const KParts::URLArgs &args = KParts::URLArgs() );
1617 DOM::EventListener *createHTMLEventListener( TQString code, TQString name, DOM::NodeImpl *node );
1623 tdehtml::ChildFrame *recursiveFrameRequest( TDEHTMLPart *callingHtmlPart, const KURL &url, const KParts::URLArgs &args, bool callParent = true );
1625 bool checkLinkSecurity( const KURL &linkURL,const TQString &message = TQString::null, const TQString &button = TQString::null );
1626 TQVariant executeScript( const TQString& filename, int baseLine, const DOM::Node &n, const TQString& script );
The Document interface represents the entire HTML or XML document.
Definition dom_doc.h:246
An HTMLDocument is the root of the HTML hierarchy and holds the entire content.
Definition html_document.h:74
The Node interface is the primary datatype for the entire Document Object Model.
Definition dom_node.h:275
void setStatusBarText(const TQString &text)
virtual bool openURL(const KURL &url)
virtual void guiActivateEvent(GUIActivateEvent *event)
virtual bool closeURL()
virtual bool openFile()=0
KURL url() const
TDEAction * action(const char *name) const
This is the BrowserExtension for a TDEHTMLPart document.
Definition tdehtml_ext.h:42
bool isModified() const
Checks whether the page contains unsubmitted form changes.
Definition tdehtml_part.cpp:7350
TQVariant executeScript(const DOM::Node &n, const TQString &script)
Same as executeScript( const TQString & ) except with the Node parameter specifying the 'this' value.
Definition tdehtml_part.cpp:1186
DOM::Document document() const
Returns a reference to the DOM document.
Definition tdehtml_part.cpp:859
KJavaAppletContext * createJavaContext()
Returns the java context of the applets.
Definition tdehtml_part.cpp:1268
void popupMenu(const TQString &url, const TQPoint &point)
Emitted when the user clicks the right mouse button on the document.
virtual void tdehtmlMouseDoubleClickEvent(tdehtml::MouseDoubleClickEvent *)
Eventhandler for the tdehtml::MouseDoubleClickEvent.
Definition tdehtml_part.cpp:6129
bool pluginsEnabled() const
Returns true if plugins are enabled/disabled.
Definition tdehtml_part.cpp:1279
KParts::BrowserExtension * browserExtension() const
Returns a pointer to the KParts::BrowserExtension.
Definition tdehtml_part.cpp:896
void setMetaRefreshEnabled(bool enable)
Enable/disable automatic forwarding by <meta http-equiv="refresh" ....
Definition tdehtml_part.cpp:948
DOM::HTMLDocument htmlDocument() const
Returns a reference to the DOM HTML document (for non-HTML documents, returns null).
Definition tdehtml_part.cpp:851
bool onlyLocalReferences() const
Returns whether only file:/ or data:/ references are allowed to be loaded ( default false ).
Definition tdehtml_part.cpp:2607
FindOptions
Extra Find options that can be used when calling the extended findText().
Definition tdehtml_part.h:703
TDEHTMLView * view() const
Returns a pointer to the HTML document's view.
Definition tdehtml_part.cpp:906
bool dndEnabled() const
Returns whether Dragn'n'Drop support is enabled or not.
Definition tdehtml_part.cpp:5939
KJS::Interpreter * jScriptInterpreter()
Returns the JavaScript interpreter the part is using.
Definition tdehtml_part.cpp:916
void caretPositionChanged(const DOM::Node &node, long offset)
This signal is emitted whenever the caret position has been changed.
void setJavaEnabled(bool enable)
Enables/disables Java applet support.
Definition tdehtml_part.cpp:1244
TQString documentSource() const
Returns the content of the source document.
Definition tdehtml_part.cpp:864
virtual void showError(TDEIO::Job *job)
Called when a certain error situation (i.e.
Definition tdehtml_part.cpp:1702
virtual void tdehtmlMousePressEvent(tdehtml::MousePressEvent *event)
Eventhandler of the tdehtml::MousePressEvent.
Definition tdehtml_part.cpp:6049
bool statusMessagesEnabled() const
Returns true if status messages are enabled.
Definition tdehtml_part.cpp:925
DOM::Node activeNode() const
Returns the node that has the keyboard focus.
Definition tdehtml_part.cpp:6938
bool autoloadImages() const
Returns whether images contained in the document are loaded automatically or not.
Definition tdehtml_part.cpp:1359
void htmlError(int errorCode, const TQString &text, const KURL &reqUrl)
presents a detailed error message to the user.
Definition tdehtml_part.cpp:1719
void setJScriptEnabled(bool enable)
Enable/disable Javascript support.
Definition tdehtml_part.cpp:930
bool isEditable() const
Returns true if the document is editable, false otherwise.
Definition tdehtml_part.cpp:2683
TDEHTMLPart(TQWidget *parentWidget=0, const char *widgetname=0, TQObject *parent=0, const char *name=0, GUIProfile prof=DefaultGUI)
Constructs a new TDEHTMLPart.
Definition tdehtml_part.cpp:205
void setPluginsEnabled(bool enable)
Enables or disables plugins, default is enabled.
Definition tdehtml_part.cpp:1273
virtual KParts::ReadOnlyPart * createPart(TQWidget *parentWidget, const char *widgetName, TQObject *parent, const char *name, const TQString &mimetype, TQString &serviceName, TQStringList &serviceTypes, const TQStringList ¶ms)
This method is called when a new embedded object (include html frames) is to be created.
Definition tdehtml_part.cpp:4649
bool metaRefreshEnabled() const
Returns true if automatic forwarding is enabled.
Definition tdehtml_part.cpp:953
void setStatusMessagesEnabled(bool enable)
Enable/disable statusbar messages.
Definition tdehtml_part.cpp:911
void nodeActivated(const DOM::Node &)
This signal is emitted when an element retrieves the keyboard focus.
void formSubmitNotification(const char *action, const TQString &url, const TQByteArray &formData, const TQString &target, const TQString &contentType, const TQString &boundary)
If form notification is on, this will be emitted either for a form submit or before the form submit a...
virtual void tdehtmlDrawContentsEvent(tdehtml::DrawContentsEvent *)
Eventhandler for the tdehtml::DrawContentsEvent.
Definition tdehtml_part.cpp:6632
virtual void tdehtmlMouseReleaseEvent(tdehtml::MouseReleaseEvent *event)
Eventhandler for the tdehtml::MouseMouseReleaseEvent.
Definition tdehtml_part.cpp:6518
bool javaEnabled() const
Return true if Java applet support is enabled, false if disabled.
Definition tdehtml_part.cpp:1250
virtual void tdehtmlMouseMoveEvent(tdehtml::MouseMoveEvent *event)
Eventhandler for the tdehtml::MouseMouseMoveEvent.
Definition tdehtml_part.cpp:6379
bool jScriptEnabled() const
Returns true if Javascript support is enabled or false otherwise.
Definition tdehtml_part.cpp:939
void selectionChanged()
This signal is emitted when the selection changes.
void setCaretPosition(DOM::Node node, long offset, bool extendSelection=false)
Sets the caret to the given position.
Definition tdehtml_part.cpp:2688
KURL completeURL(const TQString &url)
returns a KURL object for the given url.
Definition tdehtml_part.cpp:2371
void setAutoloadImages(bool enable)
Specifies whether images contained in the document should be loaded automatically or not.
Definition tdehtml_part.cpp:1335
KJavaAppletContext * javaContext()
Returns the java context of the applets.
Definition tdehtml_part.cpp:1263
The Document Object Model (DOM) is divided into two parts, the COREDOM core DOM, specifying some core...
Definition design.h:57
TDEAction * clear(const TQObject *recvr, const char *slot, TDEActionCollection *parent, const char *name=0)
const TDEShortcut & end()
const TDEShortcut & zoomIn()
const TDEShortcut & zoomOut()
Trinity API Reference