KDevelop API Documentation

KDevHTMLPart Class Reference

#include <kdevhtmlpart.h>

Inheritance diagram for KDevHTMLPart:

Inheritance graph
[legend]
Collaboration diagram for KDevHTMLPart:

Collaboration graph
[legend]
List of all members.

Public Types

enum  Options { CanDuplicate = 1, CanOpenInNewWindow = 2 }

Signals

void fileNameChanged (KParts::ReadOnlyPart *part)

Public Member Functions

 KDevHTMLPart ()
void setContext (const QString &context)
QString context () const
virtual bool openURL (const KURL &url)
void setOptions (int options)

Static Public Member Functions

QString resolveEnvVarsInURL (const QString &url)

Protected Slots

void slotStarted (KIO::Job *)
void slotCompleted ()
void slotCancelled (const QString &errMsg)
void openURLRequest (const KURL &url)
void popup (const QString &url, const QPoint &p)
void slotReload ()
void slotStop ()
virtual void slotDuplicate ()=0
virtual void slotOpenInNewWindow (const KURL &url)=0
void slotPrint ()
void slotCopy ()
void slotSelectionChanged ()
void slotBack ()
void slotForward ()
void slotBackAboutToShow ()
void slotForwardAboutToShow ()
void slotPopupActivated (int id)
void addHistoryEntry ()

Private Attributes

QValueList< DocumentationHistoryEntrym_history
QValueList< DocumentationHistoryEntry
>::Iterator 
m_Current
KToolBarPopupActionm_backAction
KToolBarPopupActionm_forwardAction
bool m_restoring
QString m_context
KActionstopAction
KActionreloadAction
KActionduplicateAction
KActionprintAction
KActioncopyAction
int m_options

Member Enumeration Documentation

enum KDevHTMLPart::Options
 

Enumeration values:
CanDuplicate 
CanOpenInNewWindow 

Definition at line 31 of file kdevhtmlpart.h.


Constructor & Destructor Documentation

KDevHTMLPart::KDevHTMLPart  ) 
 

Definition at line 21 of file kdevhtmlpart.cpp.

References KXMLGUIClient::actionCollection(), KHTMLPart::browserExtension(), KParts::ReadOnlyPart::canceled(), KParts::ReadOnlyPart::completed(), KStdAction::copy(), copyAction, duplicateAction, locate(), m_backAction, m_Current, m_forwardAction, m_history, m_restoring, openURLRequest(), popup(), KToolBarPopupAction::popupMenu(), KHTMLPart::popupMenu(), KStdAction::print(), printAction, reloadAction, KHTMLPart::selectionChanged(), KAction::setEnabled(), KAction::setToolTip(), KAction::setWhatsThis(), KXMLGUIClient::setXMLFile(), slotBack(), slotBackAboutToShow(), slotCancelled(), slotCompleted(), slotCopy(), slotDuplicate(), slotForward(), slotForwardAboutToShow(), slotPopupActivated(), slotPrint(), slotReload(), slotSelectionChanged(), slotStarted(), slotStop(), KParts::ReadOnlyPart::started(), and stopAction.


Member Function Documentation

void KDevHTMLPart::addHistoryEntry  )  [protected, slot]
 

Definition at line 481 of file kdevhtmlpart.cpp.

References m_Current, m_history, KURL::url(), DocumentationHistoryEntry::url, and KParts::ReadOnlyPart::url().

Referenced by openURL().

QString KDevHTMLPart::context  )  const
 

Definition at line 173 of file kdevhtmlpart.cpp.

void KDevHTMLPart::fileNameChanged KParts::ReadOnlyPart part  )  [signal]
 

Referenced by openURL().

bool KDevHTMLPart::openURL const KURL url  )  [virtual]
 

Reimplemented from KHTMLPart.

Definition at line 328 of file kdevhtmlpart.cpp.

References addHistoryEntry(), fileNameChanged(), m_backAction, m_Current, m_forwardAction, m_history, KHTMLPart::openURL(), resolveEnvVarsInURL(), KAction::setEnabled(), and KURL::url().

