Kate
#include <kateviewhelpers.h>
Public Slots | |
void | slotReturnPressed (const QString &cmd) |
Public Slots inherited from KLineEdit | |
virtual void | clear () |
bool | passwordMode () const |
void | rotateText (KCompletionBase::KeyBindingType type) |
void | setCompletedItems (const QStringList &items, bool autoSuggest=true) |
virtual void | setCompletedText (const QString &) |
void | setPasswordMode (bool b=true) |
virtual void | setReadOnly (bool) |
void | setSqueezedText (const QString &text) |
virtual void | setText (const QString &) |
Signals | |
void | hideRequested () |
Signals inherited from KLineEdit | |
void | aboutToShowContextMenu (QMenu *menu) |
void | clearButtonClicked () |
void | completion (const QString &) |
void | completionBoxActivated (const QString &) |
void | completionModeChanged (KGlobalSettings::Completion) |
void | returnPressed (const QString &) |
void | substringCompletion (const QString &) |
void | textRotation (KCompletionBase::KeyBindingType) |
QT_MOC_COMPAT void | userTextChanged (const QString &) |
Protected Member Functions | |
void | focusInEvent (QFocusEvent *ev) |
void | keyPressEvent (QKeyEvent *ev) |
Protected Member Functions inherited from KLineEdit | |
bool | autoSuggest () const |
virtual void | contextMenuEvent (QContextMenuEvent *) |
virtual void | create (WId=0, bool initializeWindow=true, bool destroyOldWindow=true) |
QMenu * | createStandardContextMenu () |
virtual void | dropEvent (QDropEvent *) |
virtual void | focusOutEvent (QFocusEvent *ev) |
virtual void | mouseDoubleClickEvent (QMouseEvent *) |
virtual void | mousePressEvent (QMouseEvent *) |
virtual void | mouseReleaseEvent (QMouseEvent *) |
virtual void | paintEvent (QPaintEvent *ev) |
virtual void | resizeEvent (QResizeEvent *) |
virtual void | setCompletedText (const QString &, bool) |
void | setUserSelection (bool userSelection) |
Additional Inherited Members | |
Protected Slots inherited from KLineEdit | |
virtual void | makeCompletion (const QString &) |
void | userCancelled (const QString &cancelText) |
Properties inherited from KLineEdit | |
QString | clickMessage |
bool | contextMenuEnabled |
bool | passwordMode |
bool | showClearButton |
bool | squeezedTextEnabled |
bool | trapEnterKeyEvent |
bool | urlDropsEnabled |
Detailed Description
Definition at line 426 of file kateviewhelpers.h.
Constructor & Destructor Documentation
KateCmdLineEdit::KateCmdLineEdit | ( | KateCommandLineBar * | bar, |
KateView * | view | ||
) |
Definition at line 852 of file kateviewhelpers.cpp.
Member Function Documentation
Reimplemented from KLineEdit.
Definition at line 929 of file kateviewhelpers.cpp.
|
protectedvirtual |
Reimplemented from KLineEdit.
Definition at line 1085 of file kateviewhelpers.cpp.
void KateCmdLineEdit::hideEvent | ( | QHideEvent * | e | ) |
Definition at line 878 of file kateviewhelpers.cpp.
|
signal |
|
protectedvirtual |
Reimplemented from KLineEdit.
Definition at line 1097 of file kateviewhelpers.cpp.
|
slot |
Parse the text as a command.
The following is a simple PEG grammar for the syntax of the command. (A PEG grammar is like a BNF grammar, except that "/" stands for ordered choice: only the first matching rule is used. In other words, the parsing is short-circuited in the manner of the "or" operator in programming languages, and so the grammar is unambiguous.)
Text <- Range? Command / Position Range <- Position ("," Position)? / "%" Position <- Base Offset? Base <- Line / LastLine / ThisLine / Mark Offset <- [+-] Base Line <- [0-9]+ LastLine <- "$" ThisLine <- "." Mark <- "'" [a-z]
Definition at line 964 of file kateviewhelpers.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.