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 @@ -11,13 +11,13 @@ /* The material contained in here more or less directly orginates from */ /* kvt, which is copyright (c) 1996 by Matthias Ettrich <ettrich@kde.org> */ /* */ /* -------------------------------------------------------------------------- */ -/* */ +/* */ /* Ported Konsole to Qt/Embedded */ -/* */ +/* */ /* Copyright (C) 2000 by John Ryland <jryland@trolltech.com> */ -/* */ +/* */ /* -------------------------------------------------------------------------- */ #ifndef KONSOLE_H #define KONSOLE_H @@ -29,8 +29,10 @@ #include <qstrlist.h> #include <qintdict.h> #include <qptrdict.h> #include <qtabwidget.h> +#include <qpe/qpetoolbar.h> +#include <qcombobox.h> #include "MyPty.h" #include "TEWidget.h" #include "TEmuVt102.h" @@ -47,15 +49,18 @@ public: Konsole(QWidget* parent = 0, const char* name = 0, WFlags fl = 0); Konsole(const char * name, const char* pgm, QStrList & _args, int histon); ~Konsole(); void setColLin(int columns, int lines); - + QPEToolBar *secondToolBar; void show(); - + void setColor(); + int lastSelectedMenu; private slots: void doneSession(TESession*,int); void changeColumns(int); void fontChanged(int); + void configMenuSelected(int ); + void colorMenuSelected(int); void enterCommand(int); void hitEnter(); void hitSpace(); void hitTab(); @@ -63,8 +68,9 @@ private slots: void hitUp(); void hitDown(); void switchSession(QWidget *); void newSession(); + void changeCommand(const QString &, int); private: void init(const char* _pgm, QStrList & _args); void initSession(const char* _pgm, QStrList & _args); @@ -105,11 +111,11 @@ private: int cfont; QCString se_pgm; QStrList se_args; - QPopupMenu* fontList; - - // history scrolling I think + QPopupMenu* fontList,*configMenu,*colorMenu; + QComboBox *commonCombo; + // history scrolling I think bool b_scroll; int n_keytab; int n_scroll; |