⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 khtml_part.h

📁 konqueror3 embedded版本, KDE环境下的当家浏览器的嵌入式版本源码包.
💻 H
📖 第 1 页 / 共 4 页
字号:
   * @param show @p true to make visible, @p false to hide.   * @since 3.2   */  void setCaretVisible(bool show);  // ### KDE4 FIXME:  //          Remove this and make the one below protected+virtual slot.  //          Warning: this is effectively "internal".  Be careful.  // @since 3.2  void submitFormProxy( const char *action, const QString &url,                        const QByteArray &formData,                        const QString &target,                        const QString& contentType = QString::null,                        const QString& boundary = QString::null );private slots:  /**   * @internal   */  void reparseConfiguration();  /**   * @internal   */  void slotData( KIO::Job*, const QByteArray &data );  /**  * @internal  */  void slotInfoMessage( KIO::Job*, const QString& msg );  /**   * @internal   */  void slotRestoreData( const QByteArray &data );  /**   * @internal   */  void slotFinished( KIO::Job* );  /**   * @internal   */  void slotFinishedParsing();  /**   * @internal   */  void slotRedirect();  /**   * @internal   */  void slotRedirection( KIO::Job*, const KURL& );  /**   * @internal   */  void slotDebugScript();  /**   * @internal   */  void slotDebugDOMTree();  /**   * @internal   */  void slotDebugRenderTree();  /**   * @internal   */  void slotStopAnimations();  /**   * @internal   */  virtual void slotViewDocumentSource();  /**   * @internal   */  virtual void slotViewFrameSource();  /**   * @internal   */  void slotViewPageInfo();  /**   * @internal   */  virtual void slotSaveBackground();  /**   * @internal   */  virtual void slotSaveDocument();  /**   * @internal   */  virtual void slotSaveFrame();  /**   * @internal   */  virtual void slotSecurity();  /**   * @internal   */  virtual void slotSetEncoding();  /**   * @internal   */  virtual void slotUseStylesheet();  virtual void slotFind();  virtual void slotFindDone(); // ### remove me  virtual void slotFindDialogDestroyed();  void slotFindNext();  void slotFindPrev();  void slotFindAheadText();  void slotFindAheadLink();  void slotIncZoom();  void slotDecZoom();  void slotIncZoomFast();  void slotDecZoomFast();  void slotLoadImages();  void slotWalletClosed();  void launchWalletManager();  void walletMenu();  /**   * @internal   */  void submitFormAgain();  /**   * @internal   */  void updateActions();  /**   * @internal   */  void slotPartRemoved( KParts::Part *part );  /**   * @internal   */  void slotActiveFrameChanged( KParts::Part *part );  /**   * @internal   */  void slotChildStarted( KIO::Job *job );  /**   * @internal   */  void slotChildCompleted();  /**   * @internal   */  void slotChildCompleted( bool );  /**   * @internal   */  void slotParentCompleted();  /**   * @internal   */  void slotChildURLRequest( const KURL &url, const KParts::URLArgs &args );  /**   * @internal   */  void slotChildDocCreated();  /**   * @internal   */  void slotRequestFocus( KParts::ReadOnlyPart * );  void slotLoaderRequestStarted( khtml::DocLoader*, khtml::CachedObject* obj);  void slotLoaderRequestDone( khtml::DocLoader*, khtml::CachedObject *obj );  void checkCompleted();  /**   * @internal   */  void slotAutoScroll();  void slotPrintFrame();  void slotSelectAll();  /**   * @internal   */  void slotProgressUpdate();  /*   * @internal   */  void slotJobPercent( KIO::Job*, unsigned long );  /*   * @internal   */  void slotJobDone( KIO::Job* );  /*   * @internal   */  void slotUserSheetStatDone( KIO::Job* );  /*   * @internal   */  void slotJobSpeed( KIO::Job*, unsigned long );  /**   * @internal   */  void slotClearSelection();  /**   * @internal   */  void slotZoomView( int );  /**   * @internal   */  void slotHighlight( const QString &, int index, int length );  /**   * @internal   */  void slotAutomaticDetectionLanguage( int _id );  /**   * @internal   */  void slotToggleCaretMode();  /**   * @internal   */  void suppressedPopupMenu();  /**   * @internal   */  void togglePopupPassivePopup();  /**   * @internal   */  void showSuppressedPopups();  /**   * @internal   */  void launchJSConfigDialog();  /**   * @internal   */  void launchJSErrorDialog();  /**   * @internal   */  void removeJSErrorExtension();  /**   * @internal   */  void disableJSErrorExtension();  /**   * @internal   */  void jsErrorDialogContextMenu();  /**   * @internal   * used to restore or reset the view's scroll position (including positioning on anchors)   * once a sufficient portion of the document as been laid out.   */  void restoreScrollPosition();  void walletOpened(KWallet::Wallet*);private:  KJSErrorDlg *jsErrorExtension();  enum StatusBarPriority { BarDefaultText, BarHoverText, BarOverrideText };  void setStatusBarText( const QString& text, StatusBarPriority p);  bool restoreURL( const KURL &url );  void resetFromScript();  void emitSelectionChanged();  // Returns whether callingHtmlPart may access this part  bool checkFrameAccess(KHTMLPart *callingHtmlPart);  bool openURLInFrame( const KURL &url, const KParts::URLArgs &urlArgs );  bool urlSelectedIntern( const QString &url, int button, int state,                          const QString &_target, KParts::URLArgs args = KParts::URLArgs());  void startAutoScroll();  void stopAutoScroll();  void overURL( const QString &url, const QString &target, bool shiftPressed = false );  void resetHoverText(); // Undo overURL and reset HoverText  bool processObjectRequest( khtml::ChildFrame *child, const KURL &url, const QString &mimetype );  KWallet::Wallet* wallet();  void openWallet(DOM::HTMLFormElementImpl*);  void saveToWallet(const QString& key, const QMap<QString,QString>& data);  void dequeueWallet(DOM::HTMLFormElementImpl*);    void enableFindAheadActions(bool);  /**   * @internal   */  // ### KDE4 FIXME:  //          It is desirable to be able to filter form submissions as well.  //          For instance, forms can have a target and an inheriting class  //          might want to filter based on the target.  Make this protected  //          and virtual, or provide a better solution.  //          See the web_module for the sidebar for an example where this is  //          necessary.  void submitForm( const char *action, const QString &url, const QByteArray &formData,                   const QString &target, const QString& contentType = QString::null,                   const QString& boundary = QString::null );  void popupMenu( const QString &url );  void init( KHTMLView *view, GUIProfile prof );  void clear();  bool scheduleScript( const DOM::Node &n, const QString& script);  QVariant crossFrameExecuteScript(const QString& target, const QString& script);  QVariant executeScheduledScript();  bool requestFrame( khtml::RenderPart *frame, const QString &url, const QString &frameName,                     const QStringList &args = QStringList(), bool isIFrame = false );  /**   * @internal returns a name for a frame without a name.   * This function returns a sequence of names.   * All names in a sequence are different but the sequence is   * always the same.   * The sequence is reset in clear().   */  QString requestFrameName();  bool requestObject( khtml::RenderPart *frame, const QString &url, const QString &serviceType,                      const QStringList &args = QStringList() );  bool requestObject( khtml::ChildFrame *child, const KURL &url, const KParts::URLArgs &args = KParts::URLArgs() );  DOM::EventListener *createHTMLEventListener( QString code, QString name, DOM::NodeImpl *node );  DOM::HTMLDocumentImpl *docImpl() const;  DOM::DocumentImpl *xmlDocImpl() const;  khtml::ChildFrame *frame( const QObject *obj );  khtml::ChildFrame *recursiveFrameRequest( KHTMLPart *callingHtmlPart, const KURL &url, const KParts::URLArgs &args, bool callParent = true );  bool checkLinkSecurity( const KURL &linkURL,const QString &message = QString::null, const QString &button = QString::null );  QVariant executeScript( const QString& filename, int baseLine, const DOM::Node &n, const QString& script );  KJSProxy *jScript();  KHTMLPart *opener();  long cacheId() const;  void setOpener( KHTMLPart *_opener );  bool openedByJS();  void setOpenedByJS( bool _openedByJS );  void checkEmitLoadEvent();  void emitLoadEvent();  bool initFindNode( bool selection, bool reverse, bool fromCursor );  void extendSelection( DOM::NodeImpl* node, long offset, DOM::Node& selectionNode, long& selectionOffset, bool right, bool paragraph );  /** extends the current selection to the given content-coordinates @p x, @p y   * @param x content x-coordinate   * @param y content y-coordinate   * @param absX absolute x-coordinate of @p innerNode   * @param absY absolute y-coordinate of @p innerNode   * @param innerNode node from which to start extending the selection. The   *	caller has to ensure that the node has a renderer.   * @internal   */  void extendSelectionTo(int x, int y, int absX, int absY, const DOM::Node &innerNode);  /** checks whether a selection is extended.   * @return @p true if a selection is extended by the mouse.   */  bool isExtendingSelection() const;  khtml::Decoder *createDecoder();  QString defaultEncoding() const;  /** .html, .xhtml or .xml */  QString defaultExtension() const;  /** @internal   * generic zoom in   */  void zoomIn(const int stepping[], int count);  /** @internal   * generic zoom out   */  void zoomOut(const int stepping[], int count);  void emitCaretPositionChanged(const DOM::Node &node, long offset);  void setDebugScript( bool enable );  void runAdFilter();  KHTMLPartPrivate *d;  friend class KHTMLPartPrivate;};#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -