KDevelop API Documentation

DocumentationContext Class Reference

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

#include <kdevcore.h>

Inheritance diagram for DocumentationContext:

Inheritance graph
[legend]
Collaboration diagram for DocumentationContext:

Collaboration graph
[legend]
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 161 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.

DocumentationContext::DocumentationContext const DocumentationContext  ) 
 

Copy constructor.

Definition at line 243 of file kdevcore.cpp.

DocumentationContext::~DocumentationContext  )  [virtual]
 

Destructor.

Definition at line 262 of file kdevcore.cpp.

References d, and kdDebug().


Member Function Documentation

DocumentationContext & DocumentationContext::operator= const DocumentationContext  ) 
 

Definition at line 251 of file kdevcore.cpp.

References d.

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.

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 195 of file kdevcore.h.

Referenced by 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.1.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Tue Feb 22 09:41:24 2005 by doxygen 1.3.9.1 written by Dimitri van Heesch, © 1997-2003