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

khtml

  • khtml
khtml_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 __khtml_Iface_h__
21 #define __khtml_Iface_h__
22 
23 #include <dcopobject.h>
24 #include <dcopref.h>
25 #include <kurl.h>
26 
27 class KHTMLPart;
28 
32 class KHTMLPartIface : public DCOPObject
33 {
34  K_DCOP
35 
36 public:
37 
38  KHTMLPartIface( KHTMLPart * );
39  virtual ~KHTMLPartIface();
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  KHTMLPart *part;
239 };
240 
241 #endif
242 

khtml

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

khtml

Skip menu "khtml"
  • arts
  • dcop
  • dnssd
  • interfaces
  •     interface
  •     library
  •   kspeech
  •   ktexteditor
  • kabc
  • kate
  • kcmshell
  • kdecore
  • kded
  • kdefx
  • kdeprint
  • kdesu
  • kdeui
  • kdoctools
  • khtml
  • kimgio
  • kinit
  • kio
  •   bookmarks
  •   httpfilter
  •   kfile
  •   kio
  •   kioexec
  •   kpasswdserver
  •   kssl
  • kioslave
  •   http
  • kjs
  • kmdi
  •   kmdi
  • knewstuff
  • kparts
  • krandr
  • kresources
  • kspell2
  • kunittest
  • kutils
  • kwallet
  • libkmid
  • libkscreensaver
Generated for khtml by doxygen 1.8.3.1
This website is maintained by Timothy Pearson.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. |