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

khtml

khtml_iface.h
00001 /* This file is part of the KDE project
00002  *  Copyright (C) 2002 Stephan Kulow <coolo@kde.org>
00003  *
00004  * This library is free software; you can redistribute it and/or
00005  * modify it under the terms of the GNU Library General Public
00006  * License as published by the Free Software Foundation; either
00007  * version 2 of the License, or (at your option) any later version.
00008  *
00009  * This library is distributed in the hope that it will be useful,
00010  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00011  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00012  * Library General Public License for more details.
00013  *
00014  * You should have received a copy of the GNU Library General Public License
00015  * along with this library; see the file COPYING.LIB.  If not, write to
00016  * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
00017  * Boston, MA 02110-1301, USA.
00018 */
00019 
00020 #ifndef __khtml_Iface_h__
00021 #define __khtml_Iface_h__
00022 
00023 #include <dcopobject.h>
00024 #include <dcopref.h>
00025 #include <kurl.h>
00026 
00027 class KHTMLPart;
00028 
00032 class KHTMLPartIface : public DCOPObject
00033 {
00034     K_DCOP
00035 
00036 public:
00037 
00038     KHTMLPartIface( KHTMLPart * );
00039     virtual ~KHTMLPartIface();
00040 
00041 k_dcop:
00045     KURL url() const;
00046 
00047     bool closeURL();
00048 
00055     void setJScriptEnabled( bool enable );
00056 
00061     bool jScriptEnabled() const;
00062 
00066     void setMetaRefreshEnabled( bool enable );
00067 
00071     bool metaRefreshEnabled() const;
00072 
00077     void setDNDEnabled( bool b );
00078 
00082     bool dndEnabled() const;
00083 
00090     void setJavaEnabled( bool enable );
00091 
00095     bool javaEnabled() const;
00096 
00097 
00101     void setPluginsEnabled( bool enable );
00102 
00106     bool pluginsEnabled() const;
00107 
00114     void setAutoloadImages( bool enable );
00115 
00122     bool autoloadImages() const;
00123 
00131     void setOnlyLocalReferences(bool enable);
00132 
00136     bool onlyLocalReferences() const;
00137 
00144     bool setEncoding( const TQString &name );
00145 
00151     TQString encoding() const;
00152 
00160     void setUserStyleSheet(const TQString &styleSheet);
00161 
00168     void setFixedFont( const TQString &name );
00169 
00177     bool gotoAnchor( const TQString &name );
00178 
00185     bool nextAnchor();
00186 
00191     bool prevAnchor();
00192 
00197     void activateNode();
00198 
00202     TQString selectedText() const;
00203 
00207     void selectAll();
00208 
00212     TQString lastModified() const;
00213 
00218     ASYNC print( bool quick );
00219 
00220     void debugRenderTree();
00221     void debugDOMTree();
00222     void viewDocumentSource();
00223     void viewFrameSource();
00224     void saveBackground(const TQString &url);
00225     void saveDocument(const TQString &url);
00226 
00230     TQString evalJS(const TQString &script);
00231 
00235     void stopAnimations();
00236 
00237 private:
00238     KHTMLPart *part;
00239 };
00240 
00241 #endif
00242 

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.7.6.1
This website is maintained by Timothy Pearson.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. |