summaryrefslogtreecommitdiff
authorllornkcor <llornkcor>2002-02-03 18:30:58 (UTC)
committer llornkcor <llornkcor>2002-02-03 18:30:58 (UTC)
commit0c60039ffbd115dc09431722d105dfce4319e187 (patch) (side-by-side diff)
tree024914c68b6acfd0022971521b50e79adbd41dfe
parent09c3eed0c594f4c93157faf5269ef4d975a310ca (diff)
downloadopie-0c60039ffbd115dc09431722d105dfce4319e187.zip
opie-0c60039ffbd115dc09431722d105dfce4319e187.tar.gz
opie-0c60039ffbd115dc09431722d105dfce4319e187.tar.bz2
took out commentedout code
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--core/apps/embeddedkonsole/konsole.cpp41
1 files changed, 2 insertions, 39 deletions
diff --git a/core/apps/embeddedkonsole/konsole.cpp b/core/apps/embeddedkonsole/konsole.cpp
index bc5a766..bd33ba6 100644
--- a/core/apps/embeddedkonsole/konsole.cpp
+++ b/core/apps/embeddedkonsole/konsole.cpp
@@ -724,38 +724,17 @@ void Konsole::colorMenuSelected(int iD)
te->setColorTable(m_table);
update();
}
void Konsole::configMenuSelected(int iD)
{
- QString temp;
- qDebug( temp.sprintf("configmenu %d",iD));
+// QString temp;
+// qDebug( temp.sprintf("configmenu %d",iD));
TEWidget* te = getTe();
Config cfg("Konsole");
cfg.setGroup("Menubar");
-// if( iD == -2) {
-// if(!secondToolBar->isHidden()) {
-// secondToolBar->hide();
-// configMenu->changeItem( iD,"Show Command List");
-// cfg.writeEntry("Hidden","TRUE");
-// configMenu->setItemEnabled(-20 ,FALSE);
-// } else {
-// secondToolBar->show();
-// configMenu->changeItem( iD,"Hide Command List");
-// cfg.writeEntry("Hidden","FALSE");
-// configMenu->setItemEnabled(-20 ,TRUE);
-
-// if(cfg.readEntry("EditEnabled","FALSE")=="TRUE") {
-// configMenu->setItemChecked(-20,TRUE);
-// commonCombo->setEditable( TRUE );
-// } else {
-// configMenu->setItemChecked(-20,FALSE);
-// commonCombo->setEditable( FALSE );
-// }
-// }
-// }
if( iD == -4) {
cfg.setGroup("Tabs");
QString tmp=cfg.readEntry("Position","Top");
if(tmp=="Top") {
tab->setTabPosition(QTabWidget::Bottom);
@@ -764,28 +743,12 @@ void Konsole::configMenuSelected(int iD)
} else {
tab->setTabPosition(QTabWidget::Top);
configMenu->changeItem( iD,"Tabs on Bottom");
cfg.writeEntry("Position","Top");
}
}
-// if( iD == -20) {
-// cfg.setGroup("Commands");
-// // qDebug("enableCommandEdit");
-// if( !configMenu->isItemChecked(iD) ) {
-// commonCombo->setEditable( TRUE );
-// configMenu->setItemChecked(iD,TRUE);
-// commonCombo->setCurrentItem(0);
-// cfg.writeEntry("EditEnabled","TRUE");
-// } else {
-// commonCombo->setEditable( FALSE );
-// configMenu->setItemChecked(iD,FALSE);
-// cfg.writeEntry("EditEnabled","FALSE");
-// commonCombo->setFocusPolicy(QWidget::NoFocus);
-// te->setFocus();
-// }
-// }
}
void Konsole::changeCommand(const QString &text, int c)
{
Config cfg("Konsole");
cfg.setGroup("Commands");