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

language/duchain

KDevelop::AbstractNavigationWidget

KDevelop::AbstractNavigationWidget Class Reference

This class deleted itself when its part is deleted, so always use a QPointer when referencing it. More...

#include <abstractnavigationwidget.h>

Inheritance diagram for KDevelop::AbstractNavigationWidget:
Inheritance graph
[legend]

List of all members.

Public Slots

virtual void accept ()
virtual void back ()
NavigationContextPointer context ()
virtual void down ()
void embeddedWidgetAccept ()
void embeddedWidgetDown ()
void embeddedWidgetLeft ()
void embeddedWidgetRight ()
void embeddedWidgetUp ()
void executeContextAction (QString action)
void navigateDeclaration (KDevelop::IndexedDeclaration decl)
virtual void next ()
virtual void previous ()
virtual void up ()

Signals

void sizeHintChanged ()

Public Member Functions

void setContext (NavigationContextPointer context, int initBrowser=400)
QSize sizeHint () const

Protected Member Functions

void initBrowser (int height)
virtual void keyPressEvent (QKeyEvent *event)
void update ()
void updateIdealSize () const
virtual void wheelEvent (QWheelEvent *)

Protected Attributes

QPointer< QTextBrowser > m_browser
NavigationContextPointer m_context
QString m_currentText
QWidget * m_currentWidget
QSize m_idealTextSize
NavigationContextPointer m_startContext
TopDUContextPointer m_topContext

Detailed Description

This class deleted itself when its part is deleted, so always use a QPointer when referencing it.

The duchain must be read-locked for most operations

Definition at line 43 of file abstractnavigationwidget.h.


Member Function Documentation

void KDevelop::AbstractNavigationWidget::accept (  )  [virtual, slot]

Keyboard-action "accept".

Definition at line 236 of file abstractnavigationwidget.cpp.

void KDevelop::AbstractNavigationWidget::embeddedWidgetAccept (  )  [slot]

Keyboard-action "accept".

Definition at line 271 of file abstractnavigationwidget.cpp.

void KDevelop::AbstractNavigationWidget::embeddedWidgetLeft (  )  [slot]

Keyboard-action "previous".

Definition at line 282 of file abstractnavigationwidget.cpp.

void KDevelop::AbstractNavigationWidget::embeddedWidgetRight (  )  [slot]

These are temporarily for gettings these events directly from kate.

Todo:
Do this through a public interface post 4.2

Definition at line 278 of file abstractnavigationwidget.cpp.

void KDevelop::AbstractNavigationWidget::executeContextAction ( QString  action  )  [slot]

Execute an action within the current navigation context "show_uses" shows the uses for a declaration context.

Definition at line 211 of file abstractnavigationwidget.cpp.

void KDevelop::AbstractNavigationWidget::next (  )  [virtual, slot]

Keyboard-action "next".

Definition at line 222 of file abstractnavigationwidget.cpp.

void KDevelop::AbstractNavigationWidget::previous (  )  [virtual, slot]

Keyboard-action "previous".

Definition at line 229 of file abstractnavigationwidget.cpp.


The documentation for this class was generated from the following files:
  • abstractnavigationwidget.h
  • abstractnavigationwidget.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