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

Konsole

  • Konsole
  • Vt102Emulation
Public Slots | Public Member Functions | Protected Member Functions | List of all members
Konsole::Vt102Emulation Class Reference

#include <Vt102Emulation.h>

Inheritance diagram for Konsole::Vt102Emulation:
Inheritance graph
[legend]

Public Slots

virtual void sendKeyEvent (QKeyEvent *)
 
virtual void sendMouseEvent (int buttons, int column, int line, int eventType)
 
virtual void sendString (const char *, int length=-1)
 
virtual void sendText (const QString &text)
 
- Public Slots inherited from Konsole::Emulation
void receiveData (const char *buffer, int len)
 
virtual void sendKeyEvent (QKeyEvent *)
 
virtual void sendMouseEvent (int buttons, int column, int line, int eventType)
 
virtual void sendString (const char *string, int length=-1)=0
 
virtual void sendText (const QString &text)=0
 
virtual void setImageSize (int lines, int columns)
 

Public Member Functions

 Vt102Emulation ()
 
 ~Vt102Emulation ()
 
virtual void clearEntireScreen ()
 
virtual char eraseChar () const
 
virtual void reset ()
 
- Public Member Functions inherited from Konsole::Emulation
 Emulation ()
 
 ~Emulation ()
 
void clearHistory ()
 
const QTextCodec * codec () const
 
ScreenWindow * createWindow ()
 
const HistoryType & history () const
 
QSize imageSize () const
 
QString keyBindings () const
 
int lineCount () const
 
bool programUsesMouse () const
 
void setCodec (const QTextCodec *)
 
void setHistory (const HistoryType &)
 
void setKeyBindings (const QString &name)
 
bool utf8 () const
 
virtual void writeToStream (TerminalCharacterDecoder *decoder, int startLine, int endLine)
 

Protected Member Functions

virtual void receiveChar (int cc)
 
virtual void resetMode (int mode)
 
virtual void setMode (int mode)
 
- Protected Member Functions inherited from Konsole::Emulation
void setCodec (EmulationCodec codec)
 
void setScreen (int index)
 

Additional Inherited Members

- Signals inherited from Konsole::Emulation
void changeTabTextColorRequest (int color)
 
void flowControlKeyPressed (bool suspendKeyPressed)
 
void imageResizeRequest (const QSize &sizz)
 
void imageSizeChanged (int lineCount, int columnCount)
 
void imageSizeInitialized ()
 
void outputChanged ()
 
void primaryScreenInUse (bool use)
 
void profileChangeCommandReceived (const QString &text)
 
void programUsesMouseChanged (bool usesMouse)
 
void selectionChanged (const QString &text)
 
void sendData (const char *data, int len)
 
void stateSet (int state)
 
void titleChanged (int title, const QString &newTitle)
 
void useUtf8Request (bool)
 
void zmodemDetected ()
 
- Protected Types inherited from Konsole::Emulation
enum  EmulationCodec { LocaleCodec = 0, Utf8Codec = 1 }
 
- Protected Slots inherited from Konsole::Emulation
void bufferedUpdate ()
 
void checkScreenInUse ()
 
void checkSelectedText ()
 
- Protected Attributes inherited from Konsole::Emulation
const QTextCodec * _codec
 
Screen * _currentScreen
 
QTextDecoder * _decoder
 
const KeyboardTranslator * _keyTranslator
 
Screen * _screen [2]
 
QList< ScreenWindow * > _windows
 

Detailed Description

Provides an xterm compatible terminal emulation based on the DEC VT102 terminal.

A full description of this terminal can be found at http://vt100.net/docs/vt102-ug/

In addition, various additional xterm escape sequences are supported to provide features such as mouse input handling. See http://rtfm.etla.org/xterm/ctlseq.html for a description of xterm's escape sequences.

Definition at line 75 of file Vt102Emulation.h.

Constructor & Destructor Documentation

Vt102Emulation::Vt102Emulation ( )

Constructs a new emulation.

Definition at line 68 of file Vt102Emulation.cpp.

Vt102Emulation::~Vt102Emulation ( )

Definition at line 79 of file Vt102Emulation.cpp.

Member Function Documentation

void Vt102Emulation::clearEntireScreen ( )
virtual

Copies the current image into the history and clears the screen.

Implements Konsole::Emulation.

Definition at line 82 of file Vt102Emulation.cpp.

char Vt102Emulation::eraseChar ( ) const
virtual

Returns the special character used for erasing character.

Reimplemented from Konsole::Emulation.

Definition at line 1283 of file Vt102Emulation.cpp.

void Vt102Emulation::receiveChar ( int  ch)
protectedvirtual

Processes an incoming character.

See receiveData() ch A unicode character code.

Reimplemented from Konsole::Emulation.

Definition at line 291 of file Vt102Emulation.cpp.

void Vt102Emulation::reset ( )
virtual

Resets the state of the terminal.

Implements Konsole::Emulation.

Definition at line 88 of file Vt102Emulation.cpp.

void Vt102Emulation::resetMode ( int  mode)
protectedvirtual

Implements Konsole::Emulation.

Definition at line 1237 of file Vt102Emulation.cpp.

void Vt102Emulation::sendKeyEvent ( QKeyEvent *  event)
virtualslot

Definition at line 967 of file Vt102Emulation.cpp.

void Vt102Emulation::sendMouseEvent ( int  cb,
int  cx,
int  cy,
int  eventType 
)
virtualslot

`cx',`cy' are 1-based. `cb' indicates the button pressed or released (0-2) or scroll event (4-5).

eventType represents the kind of mouse action that occurred: 0 = Mouse button press 1 = Mouse drag 2 = Mouse button release

Definition at line 912 of file Vt102Emulation.cpp.

void Vt102Emulation::sendString ( const char *  s,
int  length = -1 
)
virtualslot

Definition at line 830 of file Vt102Emulation.cpp.

void Vt102Emulation::sendText ( const QString &  text)
virtualslot

Definition at line 957 of file Vt102Emulation.cpp.

void Vt102Emulation::setMode ( int  mode)
protectedvirtual

Implements Konsole::Emulation.

Definition at line 1207 of file Vt102Emulation.cpp.


The documentation for this class was generated from the following files:
  • Vt102Emulation.h
  • Vt102Emulation.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:31:25 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

Konsole

Skip menu "Konsole"
  • 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
  • Applications
  •   Libraries
  •     libkonq
  • 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