summaryrefslogtreecommitdiff
path: root/core/apps/embeddedkonsole/TEWidget.h
Unidiff
Diffstat (limited to 'core/apps/embeddedkonsole/TEWidget.h') (more/less context) (ignore whitespace changes)
-rw-r--r--core/apps/embeddedkonsole/TEWidget.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/core/apps/embeddedkonsole/TEWidget.h b/core/apps/embeddedkonsole/TEWidget.h
index 3f9f4ae..40e1aea 100644
--- a/core/apps/embeddedkonsole/TEWidget.h
+++ b/core/apps/embeddedkonsole/TEWidget.h
@@ -1,30 +1,29 @@
1/* ----------------------------------------------------------------------- */ 1/* ----------------------------------------------------------------------- */
2/* */ 2/* */
3/* [te_widget.h] Terminal Emulation Widget */ 3/* [te_widget.h] Terminal Emulation Widget */
4/* */ 4/* */
5/* ----------------------------------------------------------------------- */ 5/* ----------------------------------------------------------------------- */
6/* */ 6/* */
7/* Copyright (c) 1997,1998 by Lars Doelle <lars.doelle@on-line.de> */ 7/* Copyright (c) 1997,1998 by Lars Doelle <lars.doelle@on-line.de> */
8/* */ 8/* */
9/* This file is part of Konsole - an X terminal for KDE */ 9/* This file is part of Konsole - an X terminal for KDE */
10/* */ 10/* */
11/* ----------------------------------------------------------------------- */ 11/* ----------------------------------------------------------------------- */
12 /* */ 12/* */
13/* Ported Konsole to Qt/Embedded */ 13/* Ported Konsole to Qt/Embedded */
14 /* */ 14/* */
15/* Copyright (C) 2000 by John Ryland <jryland@trolltech.com> */ 15/* Copyright (C) 2000 by John Ryland <jryland@trolltech.com> */
16 /* */ 16/* */
17/* -------------------------------------------------------------------------- */ 17/* -------------------------------------------------------------------------- */
18
19#ifndef TE_WIDGET_H 18#ifndef TE_WIDGET_H
20#define TE_WIDGET_H 19#define TE_WIDGET_H
21 20
22#include <qwidget.h> 21#include <qwidget.h>
23#include <qlabel.h> 22#include <qlabel.h>
24#include <qtimer.h> 23#include <qtimer.h>
25#include <qcolor.h> 24#include <qcolor.h>
26#include <qkeycode.h> 25#include <qkeycode.h>
27#include <qscrollbar.h> 26#include <qscrollbar.h>
28 27
29#include <qpopupmenu.h> 28#include <qpopupmenu.h>
30 29
@@ -43,24 +42,25 @@ class TEWidget : public QFrame
43// friend class Konsole; 42// friend class Konsole;
44 43
45public: 44public:
46 45
47 TEWidget(QWidget *parent=0, const char *name=0); 46 TEWidget(QWidget *parent=0, const char *name=0);
48 virtual ~TEWidget(); 47 virtual ~TEWidget();
49 48
50public: 49public:
51 50
52 QColor getDefaultBackColor(); 51 QColor getDefaultBackColor();
53 52
54 const ColorEntry* getColorTable() const; 53 const ColorEntry* getColorTable() const;
54 const ColorEntry* getdefaultColorTable() const;
55 void setColorTable(const ColorEntry table[]); 55 void setColorTable(const ColorEntry table[]);
56 56
57 void setScrollbarLocation(int loc); 57 void setScrollbarLocation(int loc);
58 enum { SCRNONE=0, SCRLEFT=1, SCRRIGHT=2 }; 58 enum { SCRNONE=0, SCRLEFT=1, SCRRIGHT=2 };
59 59
60 void setScroll(int cursor, int lines); 60 void setScroll(int cursor, int lines);
61 void doScroll(int lines); 61 void doScroll(int lines);
62 62
63 void emitSelection(); 63 void emitSelection();
64 64
65public: 65public:
66 66