• Skip to content
  • Skip to link menu
KDE 4.4 API Reference
  • KDE API Reference
  • KDevelop Platform Libraries
  • Sitemap
  • Contact Us
 

language/duchain

KDevelop::AbstractIncludeNavigationContext

KDevelop::AbstractIncludeNavigationContext Class Reference

Abstract navigation context for file includes. More...

#include <abstractincludenavigationcontext.h>

Inherits KDevelop::AbstractNavigationContext.

List of all members.

Public Member Functions

 AbstractIncludeNavigationContext (const IncludeItem &item, TopDUContextPointer topContext, const ParsingEnvironmentType &type)
virtual QString html (bool shorten)
virtual QString name () const

Protected Member Functions

virtual void getFileInfo (KDevelop::TopDUContext *duchain)

Detailed Description

Abstract navigation context for file includes.

Example usage:

 namespace LANG {
 class IncludeNavigationContext : public AbstractIncludeNavigationContext
 {
 public:
   IncludeNavigationContext(const IncludeItem& item, TopDuContextPointer topContext)
    : AbstractIncludeNavigationContext(item, topContext, KDevelop::LANGParsingEnvironment) {}
 protected:
   virtual void getFileInfo(KDevelop::TopDUContext* duchain)
   {
   // write language dependent stuff via modifyHtml()
   }
 };
 }

Definition at line 49 of file abstractincludenavigationcontext.h.


Member Function Documentation

void KDevelop::AbstractIncludeNavigationContext::getFileInfo ( KDevelop::TopDUContext *  duchain  )  [protected, virtual]

Overwrite this to add language dependent information for a given file.

By default only "included by" and "includes" NOTE: You should always append a newline (
) if you write anything.

Definition at line 113 of file abstractincludenavigationcontext.cpp.


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

language/duchain

Skip menu "language/duchain"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

KDevelop Platform Libraries

Skip menu "KDevelop Platform Libraries"
  • interfaces
  • language
  •   codegen
  •   duchain
  •   editor
  • outputview
  • project
  • shell
  • sublime
  • util
  • vcs
Generated for KDevelop Platform Libraries by doxygen 1.5.9-20090814
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal