• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • TDevelop Interfaces Library
 

TDevelop Interfaces Library

Public Member Functions | List of all members
DocumentationContext Class Reference

#include <kdevcore.h>

Inheritance diagram for DocumentationContext:
Context

Public Member Functions

 DocumentationContext (const TQString &url, const TQString &selection)
 
 DocumentationContext (const DocumentationContext &)
 
DocumentationContext & operator= (const DocumentationContext &)
 
virtual ~DocumentationContext ()
 
virtual int type () const
 
TQString url () const
 
TQString selection () const
 
- Public Member Functions inherited from Context
virtual bool hasType (int type) const
 

Additional Inherited Members

- Public Types inherited from Context
enum  Type {
  EditorContext, DocumentationContext, FileContext, ProjectModelItemContext,
  CodeModelItemContext
}
 
- Protected Member Functions inherited from Context
 Context ()
 
virtual ~Context ()
 

Detailed Description

A context for the popup menu in the documentation browser widget.

Definition at line 177 of file kdevcore.h.

Constructor & Destructor Documentation

◆ DocumentationContext() [1/2]

DocumentationContext::DocumentationContext ( const TQString &  url,
const TQString &  selection 
)

Builds a DocumentationContext.

Parameters
urlThe URL that the context will be for.
selectionSelected text.

Definition at line 176 of file kdevcore.cpp.

◆ DocumentationContext() [2/2]

DocumentationContext::DocumentationContext ( const DocumentationContext &  aContext)

Copy constructor.

Definition at line 181 of file kdevcore.cpp.

◆ ~DocumentationContext()

DocumentationContext::~DocumentationContext ( )
virtual

Destructor.

Definition at line 196 of file kdevcore.cpp.

Member Function Documentation

◆ selection()

TQString DocumentationContext::selection ( ) const
Returns
The selected text in the document.

Definition at line 212 of file kdevcore.cpp.

◆ type()

int DocumentationContext::type ( ) const
virtual

Implement this in the context so we can provide rtti.

Implements Context.

Definition at line 202 of file kdevcore.cpp.

◆ url()

TQString DocumentationContext::url ( ) const
Returns
The url of the document this context was invoked for.

Definition at line 207 of file kdevcore.cpp.


The documentation for this class was generated from the following files:
  • kdevcore.h
  • kdevcore.cpp

TDevelop Interfaces Library

Skip menu "TDevelop Interfaces Library"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

TDevelop Interfaces Library

Skip menu "TDevelop Interfaces Library"
  • buildtools
  •   lib
  •     base
  •     parsers
  •       autotools
  •       qmake
  •     widgets
  •   api
  • languages
  •   lib
  •     debugger
  •     designer_integration
  •     interfaces
  • lib
  •   catalog
  •   interfaces
  •     extensions
  •     external
  •     extras
  •   util
  •   widgets
  •     propeditor
  • parts
  •   documentation
  •     interfaces
  • src
  •   profileengine
  •     lib
Generated for TDevelop Interfaces Library by doxygen 1.8.13
This website is maintained by Timothy Pearson.