• 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
ProjectModelItemContext Class Reference

#include <kdevcore.h>

Inheritance diagram for ProjectModelItemContext:
Context

Public Member Functions

 ProjectModelItemContext (const ProjectModelItem *item)
 
virtual ~ProjectModelItemContext ()
 
virtual int type () const
 
const ProjectModelItem * item () 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 project views.

Definition at line 263 of file kdevcore.h.

Constructor & Destructor Documentation

◆ ProjectModelItemContext()

ProjectModelItemContext::ProjectModelItemContext ( const ProjectModelItem *  item)

Builds the context.

Parameters
itemThe item to build the context from.

Definition at line 262 of file kdevcore.cpp.

◆ ~ProjectModelItemContext()

ProjectModelItemContext::~ProjectModelItemContext ( )
virtual

Destructor.

Definition at line 267 of file kdevcore.cpp.

Member Function Documentation

◆ item()

const ProjectModelItem * ProjectModelItemContext::item ( ) const
Returns
The code model item for the selected item.

Definition at line 278 of file kdevcore.cpp.

◆ type()

int ProjectModelItemContext::type ( ) const
virtual

Implement this in the context so we can provide rtti.

Implements Context.

Definition at line 273 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.