author | llornkcor <llornkcor> | 2002-02-03 18:30:58 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2002-02-03 18:30:58 (UTC) |
commit | 0c60039ffbd115dc09431722d105dfce4319e187 (patch) (unidiff) | |
tree | 024914c68b6acfd0022971521b50e79adbd41dfe /core/apps/embeddedkonsole/konsole.cpp | |
parent | 09c3eed0c594f4c93157faf5269ef4d975a310ca (diff) | |
download | opie-0c60039ffbd115dc09431722d105dfce4319e187.zip opie-0c60039ffbd115dc09431722d105dfce4319e187.tar.gz opie-0c60039ffbd115dc09431722d105dfce4319e187.tar.bz2 |
took out commentedout code
Diffstat (limited to 'core/apps/embeddedkonsole/konsole.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/apps/embeddedkonsole/konsole.cpp | 41 |
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 | |||
@@ -728,30 +728,9 @@ void Konsole::colorMenuSelected(int iD) | |||
728 | void Konsole::configMenuSelected(int iD) | 728 | void 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"); |
@@ -768,20 +747,4 @@ void Konsole::configMenuSelected(int iD) | |||
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 | ||