• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • applications API Reference
  • KDE Home
  • Contact Us
 

Kate

Public Slots | Signals | Public Member Functions | Protected Member Functions | List of all members
KateCmdLineEdit Class Reference

#include <kateviewhelpers.h>

Inheritance diagram for KateCmdLineEdit:
Inheritance graph
[legend]

Public Slots

void slotReturnPressed (const QString &cmd)
 

Signals

void hideRequested ()
 

Public Member Functions

 KateCmdLineEdit (KateCommandLineBar *bar, KateView *view)
 
virtual bool event (QEvent *e)
 
void hideEvent (QHideEvent *e)
 

Protected Member Functions

void focusInEvent (QFocusEvent *ev)
 
void keyPressEvent (QKeyEvent *ev)
 

Detailed Description

Definition at line 432 of file kateviewhelpers.h.

Constructor & Destructor Documentation

KateCmdLineEdit::KateCmdLineEdit ( KateCommandLineBar *  bar,
KateView *  view 
)

Definition at line 852 of file kateviewhelpers.cpp.

Member Function Documentation

bool KateCmdLineEdit::event ( QEvent *  e)
virtual

Definition at line 929 of file kateviewhelpers.cpp.

void KateCmdLineEdit::focusInEvent ( QFocusEvent *  ev)
protected

Definition at line 1085 of file kateviewhelpers.cpp.

void KateCmdLineEdit::hideEvent ( QHideEvent *  e)

Definition at line 878 of file kateviewhelpers.cpp.

void KateCmdLineEdit::hideRequested ( )
signal
void KateCmdLineEdit::keyPressEvent ( QKeyEvent *  ev)
protected

Definition at line 1097 of file kateviewhelpers.cpp.

void KateCmdLineEdit::slotReturnPressed ( const QString &  text)
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:
  • kateviewhelpers.h
  • kateviewhelpers.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Sat May 9 2020 03:57:00 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

Kate

Skip menu "Kate"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

applications API Reference

Skip menu "applications API Reference"
  •   kate
  •       kate
  •   KTextEditor
  •   Kate
  • Konsole

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal