• 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 programBracketedPasteMode () 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)
 
- Public Member Functions inherited from QObject
 QObject (QObject *parent)
 
 QObject (QObject *parent, const char *name)
 
virtual  ~QObject ()
 
bool blockSignals (bool block)
 
QObject * child (const char *objName, const char *inheritsClass, bool recursiveSearch) const
 
const QObjectList & children () const
 
const char * className () const
 
bool connect (const QObject *sender, const char *signal, const char *method, Qt::ConnectionType type) const
 
void deleteLater ()
 
void destroyed (QObject *obj)
 
bool disconnect (const QObject *receiver, const char *method)
 
bool disconnect (const char *signal, const QObject *receiver, const char *method)
 
void dumpObjectInfo ()
 
void dumpObjectTree ()
 
QList< QByteArray > dynamicPropertyNames () const
 
virtual bool event (QEvent *e)
 
virtual bool eventFilter (QObject *watched, QEvent *event)
 
T findChild (const QString &name) const
 
QList< T > findChildren (const QRegExp &regExp) const
 
QList< T > findChildren (const QString &name) const
 
bool inherits (const char *className) const
 
void insertChild (QObject *object)
 
void installEventFilter (QObject *filterObj)
 
bool isA (const char *className) const
 
bool isWidgetType () const
 
void killTimer (int id)
 
virtual const QMetaObject * metaObject () const
 
void moveToThread (QThread *targetThread)
 
const char * name () const
 
const char * name (const char *defaultName) const
 
QString objectName () const
 
QObject * parent () const
 
QVariant property (const char *name) const
 
void removeChild (QObject *object)
 
void removeEventFilter (QObject *obj)
 
void setName (const char *name)
 
void setObjectName (const QString &name)
 
void setParent (QObject *parent)
 
bool setProperty (const char *name, const QVariant &value)
 
bool signalsBlocked () const
 
int startTimer (int interval)
 
QThread * thread () const
 

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)
 
- Protected Member Functions inherited from QObject
bool checkConnectArgs (const char *signal, const QObject *object, const char *method)
 
virtual void childEvent (QChildEvent *event)
 
virtual void connectNotify (const char *signal)
 
virtual void customEvent (QEvent *event)
 
virtual void disconnectNotify (const char *signal)
 
int receivers (const char *signal) const
 
QObject * sender () const
 
int senderSignalIndex () const
 
virtual void timerEvent (QTimerEvent *event)
 

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 programBracketedPasteModeChanged (bool bracketedPasteMode)
 
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 ()
 
- Static Public Member Functions inherited from QObject
bool connect (const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
 
bool connect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method, Qt::ConnectionType type)
 
bool disconnect (const QObject *sender, const char *signal, const QObject *receiver, const char *method)
 
bool disconnect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method)
 
QString tr (const char *sourceText, const char *disambiguation, int n)
 
QString trUtf8 (const char *sourceText, const char *disambiguation, int n)
 
- Protected Types inherited from Konsole::Emulation
enum  EmulationCodec { LocaleCodec = 0, Utf8Codec = 1 }
 
- Protected Slots inherited from Konsole::Emulation
void bufferedUpdate ()
 
void checkScreenInUse ()
 
void checkSelectedText ()
 
- Static Protected Member Functions inherited from QObject
QByteArray normalizeSignalSlot (const char *signalSlot)
 
- Protected Attributes inherited from Konsole::Emulation
const QTextCodec * _codec
 
Screen * _currentScreen
 
QTextDecoder * _decoder
 
const KeyboardTranslator * _keyTranslator
 
Screen * _screen [2]
 
QList< ScreenWindow * > _windows
 
- Properties inherited from QObject
 objectName
 

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 76 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 1299 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 1249 of file Vt102Emulation.cpp.

void Vt102Emulation::sendKeyEvent ( QKeyEvent *  event)
virtualslot

Definition at line 974 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 919 of file Vt102Emulation.cpp.

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

Definition at line 837 of file Vt102Emulation.cpp.

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

Definition at line 964 of file Vt102Emulation.cpp.

void Vt102Emulation::setMode ( int  mode)
protectedvirtual

Implements Konsole::Emulation.

Definition at line 1215 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-2020 The KDE developers.
Generated on Sat May 9 2020 03:56:28 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
  • 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