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

📄 khtmlpart_p.h

📁 konqueror3 embedded版本, KDE环境下的当家浏览器的嵌入式版本源码包.
💻 H
📖 第 1 页 / 共 2 页
字号:
    m_statusBarWalletLabel = 0L;    m_statusBarUALabel = 0L;    m_statusBarJSErrorLabel = 0L;    m_userStyleSheetLastModified = 0;    m_wq = 0;  }  ~KHTMLPartPrivate()  {    delete m_dcopobject;    delete m_statusBarExtension;    delete m_extension;    delete m_settings;#ifndef KHTML_NO_WALLET    delete m_wallet;#endif#ifndef Q_WS_QWS    //delete m_javaContext;#endif  }  QGuardedPtr<khtml::ChildFrame> m_frame;  KHTMLFrameList m_frames;  KHTMLFrameList m_objects;  QGuardedPtr<KHTMLView> m_view;  KHTMLPartBrowserExtension *m_extension;  KParts::StatusBarExtension *m_statusBarExtension;  KHTMLPartBrowserHostExtension *m_hostExtension;  KURLLabel* m_statusBarIconLabel;  KURLLabel* m_statusBarWalletLabel;  KURLLabel* m_statusBarUALabel;  KURLLabel* m_statusBarJSErrorLabel;  KURLLabel* m_statusBarPopupLabel;  QPtrList<KHTMLPart> m_suppressedPopupOriginParts;  int m_openableSuppressedPopups;  DOM::DocumentImpl *m_doc;  khtml::Decoder *m_decoder;  QString m_encoding;  QString m_sheetUsed;  long m_cacheId;  QString scheduledScript;  DOM::Node scheduledScriptNode;  KWallet::Wallet* m_wallet;  int m_runningScripts;  bool m_bOpenMiddleClick :1;  bool m_bBackRightClick :1;  bool m_bJScriptEnabled :1;  bool m_bJScriptDebugEnabled :1;  bool m_bJavaEnabled :1;  bool m_bPluginsEnabled :1;  bool m_bJScriptForce :1;  bool m_bJScriptOverride :1;  bool m_bJavaForce :1;  bool m_bJavaOverride :1;  bool m_bPluginsForce :1;  bool m_metaRefreshEnabled :1;  bool m_bPluginsOverride :1;  bool m_restored :1;  bool m_restoreScrollPosition :1;  bool m_statusMessagesEnabled :1;  bool m_bWalletOpened :1;  bool m_urlSelectedOpenedURL:1; // KDE4: remove  int m_frameNameId;  int m_dcop_counter;  DCOPObject *m_dcopobject;#ifndef Q_WS_QWS  KJavaAppletContext *m_javaContext;#endif  KHTMLSettings *m_settings;  KIO::TransferJob * m_job;  QString m_statusBarText[3];  unsigned long m_jobspeed;  QString m_lastModified;  QString m_httpHeaders;  QString m_pageServices;  // QStrings for SSL metadata  // Note: When adding new variables don't forget to update ::saveState()/::restoreState()!  bool m_ssl_in_use;  QString m_ssl_peer_certificate,          m_ssl_peer_chain,          m_ssl_peer_ip,          m_ssl_cipher,          m_ssl_cipher_desc,          m_ssl_cipher_version,          m_ssl_cipher_used_bits,          m_ssl_cipher_bits,          m_ssl_cert_state,          m_ssl_parent_ip,          m_ssl_parent_cert;  bool m_bComplete:1;  bool m_bLoadEventEmitted:1;  bool m_haveEncoding:1;  bool m_onlyLocalReferences :1;  bool m_redirectLockHistory:1;  KURL m_workingURL;  KIO::CacheControl m_cachePolicy;  QTimer m_redirectionTimer;  QTime m_parsetime;  int m_delayRedirect;  QString m_redirectURL;  KAction *m_paViewDocument;  KAction *m_paViewFrame;  KAction *m_paViewInfo;  KAction *m_paSaveBackground;  KAction *m_paSaveDocument;  KAction *m_paSaveFrame;  KAction *m_paSecurity;  KActionMenu *m_paSetEncoding;  KSelectAction *m_paUseStylesheet;  KHTMLZoomFactorAction *m_paIncZoomFactor;  KHTMLZoomFactorAction *m_paDecZoomFactor;  KAction *m_paLoadImages;  KAction *m_paFind;  KAction *m_paFindNext;  KAction *m_paFindPrev;  KAction *m_paFindAheadText;  KAction *m_paFindAheadLinks;  KAction *m_paPrintFrame;  KAction *m_paSelectAll;  KAction *m_paDebugScript;  KAction *m_paDebugDOMTree;  KAction *m_paDebugRenderTree;  KAction *m_paStopAnimations;  KToggleAction *m_paToggleCaretMode;  KParts::PartManager *m_manager;  QString m_popupMenuXML;  KHTMLPart::GUIProfile m_guiProfile;  int m_zoomFactor;  QString m_strSelectedURL;  QString m_strSelectedURLTarget;  QString m_referrer;  QString m_pageReferrer;  struct SubmitForm  {    const char *submitAction;    QString submitUrl;    QByteArray submitFormData;    QString target;    QString submitContentType;    QString submitBoundary;  };  SubmitForm *m_submitForm;  bool m_bMousePressed;  bool m_bRightMousePressed;  DOM::Node m_mousePressNode; //node under the mouse when the mouse was pressed (set in the mouse handler)  // simply using the selection limits for the caret position does not suffice  // as we need to know on which side to extend the selection//  DOM::Node m_caretNode;	// node containing the caret//  long m_caretOffset;		// offset within this node (0-based)  // the caret uses the selection variables for its position. If m_extendAtEnd  // is true, m_selectionEnd and m_endOffset contain the mandatory caret  // position, otherwise it's m_selectionStart and m_startOffset.  DOM::Node m_selectionStart;  long m_startOffset;  DOM::Node m_selectionEnd;  long m_endOffset;  DOM::Node m_initialNode;	// (Node, Offset) pair on which the  long m_initialOffset;		// selection has been initiated  QString m_overURL;  QString m_overURLTarget;  bool m_startBeforeEnd:1;  bool m_extendAtEnd:1;		// true if selection is to be extended at its end  enum { ExtendByChar, ExtendByWord, ExtendByLine } m_extendMode:2;  bool m_bDnd:1;  bool m_bFirstData:1;  bool m_bClearing:1;  bool m_bCleared:1;  bool m_bSecurityInQuestion:1;  bool m_focusNodeRestored:1;  int m_focusNodeNumber;  QPoint m_dragStartPos;#ifdef KHTML_NO_SELECTION  QPoint m_dragLastPos;#endif  bool m_designMode;  bool m_caretMode;  QCursor m_linkCursor;  QTimer m_scrollTimer;  unsigned long m_loadedObjects;  unsigned long m_totalObjectCount;  unsigned int m_jobPercent;  KHTMLPart::FormNotification m_formNotification;  QTimer m_progressUpdateTimer;  QStringList m_pluginPageQuestionAsked;  /////////// 'Find' feature  struct StringPortion  {      // Just basic ref/deref on our node to make sure it doesn't get deleted      StringPortion( int i, DOM::NodeImpl* n ) : index(i), node(n) { if (node) node->ref(); }      StringPortion() : index(0), node(0) {} // for QValueList      StringPortion( const StringPortion& other ) : node(0) { operator=(other); }      StringPortion& operator=( const StringPortion& other ) {          index=other.index;          if (other.node) other.node->ref();          if (node) node->deref();          node=other.node;          return *this;      }      ~StringPortion() { if (node) node->deref(); }      int index;      DOM::NodeImpl *node;  };  QValueList<StringPortion> m_stringPortions;  KFind *m_find;  KFindDialog *m_findDialog;  struct findState  {    findState() : options( 0 ), last_dir( -1 ) {}    QStringList history;    QString text;    int options;    int last_dir; // -1=unknown,0=forward,1=backward  };  findState m_lastFindState;  KJSErrorDlg *m_jsedlg;  DOM::NodeImpl *m_findNode; // current node  DOM::NodeImpl *m_findNodeEnd; // end node  DOM::NodeImpl *m_findNodeStart; // start node  DOM::NodeImpl *m_findNodePrevious; // previous node used for find  int m_findPos; // current pos in current node  int m_findPosEnd; // pos in end node  int m_findPosStart; // pos in start node  /////////  //QGuardedPtr<KParts::Part> m_activeFrame;  KParts::Part * m_activeFrame;  QGuardedPtr<KHTMLPart> m_opener;  bool m_openedByJS;  bool m_newJSInterpreterExists; // set to 1 by setOpenedByJS, for window.open  khtml::Decoder::AutoDetectLanguage m_autoDetectLanguage;  KPopupMenu *m_automaticDetection;  KSelectAction *m_manualDetection;  void setFlagRecursively(bool KHTMLPartPrivate::*flag, bool value);  /** returns the caret node */  DOM::Node &caretNode() {    return m_extendAtEnd ? m_selectionEnd : m_selectionStart;  }  /** returns the caret offset */  long &caretOffset() {    return m_extendAtEnd ? m_endOffset : m_startOffset;  }  time_t m_userStyleSheetLastModified;  KHTMLWalletQueue *m_wq;};#endif

⌨️ 快捷键说明

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