Diffstat (limited to 'core/apps/embeddedkonsole/konsole.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/apps/embeddedkonsole/konsole.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/core/apps/embeddedkonsole/konsole.h b/core/apps/embeddedkonsole/konsole.h index 37babbb..e163cb8 100644 --- a/core/apps/embeddedkonsole/konsole.h +++ b/core/apps/embeddedkonsole/konsole.h | |||
@@ -64,25 +64,25 @@ public: | |||
64 | 64 | ||
65 | public slots: | 65 | public slots: |
66 | void changeFontSize(int); | 66 | void changeFontSize(int); |
67 | void toggleFullScreen(); | 67 | void toggleFullScreen(); |
68 | void setFullScreen(bool); | 68 | void setFullScreen(bool); |
69 | void changeSession(int); | 69 | void changeSession(int); |
70 | void cycleZoom(); | 70 | void cycleZoom(); |
71 | void newSession(); | 71 | void newSession(); |
72 | 72 | ||
73 | private slots: | 73 | private slots: |
74 | void setDocument(const QString &); | 74 | void setDocument(const QString &); |
75 | void doneSession(TEWidget*,int); | 75 | void doneSession(TEWidget*,int); |
76 | void changeTitle(TEWidget*,QString); | 76 | void changeTitle(TEWidget*, const QString&); |
77 | void changeColumns(int); | 77 | void changeColumns(int); |
78 | void setFont(int); | 78 | void setFont(int); |
79 | // void fontChanged(int); | 79 | // void fontChanged(int); |
80 | void configMenuSelected(int ); | 80 | void configMenuSelected(int ); |
81 | void colorMenuSelected(int); | 81 | void colorMenuSelected(int); |
82 | void colorMenuIsSelected(int); | 82 | void colorMenuIsSelected(int); |
83 | void tabMenuSelected(int); | 83 | void tabMenuSelected(int); |
84 | void sessionListSelected(int); | 84 | void sessionListSelected(int); |
85 | 85 | ||
86 | void enterCommand(int); | 86 | void enterCommand(int); |
87 | void hitEnter(); | 87 | void hitEnter(); |
88 | void hitSpace(); | 88 | void hitSpace(); |
@@ -101,39 +101,39 @@ private slots: | |||
101 | 101 | ||
102 | void historyDialog(); | 102 | void historyDialog(); |
103 | void fullscreenTimeout(); | 103 | void fullscreenTimeout(); |
104 | 104 | ||
105 | private: | 105 | private: |
106 | void doWrap(); | 106 | void doWrap(); |
107 | void init(const char* _pgm, QStrList & _args); | 107 | void init(const char* _pgm, QStrList & _args); |
108 | void initSession(const char* _pgm, QStrList & _args); | 108 | void initSession(const char* _pgm, QStrList & _args); |
109 | void runSession(TESession* s); | 109 | void runSession(TESession* s); |
110 | void setColorPixmaps(); | 110 | void setColorPixmaps(); |
111 | void setHistory(bool); | 111 | void setHistory(bool); |
112 | void setColors(QColor foreground, QColor background); | 112 | void setColors(QColor foreground, QColor background); |
113 | int findFont(QString name, int size, bool exact = false); | 113 | int findFont(const QString& name, int size, bool exact = false); |
114 | QSize calcSize(int columns, int lines); | 114 | QSize calcSize(int columns, int lines); |
115 | TEWidget* getTe(); | 115 | TEWidget* getTe(); |
116 | QStringList commands; | 116 | QStringList commands; |
117 | QLabel * msgLabel; | 117 | QLabel * msgLabel; |
118 | QColor foreground, background; | 118 | QColor foreground, background; |
119 | bool fromMenu; | 119 | bool fromMenu; |
120 | 120 | ||
121 | bool fullscreen; | 121 | bool fullscreen; |
122 | 122 | ||
123 | private: | 123 | private: |
124 | class VTFont | 124 | class VTFont |
125 | { | 125 | { |
126 | public: | 126 | public: |
127 | VTFont(QString name, QFont& font, QString family, int familyNum, int size) | 127 | VTFont(const QString& name, QFont& font, const QString& family, int familyNum, int size) |
128 | { | 128 | { |
129 | this->name = name; | 129 | this->name = name; |
130 | this->font = font; | 130 | this->font = font; |
131 | this->family = family; | 131 | this->family = family; |
132 | this->size = size; | 132 | this->size = size; |
133 | this->familyNum = familyNum; | 133 | this->familyNum = familyNum; |
134 | } | 134 | } |
135 | 135 | ||
136 | QFont& getFont() | 136 | QFont& getFont() |
137 | { | 137 | { |
138 | return font; | 138 | return font; |
139 | } | 139 | } |