Referenced by PHPSupportPart::executeOnWebserver(), openURLRequest(), PartController::showDocument(), slotBack(), slotForward(), slotPopupActivated(), and slotReload().

void KDevHTMLPart::openURLRequest const KURL url  )  [protected, slot]
 

Definition at line 349 of file kdevhtmlpart.cpp.

References openURL().

Referenced by KDevHTMLPart().

void KDevHTMLPart::popup const QString url,
const QPoint p
[protected, slot]
 

Definition at line 81 of file kdevhtmlpart.cpp.

References KXMLGUIClient::action(), copyAction, duplicateAction, KURL::isValid(), kdDebug(), m_backAction, m_forwardAction, m_options, KToolBarPopupAction::plug(), KAction::plug(), popup(), printAction, reloadAction, KURL::setRef(), slotOpenInNewWindow(), and KParts::ReadOnlyPart::url().

Referenced by KDevHTMLPart(), popup(), slotBackAboutToShow(), and slotForwardAboutToShow().

QString KDevHTMLPart::resolveEnvVarsInURL const QString url  )  [static]
 

Definition at line 260 of file kdevhtmlpart.cpp.

References data, and isUtf8().

Referenced by openURL(), and PartController::showDocument().

void KDevHTMLPart::setContext const QString context  ) 
 

Definition at line 167 of file kdevhtmlpart.cpp.

References m_context.

void KDevHTMLPart::setOptions int  options  )  [inline]
 

Definition at line 40 of file kdevhtmlpart.h.

References m_options.

Referenced by DocumentationPart::DocumentationPart(), and PHPHTMLView::PHPHTMLView().

void KDevHTMLPart::slotBack  )  [protected, slot]
 

Definition at line 389 of file kdevhtmlpart.cpp.

References m_Current, m_history, m_restoring, and openURL().

Referenced by KDevHTMLPart().

void KDevHTMLPart::slotBackAboutToShow  )  [protected, slot]
 

Definition at line 411 of file kdevhtmlpart.cpp.

References m_backAction, m_Current, m_history, popup(), and KToolBarPopupAction::popupMenu().

Referenced by KDevHTMLPart().

void KDevHTMLPart::slotCancelled const QString errMsg  )  [protected, slot]
 

Definition at line 374 of file kdevhtmlpart.cpp.

References KAction::setEnabled(), and stopAction.

Referenced by KDevHTMLPart().

void KDevHTMLPart::slotCompleted  )  [protected, slot]
 

Definition at line 369 of file kdevhtmlpart.cpp.

References KAction::setEnabled(), and stopAction.

Referenced by KDevHTMLPart().

void KDevHTMLPart::slotCopy  )  [protected, slot]
 

Definition at line 501 of file kdevhtmlpart.cpp.

References KHTMLPart::selectedText(), KHTMLPart::selectionChanged(), and text().

Referenced by KDevHTMLPart().

virtual void KDevHTMLPart::slotDuplicate  )  [protected, pure virtual, slot]
 

Implemented in DocumentationPart, and PHPHTMLView.

Referenced by KDevHTMLPart().

void KDevHTMLPart::slotForward  )  [protected, slot]
 

Definition at line 400 of file kdevhtmlpart.cpp.

References m_Current, m_history, m_restoring, and openURL().

Referenced by KDevHTMLPart().

void KDevHTMLPart::slotForwardAboutToShow  )  [protected, slot]
 

Definition at line 436 of file kdevhtmlpart.cpp.

References m_Current, m_forwardAction, m_history, popup(), and KToolBarPopupAction::popupMenu().

Referenced by KDevHTMLPart().

virtual void KDevHTMLPart::slotOpenInNewWindow const KURL url  )  [protected, pure virtual, slot]
 

Implemented in DocumentationPart, and PHPHTMLView.

Referenced by popup().

void KDevHTMLPart::slotPopupActivated int  id  )  [protected, slot]
 

Definition at line 461 of file kdevhtmlpart.cpp.

References kdDebug(), m_Current, m_history, m_restoring, and openURL().

