khtml Library API Documentation

khtml_part.h

00001 // -*- c-basic-offset: 2 -*-
00002 /* This file is part of the KDE project
00003  *
00004  * Copyright (C) 1998, 1999 Torben Weis <weis@kde.org>
00005  *                     1999-2001 Lars Knoll <knoll@kde.org>
00006  *                     1999-2001 Antti Koivisto <koivisto@kde.org>
00007  *                     2000-2001 Simon Hausmann <hausmann@kde.org>
00008  *                     2000-2001 Dirk Mueller <mueller@kde.org>
00009  *                     2000 Stefan Schimanski <1Stein@gmx.de>
00010  *
00011  * This library is free software; you can redistribute it and/or
00012  * modify it under the terms of the GNU Library General Public
00013  * License as published by the Free Software Foundation; either
00014  * version 2 of the License, or (at your option) any later version.
00015  *
00016  * This library is distributed in the hope that it will be useful,
00017  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00018  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00019  * Library General Public License for more details.
00020  *
00021  * You should have received a copy of the GNU Library General Public License
00022  * along with this library; see the file COPYING.LIB.  If not, write to
00023  * the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
00024  * Boston, MA 02111-1307, USA.
00025  */
00026 #ifndef __khtml_part_h__
00027 #define __khtml_part_h__
00028 
00029 #include "dom/html_document.h"
00030 #include "dom/dom2_range.h"
00031 
00032 #include <kparts/part.h>
00033 #include <kparts/browserextension.h>
00034 #include <kdemacros.h>
00035 #include <kfinddialog.h>
00036 
00037 #include <qregexp.h>
00038 
00039 class KHTMLPartPrivate;
00040 class KHTMLPartBrowserExtension;
00041 class KJSProxy;
00042 class KHTMLView;
00043 class KHTMLSettings;
00044 class KJavaAppletContext;
00045 class KJSErrorDlg;
00046 
00047 namespace DOM
00048 {
00049   class HTMLDocument;
00050   class HTMLDocumentImpl;
00051   class DocumentImpl;
00052   class HTMLTitleElementImpl;
00053   class HTMLElementImpl;
00054   class HTMLFrameElementImpl;
00055   class HTMLIFrameElementImpl;
00056   class HTMLObjectElementImpl;
00057   class HTMLFormElementImpl;
00058   class HTMLAnchorElementImpl;
00059   class HTMLMetaElementImpl;
00060   class NodeImpl;
00061   class Node;
00062   class HTMLEventListener;
00063   class EventListener;
00064 }
00065 
00066 namespace KJS
00067 {
00068   class Interpreter;
00069 }
00070 
00071 namespace khtml
00072 {
00073   class DocLoader;
00074   class RenderPart;
00075   class RenderPartObject;
00076   struct ChildFrame;
00077   class MouseEvent;
00078   class MousePressEvent;
00079   class MouseDoubleClickEvent;
00080   class MouseMoveEvent;
00081   class MouseReleaseEvent;
00082   class DrawContentsEvent;
00083   class CachedObject;
00084   class RenderWidget;
00085   class CSSStyleSelector;
00086   class HTMLTokenizer;
00087   class Decoder;
00088   class XMLTokenizer;
00089 }
00090 
00091 namespace KJS {
00092     class Window;
00093     class WindowFunc;
00094     class ExternalFunc;
00095     class JSEventListener;
00096     class JSLazyEventListener;
00097     class JSNodeFilter;
00098     class DOMDocument;
00099     class SourceFile;
00100     class ScheduledAction;
00101 }
00102 
00103 namespace KParts
00104 {
00105   class PartManager;
00106   class LiveConnectExtension;
00107 }
00108 
00109 namespace KWallet
00110 {
00111   class Wallet;
00112 }
00113 
00184 class KHTMLPart : public KParts::ReadOnlyPart
00185 {
00186   Q_OBJECT
00187   friend class KHTMLView;
00188   friend class DOM::HTMLTitleElementImpl;
00189   friend class DOM::HTMLFrameElementImpl;
00190   friend class DOM::HTMLIFrameElementImpl;
00191   friend class DOM::HTMLObjectElementImpl;
00192   friend class DOM::HTMLAnchorElementImpl;
00193   friend class DOM::HTMLMetaElementImpl;
00194   friend class DOM::NodeImpl;
00195   friend class KHTMLRun;
00196   friend class DOM::HTMLFormElementImpl;
00197   friend class khtml::RenderPartObject;
00198   friend class KJS::Window;
00199   friend class KJS::ScheduledAction;
00200   friend class KJS::JSNodeFilter;
00201   friend class KJS::WindowFunc;
00202   friend class KJS::ExternalFunc;
00203   friend class KJS::JSEventListener;
00204   friend class KJS::JSLazyEventListener;
00205   friend class KJS::DOMDocument;
00206   friend class KJS::SourceFile;
00207   friend class KJSProxy;
00208   friend class KHTMLPartBrowserExtension;
00209   friend class DOM::DocumentImpl;
00210   friend class DOM::HTMLDocumentImpl;
00211   friend class KHTMLPartBrowserHostExtension;
00212   friend class khtml::HTMLTokenizer;
00213   friend class khtml::XMLTokenizer;
00214   friend class khtml::RenderWidget;
00215   friend class khtml::CSSStyleSelector;
00216   friend class KHTMLPartIface;
00217   friend class KHTMLPartFunction;
00218 
00219   Q_PROPERTY( bool javaScriptEnabled READ jScriptEnabled WRITE setJScriptEnabled )
00220   Q_PROPERTY( bool javaEnabled READ javaEnabled WRITE setJavaEnabled )
00221   Q_PROPERTY( bool autoloadImages READ autoloadImages WRITE setAutoloadImages )
00222   Q_PROPERTY( bool dndEnabled READ dndEnabled WRITE setDNDEnabled )
00223   Q_PROPERTY( bool pluginsEnabled READ pluginsEnabled WRITE setPluginsEnabled )
00224   Q_PROPERTY( bool onlyLocalReferences READ onlyLocalReferences WRITE setOnlyLocalReferences )
00225   Q_PROPERTY( QCString dcopObjectId READ dcopObjectId )
00226   Q_PROPERTY( bool modified READ isModified )
00227 
00228 public:
00229   enum GUIProfile { DefaultGUI, BrowserViewGUI /* ... */ };
00230 
00243   KHTMLPart( QWidget *parentWidget = 0, const char *widgetname = 0,
00244              QObject *parent = 0, const char *name = 0, GUIProfile prof = DefaultGUI );
00245 
00246   KHTMLPart( KHTMLView *view, QObject *parent = 0, const char *name = 0, GUIProfile prof = DefaultGUI );
00247 
00251   virtual ~KHTMLPart();
00252 
00258   virtual bool openURL( const KURL &url );
00259 
00263   virtual bool closeURL();
00264 
00271   virtual void showError( KIO::Job* job );
00272 
00276   DOM::HTMLDocument htmlDocument() const;
00277 
00281   DOM::Document document() const;
00282 
00286   DOM::Node activeNode() const;
00287 
00291   KParts::BrowserExtension *browserExtension() const;
00292   KParts::LiveConnectExtension *liveConnectExtension( const khtml::RenderPart *) const;
00293   KParts::BrowserHostExtension *browserHostExtension() const;
00294 
00298   KHTMLView *view() const;
00299 
00306   void setJScriptEnabled( bool enable );
00307 
00312   bool jScriptEnabled() const;
00313 
00331   KJS::Interpreter *jScriptInterpreter();
00332 
00336   void setStatusMessagesEnabled( bool enable );
00337 
00341   bool statusMessagesEnabled() const;
00342 
00346   void setMetaRefreshEnabled( bool enable );
00347 
00351   bool metaRefreshEnabled() const;
00352 
00357   QVariant executeScript( const DOM::Node &n, const QString &script );
00358 
00363   void setDNDEnabled( bool b );
00364 
00368   bool dndEnabled() const;
00369 
00376   void setJavaEnabled( bool enable );
00377 
00381   bool javaEnabled() const;
00382 
00386   KJavaAppletContext *javaContext();
00387 
00392   KJavaAppletContext *createJavaContext();
00393 
00397   void setPluginsEnabled( bool enable );
00398 
00402   bool pluginsEnabled() const;
00403 
00410   void setAutoloadImages( bool enable );
00417   bool autoloadImages() const;
00418 
00435   void setOnlyLocalReferences( bool enable );
00436 
00441   bool onlyLocalReferences() const;
00442 
00446   bool isCaretMode() const;
00447 
00452   bool isEditable() const;
00453 
00467   void setCaretPosition(DOM::Node node, long offset, bool extendSelection = false);
00468 
00476   enum CaretDisplayPolicy {
00477     CaretVisible, CaretInvisible, CaretBlink
00478   };
00479 
00484   CaretDisplayPolicy caretDisplayPolicyNonFocused() const;
00485 
00496   void setCaretDisplayPolicyNonFocused(CaretDisplayPolicy policy);
00497 
00498 #ifndef KDE_NO_COMPAT
00499   void enableJScript( bool e ) { setJScriptEnabled(e); }
00500   void enableJava( bool e ) { setJavaEnabled(e); }
00501   void enablePlugins( bool e ) { setPluginsEnabled(e); }
00502   void autoloadImages( bool e ) { setAutoloadImages(e); }
00503   void enableMetaRefresh( bool e ) { setMetaRefreshEnabled(e); }
00504   bool setCharset( const QString &, bool ) { return true; }
00505 
00506   KURL baseURL() const;
00507   QString baseTarget() const;
00508 #endif
00509 
00513   KURL backgroundURL() const;
00514 
00518   void scheduleRedirection( int delay, const QString &url, bool lockHistory = true );
00519 
00542   virtual void begin( const KURL &url = KURL(), int xOffset = 0, int yOffset = 0 );
00543 
00564   virtual void write( const char *str, int len = -1 );
00565 
00573   virtual void write( const QString &str );
00574 
00578   virtual void end();
00579 
00580   /*
00581    * Prints the current HTML page laid out for the printer.
00582    *
00583    * (not implemented at the moment)
00584    */
00585   //    void print(QPainter *, int pageHeight, int pageWidth);
00586 
00590   void paint( QPainter *, const QRect &, int = 0, bool * = 0 );
00591 
00598   bool setEncoding( const QString &name, bool override = false );
00599 
00605   QString encoding() const;
00606 
00614   void setUserStyleSheet( const KURL &url );
00615 
00623   void setUserStyleSheet( const QString &styleSheet );
00624 
00625 public:
00626 
00632   void setStandardFont( const QString &name );
00633 
00640   void setFixedFont( const QString &name );
00641 
00649   bool gotoAnchor( const QString &name );
00650 
00657   bool nextAnchor();
00658 
00663   bool prevAnchor();
00664 
00668   void setURLCursor( const QCursor &c );
00669 
00673   QCursor urlCursor() const;
00674 
00679   enum FindOptions
00680   {
00681     FindLinksOnly   = 1 * KFindDialog::MinimumUserOption,
00682     FindNoPopups    = 2 * KFindDialog::MinimumUserOption
00683     //FindIncremental = 4 * KFindDialog::MinimumUserOption
00684   };
00685 
00691   void findText();
00692 
00701   void findText( const QString &str, long options, QWidget *parent = 0,
00702                  KFindDialog *findDialog = 0 );
00703 
00707   void findTextBegin();
00708 
00714   bool findTextNext( const QString &str, bool forward, bool caseSensitive, bool isRegExp );
00715 
00721   bool findTextNext();
00722 
00733   void setZoomFactor(int percent);
00734 
00738   int zoomFactor() const;
00739 
00743   virtual QString selectedText() const;
00744 
00748   DOM::Range selection() const;
00749 
00761   void selection(DOM::Node &startNode, long &startOffset,
00762         DOM::Node &endNode, long &endOffset) const;
00763 
00767   void setSelection( const DOM::Range & );
00768 
00777   bool hasSelection() const;
00778 
00782   void selectAll();
00783 
00789   void show();
00790 
00796   void hide();
00797 
00802   KParts::PartManager *partManager();
00803 
00811   virtual void saveState( QDataStream &stream );
00821   virtual void restoreState( QDataStream &stream );
00822 
00829   DOM::Node nodeUnderMouse() const;
00830 
00839   DOM::Node nonSharedNodeUnderMouse() const;
00840 
00844   const KHTMLSettings *settings() const;
00845 
00852   KHTMLPart *parentPart();
00853 
00859   QStringList frameNames() const;
00860 
00861   QPtrList<KParts::ReadOnlyPart> frames() const;
00862 
00866   KHTMLPart *findFrame( const QString &f );
00867 
00876   KHTMLPart *findFrameParent( KParts::ReadOnlyPart *callingPart, const QString &f, khtml::ChildFrame **childFrame=0 );
00877 
00883   KParts::ReadOnlyPart *currentFrame() const;
00884 
00891   bool frameExists( const QString &frameName );
00892 
00896   KJSProxy *framejScript(KParts::ReadOnlyPart *framePart);
00897 
00901   KParts::ReadOnlyPart *findFramePart( const QString &f );
00907   void setJSStatusBarText( const QString &text );
00908 
00914   void setJSDefaultStatusBarText( const QString &text );
00915 
00921   QString jsStatusBarText() const;
00922 
00928   QString jsDefaultStatusBarText() const;
00929 
00933   QString referrer() const;
00934 
00938   QString pageReferrer() const;
00939 
00943   QString lastModified() const;
00944 
00948   void preloadStyleSheet( const QString &url, const QString &stylesheet );
00949 
00953   void preloadScript( const QString &url, const QString &script );
00954 
00958   bool restored() const;
00959 
00960   // ### KDE4 remove me
00961   enum FormNotification { NoNotification = 0, Before, Only, Unused=255 };
00968   void setFormNotification(FormNotification fn);
00969 
00976   FormNotification formNotification() const;
00977 
00985   KURL toplevelURL();
00986 
00993   bool isModified() const;
00994 
00995 signals:
00999   void onURL( const QString &url );
01000 
01004   void popupMenu( const QString &url, const QPoint &point );
01005 
01009   void selectionChanged();
01010 
01018   void nodeActivated( const DOM::Node & );
01019 
01022   void docCreated();
01023 
01035   void caretPositionChanged(const DOM::Node &node, long offset);
01036 
01037 
01044   void formSubmitNotification(const char *action, const QString& url,
01045                   const QByteArray& formData, const QString& target,
01046                   const QString& contentType, const QString& boundary);
01047 
01048 
01049 protected:
01050 
01055   KURL completeURL( const QString &url );
01056 
01063   void htmlError( int errorCode, const QString& text, const KURL& reqUrl );
01064 
01065   virtual void customEvent( QCustomEvent *event );
01066 
01070   virtual void khtmlMousePressEvent( khtml::MousePressEvent *event );
01074   virtual void khtmlMouseDoubleClickEvent( khtml::MouseDoubleClickEvent * );
01078   virtual void khtmlMouseMoveEvent( khtml::MouseMoveEvent *event );
01082   virtual void khtmlMouseReleaseEvent( khtml::MouseReleaseEvent *event );
01086   virtual void khtmlDrawContentsEvent( khtml::DrawContentsEvent * );
01087 
01091   virtual void guiActivateEvent( KParts::GUIActivateEvent *event );
01092 
01096   virtual bool openFile();
01097 
01098   virtual void urlSelected( const QString &url, int button, int state,
01099                             const QString &_target, KParts::URLArgs args = KParts::URLArgs());
01100 
01109   virtual KParts::ReadOnlyPart *createPart( QWidget *parentWidget, const char *widgetName,
01110                                             QObject *parent, const char *name,
01111                                             const QString &mimetype, QString &serviceName,
01112                                             QStringList &serviceTypes, const QStringList &params);
01113 
01114   // This is for RenderPartObject. We want to ask the 'download plugin?'
01115   // question only once per mimetype
01116   bool pluginPageQuestionAsked( const QString& mimetype ) const;
01117   void setPluginPageQuestionAsked( const QString& mimetype );
01118 
01119   enum PageSecurity { NotCrypted, Encrypted, Mixed };
01120   void setPageSecurity( PageSecurity sec );
01121 
01125   virtual bool doOpenStream( const QString& mimeType );
01126 
01130   virtual bool doWriteStream( const QByteArray& data );
01131 
01135   virtual bool doCloseStream();
01136 
01137 public slots:
01138 
01148   void setActiveNode( const DOM::Node &node );
01149 
01153   void stopAnimations();
01154 
01155   QCString dcopObjectId() const;
01156 
01164   QVariant executeScript( const QString &script );
01165 
01176   void setCaretMode(bool enable);
01177 
01189   void setEditable(bool enable);
01190 
01207   void setCaretVisible(bool show);
01208 
01209   // ### KDE4 FIXME:
01210   //          Remove this and make the one below protected+virtual slot.
01211   //          Warning: this is effectively "internal".  Be careful.
01212   // @since 3.2
01213   void submitFormProxy( const char *action, const QString &url,
01214                         const QByteArray &formData,
01215                         const QString &target,
01216                         const QString& contentType = QString::null,
01217                         const QString& boundary = QString::null );
01218 
01219 private slots:
01224   void gotoAnchor();
01225 
01229   void reparseConfiguration();
01230 
01234   void slotData( KIO::Job*, const QByteArray &data );
01238   void slotInfoMessage( KIO::Job*, const QString& msg );
01242   void slotRestoreData( const QByteArray &data );
01246   void slotFinished( KIO::Job* );
01250   void slotFinishedParsing();
01254   void slotRedirect();
01258   void slotRedirection( KIO::Job*, const KURL& );
01262   void slotDebugScript();
01266   void slotDebugDOMTree();
01270   void slotDebugRenderTree();
01274   void slotStopAnimations();
01278   virtual void slotViewDocumentSource();
01282   virtual void slotViewFrameSource();
01286   void slotViewPageInfo();
01290   virtual void slotSaveBackground();
01294   virtual void slotSaveDocument();
01298   virtual void slotSaveFrame();
01302   virtual void slotSecurity();
01306   virtual void slotSetEncoding();
01307 
01311   virtual void slotUseStylesheet();
01312 
01313   virtual void slotFind();
01314   virtual void slotFindDone(); // ### remove me
01315   virtual void slotFindDialogDestroyed();
01316   void slotFindNext();
01317 
01318   void slotIncZoom();
01319   void slotDecZoom();
01320   void slotIncZoomFast();
01321   void slotDecZoomFast();
01322 
01323   void slotLoadImages();
01324   void slotWalletClosed();
01325   void launchWalletManager();
01326   void walletMenu();
01327 
01331   void submitFormAgain();
01332 
01336   void updateActions();
01340   void slotPartRemoved( KParts::Part *part );
01344   void slotActiveFrameChanged( KParts::Part *part );
01348   void slotChildStarted( KIO::Job *job );
01352   void slotChildCompleted();
01356   void slotChildCompleted( bool );
01360   void slotParentCompleted();
01364   void slotChildURLRequest( const KURL &url, const KParts::URLArgs &args );
01368   void slotChildDocCreated();
01372   void slotRequestFocus( KParts::ReadOnlyPart * );
01373   void slotLoaderRequestStarted( khtml::DocLoader*, khtml::CachedObject* obj);
01374   void slotLoaderRequestDone( khtml::DocLoader*, khtml::CachedObject *obj );
01375   void checkCompleted();
01376 
01380   void slotAutoScroll();
01381 
01382   void slotPrintFrame();
01383 
01384   void slotSelectAll();
01385 
01389   void slotProgressUpdate();
01390 
01391   /*
01392    * @internal
01393    */
01394   void slotJobPercent( KIO::Job*, unsigned long );
01395 
01396   /*
01397    * @internal
01398    */
01399   void slotJobDone( KIO::Job* );
01400 
01401   /*
01402    * @internal
01403    */
01404   void slotUserSheetStatDone( KIO::Job* );
01405 
01406   /*
01407    * @internal
01408    */
01409   void slotJobSpeed( KIO::Job*, unsigned long );
01410 
01414   void slotClearSelection();
01415 
01419   void slotZoomView( int );
01420 
01424   void slotHighlight( const QString &, int index, int length );
01425 
01429   void slotAutomaticDetectionLanguage( int _id );
01430 
01434   void slotToggleCaretMode();
01435 
01439   void launchJSErrorDialog();
01440 
01444   void removeJSErrorExtension();
01445 
01449   void disableJSErrorExtension();
01450 
01454   void jsErrorDialogContextMenu();
01455 
01459   void restoreScrollPosition();
01460 
01461   void walletOpened(KWallet::Wallet*);
01462 
01463 private:
01464 
01465   KJSErrorDlg *jsErrorExtension();
01466 
01467   enum StatusBarPriority { BarDefaultText, BarHoverText, BarOverrideText };
01468   void setStatusBarText( const QString& text, StatusBarPriority p);
01469 
01470   bool restoreURL( const KURL &url );
01471   void emitSelectionChanged();
01472   // Returns whether callingHtmlPart may access this part
01473   bool checkFrameAccess(KHTMLPart *callingHtmlPart);
01474   bool openURLInFrame( const KURL &url, const KParts::URLArgs &urlArgs );
01475   void startAutoScroll();
01476   void stopAutoScroll();
01477   void overURL( const QString &url, const QString &target, bool shiftPressed = false );
01478 
01479   bool processObjectRequest( khtml::ChildFrame *child, const KURL &url, const QString &mimetype );
01480 
01481   KWallet::Wallet* wallet();
01482 
01483   void openWallet(DOM::HTMLFormElementImpl*);
01484   void saveToWallet(const QString& key, const QMap<QString,QString>& data);
01485   void dequeueWallet(DOM::HTMLFormElementImpl*);
01486 
01490   // ### KDE4 FIXME:
01491   //          It is desirable to be able to filter form submissions as well.
01492   //          For instance, forms can have a target and an inheriting class
01493   //          might want to filter based on the target.  Make this protected
01494   //          and virtual, or provide a better solution.
01495   //          See the web_module for the sidebar for an example where this is
01496   //          necessary.
01497   void submitForm( const char *action, const QString &url, const QByteArray &formData,
01498                    const QString &target, const QString& contentType = QString::null,
01499                    const QString& boundary = QString::null );
01500 
01501   void popupMenu( const QString &url );
01502 
01503   void init( KHTMLView *view, GUIProfile prof );
01504 
01505 
01506   void clear();
01507 
01508   bool scheduleScript( const DOM::Node &n, const QString& script);
01509 
01510   QVariant crossFrameExecuteScript(const QString& target, const QString& script);
01511   QVariant executeScheduledScript();
01512 
01513   bool requestFrame( khtml::RenderPart *frame, const QString &url, const QString &frameName,
01514                      const QStringList &args = QStringList(), bool isIFrame = false );
01515 
01523   QString requestFrameName();
01524 
01525   bool requestObject( khtml::RenderPart *frame, const QString &url, const QString &serviceType,
01526                       const QStringList &args = QStringList() );
01527 
01528   bool requestObject( khtml::ChildFrame *child, const KURL &url, const KParts::URLArgs &args = KParts::URLArgs() );
01529 
01530   DOM::EventListener *createHTMLEventListener( QString code, QString name );
01531 
01532   DOM::HTMLDocumentImpl *docImpl() const;
01533   DOM::DocumentImpl *xmlDocImpl() const;
01534   khtml::ChildFrame *frame( const QObject *obj );
01535 
01536   khtml::ChildFrame *recursiveFrameRequest( KHTMLPart *callingHtmlPart, const KURL &url, const KParts::URLArgs &args, bool callParent = true );
01537 
01538   bool checkLinkSecurity( const KURL &linkURL,const QString &message = QString::null, const QString &button = QString::null );
01539   QVariant executeScript( const QString& filename, int baseLine, const DOM::Node &n, const QString& script );
01540 
01541   KJSProxy *jScript();
01542 
01543   KHTMLPart *opener();
01544   long cacheId() const;
01545   void setOpener( KHTMLPart *_opener );
01546   bool openedByJS();
01547   void setOpenedByJS( bool _openedByJS );
01548 
01549   void checkEmitLoadEvent();
01550   void emitLoadEvent();
01551 
01552   bool initFindNode( bool selection, bool reverse, bool fromCursor );
01553 
01554   void extendSelection( DOM::NodeImpl* node, long offset, DOM::Node& selectionNode, long& selectionOffset, bool right, bool paragraph );
01564   void extendSelectionTo(int x, int y, int absX, int absY, const DOM::Node &innerNode);
01568   bool isExtendingSelection() const;
01569   khtml::Decoder *createDecoder();
01570   QString defaultEncoding() const;
01571 
01575   void zoomIn(const int stepping[], int count);
01579   void zoomOut(const int stepping[], int count);
01580 
01581   void emitCaretPositionChanged(const DOM::Node &node, long offset);
01582 
01583   void setDebugScript( bool enable );
01584 
01585   KHTMLPartPrivate *d;
01586   friend class KHTMLPartPrivate;
01587 };
01588 
01589 
01590 #endif
KDE Logo
This file is part of the documentation for khtml Library Version 3.3.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Fri Jul 22 10:18:34 2005 by doxygen 1.3.6 written by Dimitri van Heesch, © 1997-2003