summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore 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
@@ -727,32 +727,11 @@ void Konsole::colorMenuSelected(int iD)
727 727
728void Konsole::configMenuSelected(int iD) 728void Konsole::configMenuSelected(int iD)
729{ 729{
730 QString temp; 730// QString temp;
731 qDebug( temp.sprintf("configmenu %d",iD)); 731// qDebug( temp.sprintf("configmenu %d",iD));
732 TEWidget* te = getTe(); 732 TEWidget* te = getTe();
733 Config cfg("Konsole"); 733 Config cfg("Konsole");
734 cfg.setGroup("Menubar"); 734 cfg.setGroup("Menubar");
735// if( iD == -2) {
736// if(!secondToolBar->isHidden()) {
737// secondToolBar->hide();
738// configMenu->changeItem( iD,"Show Command List");
739// cfg.writeEntry("Hidden","TRUE");
740// configMenu->setItemEnabled(-20 ,FALSE);
741// } else {
742// secondToolBar->show();
743// configMenu->changeItem( iD,"Hide Command List");
744// cfg.writeEntry("Hidden","FALSE");
745// configMenu->setItemEnabled(-20 ,TRUE);
746
747// if(cfg.readEntry("EditEnabled","FALSE")=="TRUE") {
748// configMenu->setItemChecked(-20,TRUE);
749// commonCombo->setEditable( TRUE );
750// } else {
751// configMenu->setItemChecked(-20,FALSE);
752// commonCombo->setEditable( FALSE );
753// }
754// }
755// }
756 if( iD == -4) { 735 if( iD == -4) {
757 cfg.setGroup("Tabs"); 736 cfg.setGroup("Tabs");
758 QString tmp=cfg.readEntry("Position","Top"); 737 QString tmp=cfg.readEntry("Position","Top");
@@ -767,22 +746,6 @@ void Konsole::configMenuSelected(int iD)
767 cfg.writeEntry("Position","Top"); 746 cfg.writeEntry("Position","Top");
768 } 747 }
769 } 748 }
770// if( iD == -20) {
771// cfg.setGroup("Commands");
772// // qDebug("enableCommandEdit");
773// if( !configMenu->isItemChecked(iD) ) {
774// commonCombo->setEditable( TRUE );
775// configMenu->setItemChecked(iD,TRUE);
776// commonCombo->setCurrentItem(0);
777// cfg.writeEntry("EditEnabled","TRUE");
778// } else {
779// commonCombo->setEditable( FALSE );
780// configMenu->setItemChecked(iD,FALSE);
781// cfg.writeEntry("EditEnabled","FALSE");
782// commonCombo->setFocusPolicy(QWidget::NoFocus);
783// te->setFocus();
784// }
785// }
786} 749}
787 750
788void Konsole::changeCommand(const QString &text, int c) 751void Konsole::changeCommand(const QString &text, int c)