Konsole
#include <Vt102Emulation.h>
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
|
virtual |
Copies the current image into the history and clears the screen.
Implements Konsole::Emulation.
Definition at line 82 of file Vt102Emulation.cpp.
|
virtual |
Returns the special character used for erasing character.
Reimplemented from Konsole::Emulation.
Definition at line 1283 of file Vt102Emulation.cpp.
|
protectedvirtual |
Processes an incoming character.
See receiveData() ch
A unicode character code.
Reimplemented from Konsole::Emulation.
Definition at line 291 of file Vt102Emulation.cpp.
|
virtual |
Resets the state of the terminal.
Implements Konsole::Emulation.
Definition at line 88 of file Vt102Emulation.cpp.
|
protectedvirtual |
Implements Konsole::Emulation.
Definition at line 1237 of file Vt102Emulation.cpp.
|
virtualslot |
Definition at line 967 of file Vt102Emulation.cpp.
|
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.
|
virtualslot |
Definition at line 830 of file Vt102Emulation.cpp.
|
virtualslot |
Definition at line 957 of file Vt102Emulation.cpp.
|
protectedvirtual |
Implements Konsole::Emulation.
Definition at line 1207 of file Vt102Emulation.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:25 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.