KDevelop API Documentation

DocumentationContext Class Reference

A context for the popup menu in the html widget. More...

#include <kdevcore.h>

Inheritance diagram for DocumentationContext:

Context List of all members.

Public Member Functions

 DocumentationContext (const QString &url, const QString &selection)
 Builds context.

 DocumentationContext (const DocumentationContext &)
 Copy constructor.

DocumentationContextoperator= (const DocumentationContext &)
virtual ~DocumentationContext ()
 Destructor.

virtual int type () const
 Implements this in the context so we can provide rtti.

QString url () const
 Returns the url of the document this context was invoked for.

QString selection () const
 Returns the selected text in the document.


Private Attributes

Privated

Detailed Description

A context for the popup menu in the html widget.

Definition at line 159 of file kdevcore.h.


Constructor & Destructor Documentation

DocumentationContext::DocumentationContext const QString url,
const QString selection
 

Builds context.

Parameters:
url 
selection selected text

Definition at line 236 of file kdevcore.cpp.

References d, and DocumentationContext().

Referenced by DocumentationContext().

DocumentationContext::DocumentationContext const DocumentationContext  ) 
 

Copy constructor.

Definition at line 243 of file kdevcore.cpp.

References DocumentationContext().

DocumentationContext::~DocumentationContext  )  [virtual]
 

Destructor.

Definition at line 262 of file kdevcore.cpp.

References d, endl(), and kdDebug().


Member Function Documentation

DocumentationContext & DocumentationContext::operator= const DocumentationContext  ) 
 

Definition at line 251 of file kdevcore.cpp.

References d, and operator=().

Referenced by operator=().

QString DocumentationContext::selection  )  const
 

Returns the selected text in the document.

Definition at line 285 of file kdevcore.cpp.

References d, and DocumentationContext::Private::m_selection.

Referenced by DocTreeViewPart::contextMenu().

int DocumentationContext::type  )  const [virtual]
 

Implements this in the context so we can provide rtti.

Implements Context.

Definition at line 271 of file kdevcore.cpp.

QString DocumentationContext::url  )  const
 

Returns the url of the document this context was invoked for.

Definition at line 278 of file kdevcore.cpp.

References d, and DocumentationContext::Private::m_url.


Member Data Documentation

Private* DocumentationContext::d [private]
 

Definition at line 193 of file kdevcore.h.

Referenced by DocumentationContext(), operator=(), selection(), url(), and ~DocumentationContext().


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