# khtml Library API Documentation

Overview | Class Hierarchy | Classes | Classes (annotated) | Members | Source Files

# 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., 59 Temple Place - Suite 330,
    00017  * Boston, MA 02111-1307, USA.
    00018 */
    00019
    00020 #ifndef __khtml_Iface_h__
    00021 #define __khtml_Iface_h__
    00022
    00023 #include <dcopobject.h>
    00024 #include <dcopref.h>
    00025
    00026 class KHTMLPart;
    00027
    00031 class KHTMLPartIface : public DCOPObject
    00032 {
    00033     K_DCOP
    00034
    00035 public:
    00036
    00037     KHTMLPartIface( KHTMLPart * );
    00038     virtual ~KHTMLPartIface();
    00039
    00040 k_dcop:
    00041
    00042     bool closeURL();
    00043
    00050     void setJScriptEnabled( bool enable );
    00051
    00056     bool jScriptEnabled() const;
    00057
    00061     void setMetaRefreshEnabled( bool enable );
    00062
    00066     bool metaRefreshEnabled() const;
    00067
    00072     void setDNDEnabled( bool b );
    00073
    00077     bool dndEnabled() const;
    00078
    00085     void setJavaEnabled( bool enable );
    00086
    00090     bool javaEnabled() const;
    00091
    00092
    00096     void setPluginsEnabled( bool enable );
    00097
    00101     bool pluginsEnabled() const;
    00102
    00109     void setAutoloadImages( bool enable );
    00110
    00117     bool autoloadImages() const;
    00118
    00126     void setOnlyLocalReferences(bool enable);
    00127
    00131     bool onlyLocalReferences() const;
    00132
    00139     bool setEncoding( const QString &name );
    00140
    00146     QString encoding() const;
    00147
    00155     void setUserStyleSheet(const QString &styleSheet);
    00156
    00163     void setFixedFont( const QString &name );
    00164
    00172     bool gotoAnchor( const QString &name );
    00173
    00177     QString selectedText() const;
    00178
    00182     void selectAll();
    00183
    00187     QString lastModified() const;
    00188
    00189     void debugRenderTree();
    00190     void viewDocumentSource();
    00191     void viewFrameSource();
    00192     void saveBackground(const QString &url);
    00193     void saveDocument(const QString &url);
    00194     QString evalJS(const QString &script);
    00195
    00196 private:
    00197     KHTMLPart *part;
    00198 };
    00199
    00200 #endif
    00201

This file is part of the documentation for kdelibs Version 3.1.5.
Documentation copyright © 1996-2002 the KDE developers.
Generated on Wed Jan 28 13:34:01 2004 by doxygen 1.3.4 written by Dimitri van Heesch, © 1997-2001