DocumentationContext Class Reference
A context for the popup menu in the html widget. More...
#include <kdevcore.h>
Inheritance diagram for DocumentationContext:

Public Member Functions | |
DocumentationContext (const QString &url, const QString &selection) | |
Builds context. | |
DocumentationContext (const DocumentationContext &) | |
Copy constructor. | |
DocumentationContext & | operator= (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 | |
Private * | d |
Detailed Description
A context for the popup menu in the html widget.
Definition at line 159 of file kdevcore.h.
Constructor & Destructor Documentation
|
Builds context.
Definition at line 236 of file kdevcore.cpp. References d, and DocumentationContext(). Referenced by DocumentationContext(). |
|
Copy constructor.
Definition at line 243 of file kdevcore.cpp. References DocumentationContext(). |
|
Destructor.
Definition at line 262 of file kdevcore.cpp. |
Member Function Documentation
|
Definition at line 251 of file kdevcore.cpp. References d, and operator=(). Referenced by operator=(). |
|
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(). |
|
Implements this in the context so we can provide rtti.
Implements Context. Definition at line 271 of file kdevcore.cpp. |
|
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
|
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:
- lib/interfaces/kdevcore.h
- lib/interfaces/kdevcore.cpp