Kate
#include "katecompletionwidget.h"
#include <QtGui/QBoxLayout>
#include <QtGui/QApplication>
#include <QtGui/QDesktopWidget>
#include <QtGui/QHeaderView>
#include <QtCore/QTimer>
#include <QtGui/QLabel>
#include <QtGui/QToolButton>
#include <QtGui/QSizeGrip>
#include <QtGui/QPushButton>
#include <QtGui/QAbstractScrollArea>
#include <QtGui/QScrollBar>
#include <QtCore/QScopedPointer>
#include <kicon.h>
#include <kdialog.h>
#include <ktexteditor/codecompletionmodelcontrollerinterface.h>
#include "kateview.h"
#include "katerenderer.h"
#include "kateconfig.h"
#include "katedocument.h"
#include "katebuffer.h"
#include "katecompletionmodel.h"
#include "katecompletiontree.h"
#include "katecompletionconfig.h"
#include "kateargumenthinttree.h"
#include "kateargumenthintmodel.h"
#include "katecompletionwidget.moc"
Include dependency graph for katecompletionwidget.cpp:
Go to the source code of this file.
Macros | |
#define | CALLCI(WHAT, WHATELSE, WHAT2, model, FUNC) |
Functions | |
static void | _aborted (KTextEditor::CodeCompletionModel *model, KTextEditor::View *view) |
static KTextEditor::Range | _completionRange (KTextEditor::CodeCompletionModel *model, KTextEditor::View *view, const KTextEditor::Cursor &cursor) |
static QString | _filterString (KTextEditor::CodeCompletionModel *model, KTextEditor::View *view, const KTextEditor::Range &range, const KTextEditor::Cursor &cursor) |
static bool | _shouldAbortCompletion (KTextEditor::CodeCompletionModel *model, KTextEditor::View *view, const KTextEditor::Range &range, const QString ¤tCompletion) |
static bool | _shouldStartCompletion (KTextEditor::CodeCompletionModel *model, KTextEditor::View *view, QString m_automaticInvocationLine, bool m_lastInsertionByUser, const KTextEditor::Cursor &cursor) |
static KTextEditor::Range | _updateRange (KTextEditor::CodeCompletionModel *model, KTextEditor::View *view, KTextEditor::Range &range) |
bool | hasAtLeastNRows (int rows, QAbstractItemModel *model) |
Variables | |
const bool | hideAutomaticCompletionOnExactMatch = true |
const bool | shellLikeTabCompletion = false |
Macro Definition Documentation
#define CALLCI | ( | WHAT, | |
WHATELSE, | |||
WHAT2, | |||
model, | |||
FUNC | |||
) |
Value:
{\
static KTextEditor::CodeCompletionModelControllerInterface3 defaultIf;\
KTextEditor::CodeCompletionModelControllerInterface3* ret =\
dynamic_cast<KTextEditor::CodeCompletionModelControllerInterface3*>(model);\
if (!ret) {\
WHAT2 defaultIf.FUNC;\
}else \
WHAT2 ret->FUNC;\
}
Definition at line 61 of file katecompletionwidget.cpp.
Function Documentation
|
static |
Definition at line 89 of file katecompletionwidget.cpp.
|
static |
Definition at line 73 of file katecompletionwidget.cpp.
|
static |
Definition at line 81 of file katecompletionwidget.cpp.
|
static |
Definition at line 85 of file katecompletionwidget.cpp.
|
static |
Definition at line 93 of file katecompletionwidget.cpp.
|
static |
Definition at line 77 of file katecompletionwidget.cpp.
bool hasAtLeastNRows | ( | int | rows, |
QAbstractItemModel * | model | ||
) |
Definition at line 537 of file katecompletionwidget.cpp.
Variable Documentation
const bool hideAutomaticCompletionOnExactMatch = true |
Definition at line 56 of file katecompletionwidget.cpp.
const bool shellLikeTabCompletion = false |
Definition at line 59 of file katecompletionwidget.cpp.
This file is part of the KDE documentation.
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
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.