Changeset View
Changeset View
Standalone View
Standalone View
src/Emulation.h
Show All 23 Lines | |||||
24 | #define EMULATION_H | 24 | #define EMULATION_H | ||
25 | 25 | | |||
26 | // Qt | 26 | // Qt | ||
27 | #include <QSize> | 27 | #include <QSize> | ||
28 | #include <QTextCodec> | 28 | #include <QTextCodec> | ||
29 | #include <QTimer> | 29 | #include <QTimer> | ||
30 | 30 | | |||
31 | // Konsole | 31 | // Konsole | ||
32 | #include "Enumeration.h" | ||||
32 | #include "konsoleprivate_export.h" | 33 | #include "konsoleprivate_export.h" | ||
33 | 34 | | |||
34 | class QKeyEvent; | 35 | class QKeyEvent; | ||
35 | 36 | | |||
36 | namespace Konsole { | 37 | namespace Konsole { | ||
37 | class KeyboardTranslator; | 38 | class KeyboardTranslator; | ||
38 | class HistoryType; | 39 | class HistoryType; | ||
39 | class Screen; | 40 | class Screen; | ||
▲ Show 20 Lines • Show All 384 Lines • ▼ Show 20 Line(s) | 276 | Q_SIGNALS: | |||
424 | */ | 425 | */ | ||
425 | void selectionChanged(const QString &text); | 426 | void selectionChanged(const QString &text); | ||
426 | 427 | | |||
427 | /** | 428 | /** | ||
428 | * Emitted when terminal code requiring terminal's response received. | 429 | * Emitted when terminal code requiring terminal's response received. | ||
429 | */ | 430 | */ | ||
430 | void sessionAttributeRequest(int id); | 431 | void sessionAttributeRequest(int id); | ||
431 | 432 | | |||
433 | /** | ||||
434 | * Emitted when Set Cursor Style (DECSCUSR) escape sequences are sent | ||||
435 | * to the terminal. | ||||
436 | * @p shape cursor shape | ||||
437 | * @p isBlinking if true, the cursor will be set to blink | ||||
438 | */ | ||||
439 | void setCursorStyleRequest(Enum::CursorShapeEnum shape = Enum::BlockCursor, bool isBlinking = false); | ||||
440 | /** | ||||
441 | * Emitted when reset() is called to reset the cursor style to the | ||||
442 | * current profile cursor shape and blinking settings. | ||||
443 | */ | ||||
444 | void resetCursorStyleRequest(); | ||||
445 | | ||||
432 | protected: | 446 | protected: | ||
433 | virtual void setMode(int mode) = 0; | 447 | virtual void setMode(int mode) = 0; | ||
434 | virtual void resetMode(int mode) = 0; | 448 | virtual void resetMode(int mode) = 0; | ||
435 | 449 | | |||
436 | /** | 450 | /** | ||
437 | * Processes an incoming character. See receiveData() | 451 | * Processes an incoming character. See receiveData() | ||
438 | * @p c A unicode character code. | 452 | * @p c A unicode character code. | ||
439 | */ | 453 | */ | ||
▲ Show 20 Lines • Show All 69 Lines • Show Last 20 Lines |