Diffstat (limited to 'core/apps/embeddedkonsole/konsole.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/apps/embeddedkonsole/konsole.h | 7 |
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 | |||
@@ -61,34 +61,37 @@ private slots: | |||
61 | void configMenuSelected(int ); | 61 | void configMenuSelected(int ); |
62 | void colorMenuSelected(int); | 62 | void colorMenuSelected(int); |
63 | void enterCommand(int); | 63 | void enterCommand(int); |
64 | void hitEnter(); | 64 | void hitEnter(); |
65 | void hitSpace(); | 65 | void hitSpace(); |
66 | void hitTab(); | 66 | void hitTab(); |
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); | ||
74 | private: | 76 | private: |
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 | |||
83 | private: | 86 | private: |
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 | { |
89 | this->name = name; | 92 | this->name = name; |
90 | this->font = font; | 93 | this->font = font; |
91 | } | 94 | } |
92 | 95 | ||
93 | QFont& getFont() | 96 | QFont& getFont() |
94 | { | 97 | { |
@@ -103,25 +106,25 @@ private: | |||
103 | private: | 106 | private: |
104 | QString name; | 107 | QString name; |
105 | QFont font; | 108 | QFont font; |
106 | }; | 109 | }; |
107 | 110 | ||
108 | EKNumTabWidget* tab; | 111 | EKNumTabWidget* tab; |
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; |
122 | int n_render; | 125 | int n_render; |
123 | QString pmPath; // pixmap path | 126 | QString pmPath; // pixmap path |
124 | QString dropText; | 127 | QString dropText; |
125 | QFont defaultFont; | 128 | QFont defaultFont; |
126 | QSize defaultSize; | 129 | QSize defaultSize; |
127 | 130 | ||