• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • tdehtml
 

tdehtml

  • tdehtml
tdehtml_iface.h
1 /* This file is part of the KDE project
2  * Copyright (C) 2002 Stephan Kulow <coolo@kde.org>
3  *
4  * This library is free software; you can redistribute it and/or
5  * modify it under the terms of the GNU Library General Public
6  * License as published by the Free Software Foundation; either
7  * version 2 of the License, or (at your option) any later version.
8  *
9  * This library is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12  * Library General Public License for more details.
13  *
14  * You should have received a copy of the GNU Library General Public License
15  * along with this library; see the file COPYING.LIB. If not, write to
16  * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
17  * Boston, MA 02110-1301, USA.
18 */
19 
20 #ifndef __tdehtml_Iface_h__
21 #define __tdehtml_Iface_h__
22 
23 #include <dcopobject.h>
24 #include <dcopref.h>
25 #include <kurl.h>
26 
27 class TDEHTMLPart;
28 
32 class TDEHTMLPartIface : public DCOPObject
33 {
34  K_DCOP
35 
36 public:
37 
38  TDEHTMLPartIface( TDEHTMLPart * );
39  virtual ~TDEHTMLPartIface();
40 
41 k_dcop:
45  KURL url() const;
46 
47  bool closeURL();
48 
55  void setJScriptEnabled( bool enable );
56 
61  bool jScriptEnabled() const;
62 
66  void setMetaRefreshEnabled( bool enable );
67 
71  bool metaRefreshEnabled() const;
72 
77  void setDNDEnabled( bool b );
78 
82  bool dndEnabled() const;
83 
90  void setJavaEnabled( bool enable );
91 
95  bool javaEnabled() const;
96 
97 
101  void setPluginsEnabled( bool enable );
102 
106  bool pluginsEnabled() const;
107 
114  void setAutoloadImages( bool enable );
115 
122  bool autoloadImages() const;
123 
131  void setOnlyLocalReferences(bool enable);
132 
136  bool onlyLocalReferences() const;
137 
144  bool setEncoding( const TQString &name );
145 
151  TQString encoding() const;
152 
160  void setUserStyleSheet(const TQString &styleSheet);
161 
168  void setFixedFont( const TQString &name );
169 
177  bool gotoAnchor( const TQString &name );
178 
185  bool nextAnchor();
186 
191  bool prevAnchor();
192 
197  void activateNode();
198 
202  TQString selectedText() const;
203 
207  void selectAll();
208 
212  TQString lastModified() const;
213 
218  ASYNC print( bool quick );
219 
220  void debugRenderTree();
221  void debugDOMTree();
222  void viewDocumentSource();
223  void viewFrameSource();
224  void saveBackground(const TQString &url);
225  void saveDocument(const TQString &url);
226 
230  TQString evalJS(const TQString &script);
231 
235  void stopAnimations();
236 
237 private:
238  TDEHTMLPart *part;
239 };
240 
241 #endif
242 
TDEHTMLPartIface
DCOP interface for TDEHTML.
Definition: tdehtml_iface.h:32
KURL
TDEHTMLPartIface::setEncoding
bool setEncoding(const TQString &name)
Sets the encoding the page uses.
Definition: tdehtml_iface.cpp:118
TDEHTMLPartIface::selectedText
TQString selectedText() const
Returns the text the user has marked.
Definition: tdehtml_iface.cpp:216
TDEHTMLPartIface::setUserStyleSheet
void setUserStyleSheet(const TQString &styleSheet)
Sets a user defined style sheet to be used on top of the HTML 4 default style sheet.
Definition: tdehtml_iface.cpp:211
TDEHTMLPartIface::prevAnchor
bool prevAnchor()
Go to previous Anchor.
Definition: tdehtml_iface.cpp:144
TDEHTMLPartIface::setMetaRefreshEnabled
void setMetaRefreshEnabled(bool enable)
Enable/disable the automatic forwarding by
Definition: tdehtml_iface.cpp:108
TDEHTMLPartIface::setOnlyLocalReferences
void setOnlyLocalReferences(bool enable)
Security option.
Definition: tdehtml_iface.cpp:103
TDEHTMLPartIface::onlyLocalReferences
bool onlyLocalReferences() const
Returns whether references should be loaded ( default false )
Definition: tdehtml_iface.cpp:113
TDEHTMLPartIface::encoding
TQString encoding() const
Returns the encoding the page currently uses.
Definition: tdehtml_iface.cpp:123
TDEHTMLPartIface::print
ASYNC print(bool quick)
Print the contents of the current html view.
Definition: tdehtml_iface.cpp:231
TDEHTMLPartIface::url
KURL url() const
Definition: tdehtml_iface.cpp:38
TDEHTMLPartIface::setDNDEnabled
void setDNDEnabled(bool b)
Enables or disables Drag'n'Drop support.
Definition: tdehtml_iface.cpp:63
TDEHTMLPartIface::dndEnabled
bool dndEnabled() const
Returns whether Dragn'n'Drop support is enabled or not.
Definition: tdehtml_iface.cpp:68
TDEHTMLPartIface::stopAnimations
void stopAnimations()
Stops display of animated images.
Definition: tdehtml_iface.cpp:178
TDEHTMLPartIface::javaEnabled
bool javaEnabled() const
Return if Java applet support is enabled/disabled.
Definition: tdehtml_iface.cpp:78
TDEHTMLPartIface::setJScriptEnabled
void setJScriptEnabled(bool enable)
Enable/disable Javascript support.
Definition: tdehtml_iface.cpp:43
TDEHTMLPartIface::lastModified
TQString lastModified() const
Last-modified date (in raw string format), if received in the [HTTP] headers.
Definition: tdehtml_iface.cpp:163
TDEHTMLPartIface::activateNode
void activateNode()
Activate the node that currently has the focus (emulates pressing Return)
Definition: tdehtml_iface.cpp:149
TDEHTMLPartIface::setJavaEnabled
void setJavaEnabled(bool enable)
Enables/disables Java applet support.
Definition: tdehtml_iface.cpp:73
TDEHTMLPartIface::jScriptEnabled
bool jScriptEnabled() const
Returns true if Javascript support is enabled or false otherwise.
Definition: tdehtml_iface.cpp:48
TDEHTMLPartIface::setAutoloadImages
void setAutoloadImages(bool enable)
Specifies whether images contained in the document should be loaded automatically or not...
Definition: tdehtml_iface.cpp:93
TDEHTMLPartIface::gotoAnchor
bool gotoAnchor(const TQString &name)
Finds the anchor named name.
Definition: tdehtml_iface.cpp:134
TDEHTMLPartIface::selectAll
void selectAll()
Marks all text in the document as selected.
Definition: tdehtml_iface.cpp:158
TDEHTMLPartIface::metaRefreshEnabled
bool metaRefreshEnabled() const
Returns true if automtaic forwarding is enabled.
Definition: tdehtml_iface.cpp:58
TDEHTMLPartIface::setFixedFont
void setFixedFont(const TQString &name)
Sets the fixed font style.
Definition: tdehtml_iface.cpp:128
TDEHTMLPart
This class is tdehtml's main class.
Definition: tdehtml_part.h:183
TDEHTMLPartIface::setPluginsEnabled
void setPluginsEnabled(bool enable)
Enables or disables plugins via, default is enabled.
Definition: tdehtml_iface.cpp:83
TDEHTMLPartIface::autoloadImages
bool autoloadImages() const
Returns whether images contained in the document are loaded automatically or not. ...
Definition: tdehtml_iface.cpp:98
TDEHTMLPartIface::nextAnchor
bool nextAnchor()
Go to next Anchor.
Definition: tdehtml_iface.cpp:139
TDEHTMLPartIface::pluginsEnabled
bool pluginsEnabled() const
Returns trie if plugins are enabled/disabled.
Definition: tdehtml_iface.cpp:88
TDEHTMLPartIface::evalJS
TQString evalJS(const TQString &script)
Evaluate a given piece of Javascript code.
Definition: tdehtml_iface.cpp:226

tdehtml

Skip menu "tdehtml"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

tdehtml

Skip menu "tdehtml"
  • arts
  • dcop
  • dnssd
  • interfaces
  •   kspeech
  •     interface
  •     library
  •   tdetexteditor
  • kate
  • kded
  • kdoctools
  • kimgio
  • kjs
  • libtdemid
  • libtdescreensaver
  •     tdecore
  • tdeabc
  • tdecmshell
  • tdecore
  • tdefx
  • tdehtml
  • tdeinit
  • tdeio
  •   bookmarks
  •   httpfilter
  •   kpasswdserver
  •   kssl
  • tdeioslave
  •   http
  •   tdefile
  •   tdeio
  •   tdeioexec
  • tdemdi
  •   tdemdi
  • tdenewstuff
  • tdeparts
  • tdeprint
  • tderandr
  • tderesources
  • tdespell2
  • tdesu
  • tdeui
  • tdeunittest
  • tdeutils
  • tdewallet
Generated for tdehtml by doxygen 1.8.8
This website is maintained by Timothy Pearson.