Referenced by KDevHTMLPart().

void KDevHTMLPart::slotPrint  )  [protected, slot]
 

Definition at line 384 of file kdevhtmlpart.cpp.

References KHTMLView::print(), and KHTMLPart::view().

Referenced by KDevHTMLPart().

void KDevHTMLPart::slotReload  )  [protected, slot]
 

Definition at line 354 of file kdevhtmlpart.cpp.

References openURL(), and KParts::ReadOnlyPart::url().

Referenced by KDevHTMLPart().

void KDevHTMLPart::slotSelectionChanged  )  [protected, slot]
 

Definition at line 511 of file kdevhtmlpart.cpp.

References copyAction, KHTMLPart::selectedText(), and KAction::setEnabled().

Referenced by KDevHTMLPart().

void KDevHTMLPart::slotStarted KIO::Job  )  [protected, slot]
 

Definition at line 364 of file kdevhtmlpart.cpp.

References KAction::setEnabled(), and stopAction.

Referenced by KDevHTMLPart().

void KDevHTMLPart::slotStop  )  [protected, slot]
 

Definition at line 359 of file kdevhtmlpart.cpp.

References KHTMLPart::closeURL().

Referenced by KDevHTMLPart().


Member Data Documentation

KAction* KDevHTMLPart::copyAction [private]
 

Definition at line 86 of file kdevhtmlpart.h.

Referenced by KDevHTMLPart(), popup(), and slotSelectionChanged().

KAction* KDevHTMLPart::duplicateAction [private]
 

Definition at line 84 of file kdevhtmlpart.h.

Referenced by KDevHTMLPart(), and popup().

KToolBarPopupAction* KDevHTMLPart::m_backAction [private]
 

Definition at line 76 of file kdevhtmlpart.h.

Referenced by KDevHTMLPart(), openURL(), popup(), and slotBackAboutToShow().

QString KDevHTMLPart::m_context [private]
 

Definition at line 81 of file kdevhtmlpart.h.

Referenced by setContext().

QValueList< DocumentationHistoryEntry >::Iterator KDevHTMLPart::m_Current [private]
 

Definition at line 74 of file kdevhtmlpart.h.

Referenced by addHistoryEntry(), KDevHTMLPart(), openURL(), slotBack(), slotBackAboutToShow(), slotForward(), slotForwardAboutToShow(), and slotPopupActivated().

KToolBarPopupAction* KDevHTMLPart::m_forwardAction [private]
 

Definition at line 77 of file kdevhtmlpart.h.

Referenced by KDevHTMLPart(), openURL(), popup(), and slotForwardAboutToShow().

QValueList< DocumentationHistoryEntry > KDevHTMLPart::m_history [private]
 

Definition at line 73 of file kdevhtmlpart.h.

Referenced by addHistoryEntry(), KDevHTMLPart(), openURL(), slotBack(), slotBackAboutToShow(), slotForward(), slotForwardAboutToShow(), and slotPopupActivated().

int KDevHTMLPart::m_options [private]
 

Definition at line 88 of file kdevhtmlpart.h.

Referenced by popup(), and setOptions().

bool KDevHTMLPart::m_restoring [private]
 

Definition at line 79 of file kdevhtmlpart.h.

Referenced by KDevHTMLPart(), slotBack(), slotForward(), and slotPopupActivated().

KAction* KDevHTMLPart::printAction [private]
 

Definition at line 85 of file kdevhtmlpart.h.

Referenced by KDevHTMLPart(), and popup().

KAction* KDevHTMLPart::reloadAction [private]
 

Definition at line 83 of file kdevhtmlpart.h.

Referenced by KDevHTMLPart(), and popup().

KAction* KDevHTMLPart::stopAction [private]
 

Definition at line 82 of file kdevhtmlpart.h.

Referenced by KDevHTMLPart(), slotCancelled(), slotCompleted(), and slotStarted().


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for KDevelop Version 3.1.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Tue Feb 22 09:40:12 2005 by doxygen 1.3.9.1 written by Dimitri van Heesch, © 1997-2003