summaryrefslogtreecommitdiff
path: root/core/apps/embeddedkonsole/konsole.h
Unidiff
Diffstat (limited to 'core/apps/embeddedkonsole/konsole.h') (more/less context) (ignore whitespace changes)
-rw-r--r--core/apps/embeddedkonsole/konsole.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/core/apps/embeddedkonsole/konsole.h b/core/apps/embeddedkonsole/konsole.h
index b4e5d87..b508cf8 100644
--- a/core/apps/embeddedkonsole/konsole.h
+++ b/core/apps/embeddedkonsole/konsole.h
@@ -67,22 +67,25 @@ private slots:
67 void hitPaste(); 67 void hitPaste();
68 void hitUp(); 68 void hitUp();
69 void hitDown(); 69 void hitDown();
70 void switchSession(QWidget *); 70 void switchSession(QWidget *);
71 void newSession(); 71 void newSession();
72 void changeCommand(const QString &, int); 72 void changeCommand(const QString &, int);
73 void initCommandList();
73 void scrollMenuSelected(int); 74 void scrollMenuSelected(int);
75 void editCommandListMenuSelected(int);
74private: 76private:
75 void init(const char* _pgm, QStrList & _args); 77 void init(const char* _pgm, QStrList & _args);
76 void initSession(const char* _pgm, QStrList & _args); 78 void initSession(const char* _pgm, QStrList & _args);
77 void runSession(TESession* s); 79 void runSession(TESession* s);
78 void setColorPixmaps(); 80 void setColorPixmaps();
79 void setHistory(bool); 81 void setHistory(bool);
80 QSize calcSize(int columns, int lines); 82 QSize calcSize(int columns, int lines);
81 TEWidget* getTe(); 83 TEWidget* getTe();
82 84 QStringList commands;
85
83private: 86private:
84 class VTFont 87 class VTFont
85 { 88 {
86 public: 89 public:
87 VTFont(QString name, QFont& font) 90 VTFont(QString name, QFont& font)
88 { 91 {
@@ -109,13 +112,13 @@ private:
109 int nsessions; 112 int nsessions;
110 QList<VTFont> fonts; 113 QList<VTFont> fonts;
111 int cfont; 114 int cfont;
112 QCString se_pgm; 115 QCString se_pgm;
113 QStrList se_args; 116 QStrList se_args;
114 117
115 QPopupMenu* fontList,*configMenu,*colorMenu,*scrollMenu; 118 QPopupMenu *fontList,*configMenu,*colorMenu,*scrollMenu,*editCommandListMenu;
116 QComboBox *commonCombo; 119 QComboBox *commonCombo;
117 // history scrolling I think 120 // history scrolling I think
118 bool b_scroll; 121 bool b_scroll;
119 122
120 int n_keytab; 123 int n_keytab;
121 int n_scroll; 124 int n_scroll;