Kate
KateCompletionWidget Class Reference
This is the code completion's main widget, and also contains the core interface logic. More...
#include <katecompletionwidget.h>

Public Slots | |
| void | abortCompletion () |
| void | argumentHintsChanged (bool hasContent) |
| void | automaticInvocation () |
| bool | hadNavigation () const |
| bool | navigateAccept () |
| bool | navigateBack () |
| bool | navigateDown () |
| bool | navigateLeft () |
| bool | navigateRight () |
| bool | navigateUp () |
| void | resetHadNavigation () |
| void | showConfig () |
| void | updatePositionSlot () |
Public Member Functions | |
| KateArgumentHintModel * | argumentHintModel () const |
| KateArgumentHintTree * | argumentHintTree () const |
| int | automaticInvocationDelay () const |
| void | bottom () |
| bool | canCollapseCurrentItem () const |
| bool | canExpandCurrentItem () const |
| KateSmartRange * | completionRange (KTextEditor::CodeCompletionModel *model=0) const |
| QMap < KTextEditor::CodeCompletionModel *, KateSmartRange * > | completionRanges () const |
| QWidget * | currentEmbeddedWidget () |
| void | cursorDown () |
| void | cursorUp () |
| virtual bool | eventFilter (QObject *watched, QEvent *event) |
| void | execute () |
| bool | isCompletionActive () const |
| KateCompletionWidget (KateView *parent) | |
| KateCompletionModel * | model () |
| const KateCompletionModel * | model () const |
| void | pageDown () |
| void | pageUp () |
| void | registerCompletionModel (KTextEditor::CodeCompletionModel *model) |
| void | setAutomaticInvocationDelay (int delay) |
| void | setCurrentItemExpanded (bool) |
| void | startCompletion (const KTextEditor::Range &word, KTextEditor::CodeCompletionModel *model, KTextEditor::CodeCompletionModel::InvocationType invocationType=KTextEditor::CodeCompletionModel::ManualInvocation) |
| void | startCompletion (KTextEditor::CodeCompletionModel::InvocationType invocationType) |
| bool | toggleExpanded (bool forceExpand=false, bool forceUnExpand=false) |
| void | top () |
| KateCompletionTree * | treeView () const |
| void | unregisterCompletionModel (KTextEditor::CodeCompletionModel *model) |
| void | updateHeight () |
| bool | updatePosition (bool force=false) |
| void | userInvokedCompletion () |
| KateView * | view () const |
| ~KateCompletionWidget () | |
Protected Member Functions | |
| virtual void | hideEvent (QHideEvent *event) |
| virtual void | resizeEvent (QResizeEvent *event) |
| virtual void | showEvent (QShowEvent *event) |
Detailed Description
This is the code completion's main widget, and also contains the core interface logic.
Definition at line 52 of file katecompletionwidget.h.
Constructor & Destructor Documentation
| KateCompletionWidget::KateCompletionWidget | ( | KateView * | parent | ) | [explicit] |
Definition at line 71 of file katecompletionwidget.cpp.
| KateCompletionWidget::~KateCompletionWidget | ( | ) |
Definition at line 144 of file katecompletionwidget.cpp.
Member Function Documentation
| void KateCompletionWidget::abortCompletion | ( | ) | [slot] |
Definition at line 554 of file katecompletionwidget.cpp.
| KateArgumentHintModel * KateCompletionWidget::argumentHintModel | ( | ) | const |
Definition at line 191 of file katecompletionwidget.cpp.
| void KateCompletionWidget::argumentHintsChanged | ( | bool | hasContent | ) | [slot] |
Definition at line 216 of file katecompletionwidget.cpp.
| KateArgumentHintTree * KateCompletionWidget::argumentHintTree | ( | ) | const |
Definition at line 187 of file katecompletionwidget.cpp.
| void KateCompletionWidget::automaticInvocation | ( | ) | [slot] |
Definition at line 1009 of file katecompletionwidget.cpp.
| int KateCompletionWidget::automaticInvocationDelay | ( | ) | const |
Definition at line 968 of file katecompletionwidget.cpp.
| void KateCompletionWidget::bottom | ( | ) |
Definition at line 926 of file katecompletionwidget.cpp.
| bool KateCompletionWidget::canCollapseCurrentItem | ( | ) | const |
Definition at line 812 of file katecompletionwidget.cpp.
| bool KateCompletionWidget::canExpandCurrentItem | ( | ) | const |
Definition at line 802 of file katecompletionwidget.cpp.
| KateSmartRange * KateCompletionWidget::completionRange | ( | KTextEditor::CodeCompletionModel * | model = 0 |
) | const |
Definition at line 688 of file katecompletionwidget.cpp.
| QMap< KTextEditor::CodeCompletionModel *, KateSmartRange * > KateCompletionWidget::completionRanges | ( | ) | const |
Definition at line 701 of file katecompletionwidget.cpp.
| QWidget * KateCompletionWidget::currentEmbeddedWidget | ( | ) |
Definition at line 866 of file katecompletionwidget.cpp.
| void KateCompletionWidget::cursorDown | ( | ) |
Definition at line 878 of file katecompletionwidget.cpp.
| void KateCompletionWidget::cursorUp | ( | ) |
Definition at line 888 of file katecompletionwidget.cpp.
Definition at line 840 of file katecompletionwidget.cpp.
| void KateCompletionWidget::execute | ( | ) |
Definition at line 599 of file katecompletionwidget.cpp.
| bool KateCompletionWidget::hadNavigation | ( | ) | const [slot] |
Definition at line 773 of file katecompletionwidget.cpp.
| void KateCompletionWidget::hideEvent | ( | QHideEvent * | event | ) | [protected, virtual] |
Definition at line 682 of file katecompletionwidget.cpp.
| bool KateCompletionWidget::isCompletionActive | ( | ) | const |
Definition at line 549 of file katecompletionwidget.cpp.
| KateCompletionModel * KateCompletionWidget::model | ( | ) |
Definition at line 199 of file katecompletionwidget.cpp.
| const KateCompletionModel * KateCompletionWidget::model | ( | ) | const |
Definition at line 195 of file katecompletionwidget.cpp.
| bool KateCompletionWidget::navigateAccept | ( | ) | [slot] |
Definition at line 583 of file katecompletionwidget.cpp.
| bool KateCompletionWidget::navigateBack | ( | ) | [slot] |
Definition at line 782 of file katecompletionwidget.cpp.
| bool KateCompletionWidget::navigateDown | ( | ) | [slot] |
Definition at line 851 of file katecompletionwidget.cpp.
| bool KateCompletionWidget::navigateLeft | ( | ) | [slot] |
Definition at line 743 of file katecompletionwidget.cpp.
| bool KateCompletionWidget::navigateRight | ( | ) | [slot] |
- Todo:
- post 4.2: Make these slots public interface, or create an interface using virtual functions
Definition at line 758 of file katecompletionwidget.cpp.
| bool KateCompletionWidget::navigateUp | ( | ) | [slot] |
Definition at line 859 of file katecompletionwidget.cpp.
| void KateCompletionWidget::pageDown | ( | ) |
Definition at line 898 of file katecompletionwidget.cpp.
| void KateCompletionWidget::pageUp | ( | ) |
Definition at line 908 of file katecompletionwidget.cpp.
| void KateCompletionWidget::registerCompletionModel | ( | KTextEditor::CodeCompletionModel * | model | ) |
Definition at line 954 of file katecompletionwidget.cpp.
| void KateCompletionWidget::resetHadNavigation | ( | ) | [slot] |
Definition at line 777 of file katecompletionwidget.cpp.
| void KateCompletionWidget::resizeEvent | ( | QResizeEvent * | event | ) | [protected, virtual] |
Definition at line 667 of file katecompletionwidget.cpp.
| void KateCompletionWidget::setAutomaticInvocationDelay | ( | int | delay | ) |
Definition at line 972 of file katecompletionwidget.cpp.
| void KateCompletionWidget::setCurrentItemExpanded | ( | bool | expanded | ) |
Definition at line 822 of file katecompletionwidget.cpp.
| void KateCompletionWidget::showConfig | ( | ) | [slot] |
Definition at line 947 of file katecompletionwidget.cpp.
| void KateCompletionWidget::showEvent | ( | QShowEvent * | event | ) | [protected, virtual] |
Definition at line 672 of file katecompletionwidget.cpp.
| void KateCompletionWidget::startCompletion | ( | const KTextEditor::Range & | word, | |
| KTextEditor::CodeCompletionModel * | model, | |||
| KTextEditor::CodeCompletionModel::InvocationType | invocationType = KTextEditor::CodeCompletionModel::ManualInvocation | |||
| ) |
Definition at line 231 of file katecompletionwidget.cpp.
| void KateCompletionWidget::startCompletion | ( | KTextEditor::CodeCompletionModel::InvocationType | invocationType | ) |
Definition at line 226 of file katecompletionwidget.cpp.
| bool KateCompletionWidget::toggleExpanded | ( | bool | forceExpand = false, |
|
| bool | forceUnExpand = false | |||
| ) |
Returns whether the current item was expanded/unexpanded.
Definition at line 789 of file katecompletionwidget.cpp.
| void KateCompletionWidget::top | ( | ) |
Definition at line 918 of file katecompletionwidget.cpp.
| KateCompletionTree * KateCompletionWidget::treeView | ( | ) | const |
Definition at line 729 of file katecompletionwidget.cpp.
| void KateCompletionWidget::unregisterCompletionModel | ( | KTextEditor::CodeCompletionModel * | model | ) |
Definition at line 963 of file katecompletionwidget.cpp.
| void KateCompletionWidget::updateHeight | ( | ) |
Called by KateViewInternal, because we need the specific information from the event.
Definition at line 425 of file katecompletionwidget.cpp.
| bool KateCompletionWidget::updatePosition | ( | bool | force = false |
) |
Definition at line 350 of file katecompletionwidget.cpp.
| void KateCompletionWidget::updatePositionSlot | ( | ) | [slot] |
Definition at line 345 of file katecompletionwidget.cpp.
| void KateCompletionWidget::userInvokedCompletion | ( | ) |
Definition at line 1027 of file katecompletionwidget.cpp.
| KateView * KateCompletionWidget::view | ( | ) | const |
Definition at line 211 of file katecompletionwidget.cpp.
The documentation for this class was generated from the following files:
KDE 4.2 API Reference