Diffstat (limited to 'noncore/apps/opie-console/terminalwidget.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/apps/opie-console/terminalwidget.cpp | 21 |
1 files changed, 12 insertions, 9 deletions
diff --git a/noncore/apps/opie-console/terminalwidget.cpp b/noncore/apps/opie-console/terminalwidget.cpp index 80627c4..2d37be2 100644 --- a/noncore/apps/opie-console/terminalwidget.cpp +++ b/noncore/apps/opie-console/terminalwidget.cpp | |||
@@ -13,7 +13,7 @@ | |||
13 | namespace { | 13 | namespace { |
14 | enum TermIds { | 14 | enum TermIds { |
15 | id_term_vt100, | 15 | id_term_vt100, |
16 | id_term_vt220, | 16 | id_term_vt102, |
17 | id_term_ansi | 17 | id_term_ansi |
18 | }; | 18 | }; |
19 | 19 | ||
@@ -73,8 +73,8 @@ TerminalWidget::TerminalWidget( const QString& name, QWidget* parent, | |||
73 | 73 | ||
74 | // Fill in some options | 74 | // Fill in some options |
75 | m_terminalBox->insertItem( tr("VT 100"), id_term_vt100 ); | 75 | m_terminalBox->insertItem( tr("VT 100"), id_term_vt100 ); |
76 | m_terminalBox->insertItem( tr("VT 220"), id_term_vt220 ); | 76 | m_terminalBox->insertItem( tr("VT 102"), id_term_vt102 ); |
77 | m_terminalBox->insertItem( tr("ANSI"), id_term_ansi ); | 77 | //m_terminalBox->insertItem( tr("ANSI"), id_term_ansi ); |
78 | 78 | ||
79 | m_colorCmb->insertItem( tr("black on white"), id_term_black ); | 79 | m_colorCmb->insertItem( tr("black on white"), id_term_black ); |
80 | m_colorCmb->insertItem( tr("white on black"), id_term_white ); | 80 | m_colorCmb->insertItem( tr("white on black"), id_term_white ); |
@@ -110,9 +110,12 @@ void TerminalWidget::load( const Profile& prof ) { | |||
110 | int opt_outbound = prof.readNumEntry("Outbound"); | 110 | int opt_outbound = prof.readNumEntry("Outbound"); |
111 | 111 | ||
112 | switch( term ) { | 112 | switch( term ) { |
113 | case Profile::VT102: | 113 | case Profile::VT100: |
114 | m_terminalBox->setCurrentItem(id_term_vt100 ); | 114 | m_terminalBox->setCurrentItem(id_term_vt100 ); |
115 | break; | 115 | break; |
116 | case Profile::VT102: | ||
117 | m_terminalBox->setCurrentItem(id_term_vt102 ); | ||
118 | break; | ||
116 | default: | 119 | default: |
117 | break; | 120 | break; |
118 | }; | 121 | }; |
@@ -152,14 +155,14 @@ void TerminalWidget::load( const Profile& prof ) { | |||
152 | void TerminalWidget::save( Profile& profile ) { | 155 | void TerminalWidget::save( Profile& profile ) { |
153 | switch(m_terminalBox->currentItem() ) { | 156 | switch(m_terminalBox->currentItem() ) { |
154 | case id_term_vt100: | 157 | case id_term_vt100: |
155 | profile.writeEntry("Terminal", Profile::VT102 ); | 158 | profile.writeEntry("Terminal", Profile::VT100 ); |
156 | break; | ||
157 | case id_term_vt220: | ||
158 | profile.writeEntry("Terminal", Profile::VT102 ); | ||
159 | break; | 159 | break; |
160 | case id_term_ansi: | 160 | case id_term_vt102: |
161 | profile.writeEntry("Terminal", Profile::VT102 ); | 161 | profile.writeEntry("Terminal", Profile::VT102 ); |
162 | break; | 162 | break; |
163 | //case id_term_ansi: | ||
164 | // profile.writeEntry("Terminal", Profile::VT102 ); | ||
165 | // break; | ||
163 | default: | 166 | default: |
164 | break; | 167 | break; |
165 | }; | 168 | }; |