author | llornkcor <llornkcor> | 2002-11-08 13:25:26 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2002-11-08 13:25:26 (UTC) |
commit | ada5be67fec81ed8845a6f358bbf7e3b181d417e (patch) (unidiff) | |
tree | 7534fb32838b3323f64328f863d621d959b716fb /core/apps/embeddedkonsole/TEWidget.h | |
parent | 8714e7c5271b80bf61de10f3726bce8b6a85127f (diff) | |
download | opie-ada5be67fec81ed8845a6f358bbf7e3b181d417e.zip opie-ada5be67fec81ed8845a6f358bbf7e3b181d417e.tar.gz opie-ada5be67fec81ed8845a6f358bbf7e3b181d417e.tar.bz2 |
option for beep
Diffstat (limited to 'core/apps/embeddedkonsole/TEWidget.h') (more/less context) (show whitespace changes)
-rw-r--r-- | core/apps/embeddedkonsole/TEWidget.h | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/core/apps/embeddedkonsole/TEWidget.h b/core/apps/embeddedkonsole/TEWidget.h index a480d45..5597f27 100644 --- a/core/apps/embeddedkonsole/TEWidget.h +++ b/core/apps/embeddedkonsole/TEWidget.h | |||
@@ -44,52 +44,45 @@ class TEWidget : public QFrame | |||
44 | public: | 44 | public: |
45 | 45 | ||
46 | TEWidget(QWidget *parent=0, const char *name=0); | 46 | TEWidget(QWidget *parent=0, const char *name=0); |
47 | virtual ~TEWidget(); | 47 | virtual ~TEWidget(); |
48 | 48 | ||
49 | public: | 49 | public: |
50 | 50 | ||
51 | QColor getDefaultBackColor(); | 51 | QColor getDefaultBackColor(); |
52 | 52 | ||
53 | const ColorEntry* getColorTable() const; | 53 | const ColorEntry* getColorTable() const; |
54 | const ColorEntry* getdefaultColorTable() const; | 54 | const ColorEntry* getdefaultColorTable() const; |
55 | void setColorTable(const ColorEntry table[]); | 55 | void setColorTable(const ColorEntry table[]); |
56 | |||
57 | void setScrollbarLocation(int loc); | 56 | void setScrollbarLocation(int loc); |
58 | enum { SCRNONE=0, SCRLEFT=1, SCRRIGHT=2 }; | 57 | enum { SCRNONE=0, SCRLEFT=1, SCRRIGHT=2 }; |
59 | |||
60 | void setScroll(int cursor, int lines); | 58 | void setScroll(int cursor, int lines); |
61 | void doScroll(int lines); | 59 | void doScroll(int lines); |
62 | |||
63 | void doHScroll(int lines); | 60 | void doHScroll(int lines); |
64 | |||
65 | |||
66 | void emitSelection(); | 61 | void emitSelection(); |
67 | void setWrapAt(int columns); | 62 | void setWrapAt(int columns); |
68 | 63 | ||
69 | public: | ||
70 | |||
71 | void setImage(const ca* const newimg, int lines, int columns); | 64 | void setImage(const ca* const newimg, int lines, int columns); |
72 | 65 | ||
73 | int Lines() { return lines; } | 66 | int Lines() { return lines; } |
74 | int Columns() { return columns; } | 67 | int Columns() { return columns; } |
75 | 68 | ||
76 | void calcGeometry(); | 69 | void calcGeometry(); |
77 | void propagateSize(); | 70 | void propagateSize(); |
78 | QSize calcSize(int cols, int lins) const; | 71 | QSize calcSize(int cols, int lins) const; |
79 | 72 | ||
80 | QSize sizeHint() const; | 73 | QSize sizeHint() const; |
81 | 74 | ||
82 | public: | ||
83 | bool useHorzScroll; | 75 | bool useHorzScroll; |
76 | bool useBeep; | ||
84 | 77 | ||
85 | void Bell(); | 78 | void Bell(); |
86 | void emitText(QString text); | 79 | void emitText(QString text); |
87 | void pasteClipboard(); | 80 | void pasteClipboard(); |
88 | 81 | ||
89 | signals: | 82 | signals: |
90 | 83 | ||
91 | void keyPressedSignal(QKeyEvent *e); | 84 | void keyPressedSignal(QKeyEvent *e); |
92 | void mouseSignal(int cb, int cx, int cy); | 85 | void mouseSignal(int cb, int cx, int cy); |
93 | void changedImageSizeSignal(int lines, int columns); | 86 | void changedImageSizeSignal(int lines, int columns); |
94 | void changedHistoryCursor(int value); | 87 | void changedHistoryCursor(int value); |
95 | void changedHorzCursor(int value); | 88 | void changedHorzCursor(int value); |