Diffstat (limited to 'core/apps/embeddedkonsole/konsole.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/apps/embeddedkonsole/konsole.h | 22 |
1 files changed, 14 insertions, 8 deletions
diff --git a/core/apps/embeddedkonsole/konsole.h b/core/apps/embeddedkonsole/konsole.h index 819ea5d..40003d4 100644 --- a/core/apps/embeddedkonsole/konsole.h +++ b/core/apps/embeddedkonsole/konsole.h | |||
@@ -12,11 +12,11 @@ | |||
12 | /* kvt, which is copyright (c) 1996 by Matthias Ettrich <ettrich@kde.org> */ | 12 | /* kvt, which is copyright (c) 1996 by Matthias Ettrich <ettrich@kde.org> */ |
13 | /* */ | 13 | /* */ |
14 | /* -------------------------------------------------------------------------- */ | 14 | /* -------------------------------------------------------------------------- */ |
15 | /* */ | 15 | /* */ |
16 | /* Ported Konsole to Qt/Embedded */ | 16 | /* Ported Konsole to Qt/Embedded */ |
17 | /* */ | 17 | /* */ |
18 | /* Copyright (C) 2000 by John Ryland <jryland@trolltech.com> */ | 18 | /* Copyright (C) 2000 by John Ryland <jryland@trolltech.com> */ |
19 | /* */ | 19 | /* */ |
20 | /* -------------------------------------------------------------------------- */ | 20 | /* -------------------------------------------------------------------------- */ |
21 | 21 | ||
22 | #ifndef KONSOLE_H | 22 | #ifndef KONSOLE_H |
@@ -30,6 +30,8 @@ | |||
30 | #include <qintdict.h> | 30 | #include <qintdict.h> |
31 | #include <qptrdict.h> | 31 | #include <qptrdict.h> |
32 | #include <qtabwidget.h> | 32 | #include <qtabwidget.h> |
33 | #include <qpe/qpetoolbar.h> | ||
34 | #include <qcombobox.h> | ||
33 | 35 | ||
34 | #include "MyPty.h" | 36 | #include "MyPty.h" |
35 | #include "TEWidget.h" | 37 | #include "TEWidget.h" |
@@ -48,13 +50,16 @@ public: | |||
48 | Konsole(const char * name, const char* pgm, QStrList & _args, int histon); | 50 | Konsole(const char * name, const char* pgm, QStrList & _args, int histon); |
49 | ~Konsole(); | 51 | ~Konsole(); |
50 | void setColLin(int columns, int lines); | 52 | void setColLin(int columns, int lines); |
51 | 53 | QPEToolBar *secondToolBar; | |
52 | void show(); | 54 | void show(); |
53 | 55 | void setColor(); | |
56 | int lastSelectedMenu; | ||
54 | private slots: | 57 | private slots: |
55 | void doneSession(TESession*,int); | 58 | void doneSession(TESession*,int); |
56 | void changeColumns(int); | 59 | void changeColumns(int); |
57 | void fontChanged(int); | 60 | void fontChanged(int); |
61 | void configMenuSelected(int ); | ||
62 | void colorMenuSelected(int); | ||
58 | void enterCommand(int); | 63 | void enterCommand(int); |
59 | void hitEnter(); | 64 | void hitEnter(); |
60 | void hitSpace(); | 65 | void hitSpace(); |
@@ -64,6 +69,7 @@ private slots: | |||
64 | void hitDown(); | 69 | void hitDown(); |
65 | void switchSession(QWidget *); | 70 | void switchSession(QWidget *); |
66 | void newSession(); | 71 | void newSession(); |
72 | void changeCommand(const QString &, int); | ||
67 | 73 | ||
68 | private: | 74 | private: |
69 | void init(const char* _pgm, QStrList & _args); | 75 | void init(const char* _pgm, QStrList & _args); |
@@ -106,9 +112,9 @@ private: | |||
106 | QCString se_pgm; | 112 | QCString se_pgm; |
107 | QStrList se_args; | 113 | QStrList se_args; |
108 | 114 | ||
109 | QPopupMenu* fontList; | 115 | QPopupMenu* fontList,*configMenu,*colorMenu; |
110 | 116 | QComboBox *commonCombo; | |
111 | // history scrolling I think | 117 | // history scrolling I think |
112 | bool b_scroll; | 118 | bool b_scroll; |
113 | 119 | ||
114 | int n_keytab; | 120 | int n_keytab; |