Kate
#include <katecompletionwidget.h>
Classes | |
struct | CompletionRange |
Public Slots | |
void | abortCompletion () |
void | argumentHintsChanged (bool hasContent) |
void | automaticInvocation () |
void | cursorDown () |
void | cursorUp () |
void | execute () |
bool | hadNavigation () const |
bool | navigateAccept () |
bool | navigateBack () |
bool | navigateDown () |
bool | navigateLeft () |
bool | navigateRight () |
bool | navigateUp () |
void | resetHadNavigation () |
void | showConfig () |
void | updatePositionSlot () |
void | waitForModelReset () |
Protected Member Functions | |
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 55 of file katecompletionwidget.h.
Constructor & Destructor Documentation
|
explicit |
connect to all possible editing primitives
Definition at line 97 of file katecompletionwidget.cpp.
KateCompletionWidget::~KateCompletionWidget | ( | ) |
Definition at line 181 of file katecompletionwidget.cpp.
Member Function Documentation
|
slot |
Definition at line 751 of file katecompletionwidget.cpp.
KateArgumentHintModel * KateCompletionWidget::argumentHintModel | ( | ) | const |
Definition at line 248 of file katecompletionwidget.cpp.
|
slot |
Definition at line 276 of file katecompletionwidget.cpp.
KateArgumentHintTree * KateCompletionWidget::argumentHintTree | ( | ) | const |
Definition at line 244 of file katecompletionwidget.cpp.
|
slot |
Definition at line 1290 of file katecompletionwidget.cpp.
int KateCompletionWidget::automaticInvocationDelay | ( | ) | const |
Definition at line 1227 of file katecompletionwidget.cpp.
void KateCompletionWidget::bottom | ( | ) |
Definition at line 1136 of file katecompletionwidget.cpp.
bool KateCompletionWidget::canCollapseCurrentItem | ( | ) | const |
Definition at line 1004 of file katecompletionwidget.cpp.
bool KateCompletionWidget::canExpandCurrentItem | ( | ) | const |
Definition at line 994 of file katecompletionwidget.cpp.
KTextEditor::MovingRange * KateCompletionWidget::completionRange | ( | KTextEditor::CodeCompletionModel * | model = 0 | ) | const |
Definition at line 875 of file katecompletionwidget.cpp.
QMap< KTextEditor::CodeCompletionModel *, KateCompletionWidget::CompletionRange > KateCompletionWidget::completionRanges | ( | ) | const |
Definition at line 893 of file katecompletionwidget.cpp.
QWidget * KateCompletionWidget::currentEmbeddedWidget | ( | ) |
Definition at line 1051 of file katecompletionwidget.cpp.
|
slot |
Definition at line 1063 of file katecompletionwidget.cpp.
|
slot |
Definition at line 1078 of file katecompletionwidget.cpp.
Definition at line 1025 of file katecompletionwidget.cpp.
|
slot |
Definition at line 795 of file katecompletionwidget.cpp.
|
slot |
Definition at line 965 of file katecompletionwidget.cpp.
bool KateCompletionWidget::isCompletionActive | ( | ) | const |
Definition at line 746 of file katecompletionwidget.cpp.
const KateCompletionModel * KateCompletionWidget::model | ( | ) | const |
Definition at line 252 of file katecompletionwidget.cpp.
KateCompletionModel * KateCompletionWidget::model | ( | ) |
Definition at line 256 of file katecompletionwidget.cpp.
|
slot |
Definition at line 781 of file katecompletionwidget.cpp.
|
slot |
Definition at line 974 of file katecompletionwidget.cpp.
|
slot |
Definition at line 1036 of file katecompletionwidget.cpp.
|
slot |
Definition at line 935 of file katecompletionwidget.cpp.
|
slot |
- Todo:
- post 4.2: Make these slots public interface, or create an interface using virtual functions
Definition at line 950 of file katecompletionwidget.cpp.
|
slot |
Definition at line 1044 of file katecompletionwidget.cpp.
void KateCompletionWidget::pageDown | ( | ) |
Definition at line 1093 of file katecompletionwidget.cpp.
void KateCompletionWidget::pageUp | ( | ) |
Definition at line 1108 of file katecompletionwidget.cpp.
void KateCompletionWidget::registerCompletionModel | ( | KTextEditor::CodeCompletionModel * | model | ) |
Definition at line 1201 of file katecompletionwidget.cpp.
|
slot |
Definition at line 969 of file katecompletionwidget.cpp.
|
protectedvirtual |
Definition at line 860 of file katecompletionwidget.cpp.
void KateCompletionWidget::setAutomaticInvocationDelay | ( | int | delay | ) |
Definition at line 1231 of file katecompletionwidget.cpp.
void KateCompletionWidget::setCurrentItemExpanded | ( | bool | expanded | ) |
Definition at line 1014 of file katecompletionwidget.cpp.
|
slot |
Definition at line 1167 of file katecompletionwidget.cpp.
|
protectedvirtual |
Definition at line 865 of file katecompletionwidget.cpp.
void KateCompletionWidget::startCompletion | ( | KTextEditor::CodeCompletionModel::InvocationType | invocationType, |
const QList< KTextEditor::CodeCompletionModel * > & | models = QList<KTextEditor::CodeCompletionModel*>() |
||
) |
Definition at line 286 of file katecompletionwidget.cpp.
void KateCompletionWidget::startCompletion | ( | const KTextEditor::Range & | word, |
KTextEditor::CodeCompletionModel * | model, | ||
KTextEditor::CodeCompletionModel::InvocationType | invocationType = KTextEditor::CodeCompletionModel::ManualInvocation |
||
) |
Definition at line 303 of file katecompletionwidget.cpp.
void KateCompletionWidget::startCompletion | ( | const KTextEditor::Range & | word, |
const QList< KTextEditor::CodeCompletionModel * > & | models = QList<KTextEditor::CodeCompletionModel*>() , |
||
KTextEditor::CodeCompletionModel::InvocationType | invocationType = KTextEditor::CodeCompletionModel::ManualInvocation |
||
) |
Definition at line 314 of file katecompletionwidget.cpp.
void KateCompletionWidget::tab | ( | bool | shift | ) |
Definition at line 1325 of file katecompletionwidget.cpp.
Returns whether the current item was expanded/unexpanded.
Definition at line 981 of file katecompletionwidget.cpp.
void KateCompletionWidget::top | ( | ) |
Definition at line 1123 of file katecompletionwidget.cpp.
KateCompletionTree * KateCompletionWidget::treeView | ( | ) | const |
Definition at line 921 of file katecompletionwidget.cpp.
void KateCompletionWidget::unregisterCompletionModel | ( | KTextEditor::CodeCompletionModel * | model | ) |
Definition at line 1218 of file katecompletionwidget.cpp.
void KateCompletionWidget::updateHeight | ( | ) |
Called by KateViewInternal, because we need the specific information from the event.
Definition at line 552 of file katecompletionwidget.cpp.
Definition at line 480 of file katecompletionwidget.cpp.
|
slot |
Definition at line 475 of file katecompletionwidget.cpp.
void KateCompletionWidget::userInvokedCompletion | ( | ) |
Definition at line 1320 of file katecompletionwidget.cpp.
KateView * KateCompletionWidget::view | ( | ) | const |
Definition at line 271 of file katecompletionwidget.cpp.
|
slot |
Definition at line 424 of file katecompletionwidget.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:31:54 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.