KDevelop API Documentation

DocumentationPart Class Reference

#include <documentationpart.h>

Inheritance diagram for DocumentationPart:

KHTMLPart KParts::ReadOnlyPart KParts::Part QObject KParts::PartBase KXMLGUIClient List of all members.

Signals

void fileNameChanged ()

Public Member Functions

 DocumentationPart ()
void setContext (const QString &context)
QString context () const
virtual bool openURL (const KURL &url)

Static Public Member Functions

QString resolveEnvVarsInURL (const QString &url)

Private 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 ()
void slotDuplicate ()

Private Attributes

QString m_context
KActionstopAction
KActionreloadAction
KActionduplicateAction

Constructor & Destructor Documentation

DocumentationPart::DocumentationPart  ) 
 

Definition at line 18 of file documentationpart.cpp.

References KHTMLPart::browserExtension(), KParts::ReadOnlyPart::completed(), duplicateAction, openURLRequest(), popup(), reloadAction, KAction::setWhatsThis(), slotCancelled(), slotCompleted(), slotDuplicate(), slotReload(), slotStarted(), slotStop(), and stopAction.


Member Function Documentation

QString DocumentationPart::context  )  const
 

Definition at line 113 of file documentationpart.cpp.

References m_context.

Referenced by PartController::findDocPart(), openURLRequest(), and ProjectSession::saveToFile().

void DocumentationPart::fileNameChanged  )  [signal]
 

Referenced by openURL().

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

Reimplemented from KHTMLPart.

Definition at line 268 of file documentationpart.cpp.

References fileNameChanged(), openURL(), resolveEnvVarsInURL(), and KURL::url().

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

void DocumentationPart::openURLRequest const KURL url  )  [private, slot]
 

Definition at line 280 of file documentationpart.cpp.

References context(), PartController::getInstance(), openURLRequest(), and PartController::showDocument().

Referenced by DocumentationPart(), and openURLRequest().

void DocumentationPart::popup const QString url,
const QPoint p
[private, slot]
 

Definition at line 42 of file documentationpart.cpp.

References KActionCollection::action(), KXMLGUIClient::actionCollection(), KURL::addPath(), duplicateAction, PartController::getInstance(), TopLevel::getInstance(), KURL::isValid(), KDevMainWindow::main(), KAction::plug(), popup(), reloadAction, PartController::showDocument(), and stopAction.

Referenced by DocumentationPart(), and popup().

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

Definition at line 200 of file documentationpart.cpp.

References data, isUtf8(), and resolveEnvVarsInURL().

Referenced by openURL(), and resolveEnvVarsInURL().

void DocumentationPart::setContext const QString context  ) 
 

Definition at line 107 of file documentationpart.cpp.

References m_context, and setContext().

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

void DocumentationPart::slotCancelled const QString errMsg  )  [private, slot]
 

Definition at line 305 of file documentationpart.cpp.

References KAction::setEnabled(), slotCancelled(), and stopAction.

Referenced by DocumentationPart(), and slotCancelled().

void DocumentationPart::slotCompleted  )  [private, slot]
 

Definition at line 300 of file documentationpart.cpp.

References KAction::setEnabled(), and stopAction.

Referenced by DocumentationPart().

void DocumentationPart::slotDuplicate  )  [private, slot]
 

Definition at line 310 of file documentationpart.cpp.

References PartController::getInstance(), m_context, PartController::showDocument(), and KParts::ReadOnlyPart::url().

Referenced by DocumentationPart().

void DocumentationPart::slotReload  )  [private, slot]
 

Definition at line 285 of file documentationpart.cpp.

References PartController::getInstance(), m_context, PartController::showDocument(), and KParts::ReadOnlyPart::url().

Referenced by DocumentationPart().

void DocumentationPart::slotStarted KIO::Job  )  [private, slot]
 

Definition at line 295 of file documentationpart.cpp.

References KAction::setEnabled(), slotStarted(), and stopAction.

Referenced by DocumentationPart(), and slotStarted().

void DocumentationPart::slotStop  )  [private, slot]
 

Definition at line 290 of file documentationpart.cpp.

References KHTMLPart::closeURL().

Referenced by DocumentationPart().


Member Data Documentation

KAction* DocumentationPart::duplicateAction [private]
 

Definition at line 43 of file documentationpart.h.

Referenced by DocumentationPart(), and popup().

QString DocumentationPart::m_context [private]
 

Definition at line 40 of file documentationpart.h.

Referenced by context(), setContext(), slotDuplicate(), and slotReload().

KAction* DocumentationPart::reloadAction [private]
 

Definition at line 42 of file documentationpart.h.

Referenced by DocumentationPart(), and popup().

KAction* DocumentationPart::stopAction [private]
 

Definition at line 41 of file documentationpart.h.

Referenced by DocumentationPart(), popup(), 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.0.4.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Tue Oct 19 08:02:02 2004 by doxygen 1.3.7 written by Dimitri van Heesch, © 1997-2003