language/duchain
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>

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:
KDE 4.4 API Reference